Equivalence Checking of Quantum Circuits with the ZX-Calculus
arXiv:2208.12820 · doi:10.1109/JETCAS.2022.3202204
Abstract
As state-of-the-art quantum computers are capable of running increasingly complex algorithms, the need for automated methods to design and test potential applications rises. Equivalence checking of quantum circuits is an important, yet hardly automated, task in the development of the quantum software stack. Recently, new methods have been proposed that tackle this problem from widely different perspectives. One of them is based on the ZX-calculus, a graphical rewriting system for quantum computing. However, the power and capability of this equivalence checking method has barely been explored. The aim of this work is to evaluate the ZX-calculus as a tool for equivalence checking of quantum circuits. To this end, it is demonstrated how the ZX-calculus based approach for equivalence checking can be expanded in order to verify the results of compilation flows and optimizations on quantum circuits. It is also shown that the ZX-calculus based method is not complete$\unicode{x2014}$especially for quantum circuits with ancillary qubits. In order to properly evaluate the proposed method, we conduct a detailed case study by comparing it to two other state-of-the-art methods for equivalence checking: one based on path-sums and another based on decision diagrams. The proposed methods have been integrated into the publicly available QCEC tool (https://github.com/cda-tum/qcec) which is part of the Munich Quantum Toolkit (MQT).
15 pages, 12 figures, to be published in IEEE Journal on Emerging and Selected Topics in Circuits and Systems
References in corpus (9)
- A Quantum Approximate Optimization Algorithm
- tket : A Retargetable Compiler for NISQ Devices
- MQT Bench: Benchmarking Software and Design Automation Tools for Quantum Computing
- Tensor Networks in a Nutshell
- A Survey of Quantum Computing for Finance
- Biology and medicine in the landscape of quantum advantages
- Going Beyond Bell's Theorem
- ZX-calculus for the working quantum computer scientist
- A Near-Optimal Axiomatisation of ZX-Calculus for Pure Qubit Quantum Mechanics
Cited by in corpus (13)
- MQT Bench: Benchmarking Software and Design Automation Tools for Quantum Computing
- The MQT Handbook: A Summary of Design Automation Tools and Software for Quantum Computing
- Unifying flavors of fault tolerance with the ZX calculus
- On the need for effective tools for debugging quantum programs
- Optimizing ZX-Diagrams with Deep Reinforcement Learning
- FeynmanDD: Quantum Circuit Analysis with Classical Decision Diagrams
- Verifying Fault-Tolerance of Quantum Error Correction Codes
- Multi-controlled Phase Gate Synthesis with ZX-calculus applied to Neutral Atom Hardware
- Equivalence checking of quantum circuits via intermediary matrix product operator
- Universal graph representation of stabilizer codes
- Type-Based Verification of Connectivity Constraints in Lattice Surgery
- Hybrid quantum recurrent neural network for remaining useful life prediction of turbofan engines
- Hybrid Path-Sums for Hybrid Quantum Programs