Equivalence Checking of Quantum Circuits with the ZX-Calculus

Tom Peham, Lukas Burgholzer, Robert Wille
8/26/2022
quant-phcs.ET

Official code: munich-quantum-toolkit/qcec (122 stars, C++, MIT, last commit 2026-11-15).

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.

Show full abstract

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).

View on arXivView PDF

Code Implementations(1)

MIT

MQT QCEC - A Tool for Quantum Circuit Equivalence Checking

12231C++, PythonJan 2, 20202 weeks agoMIT
cpp20equivalence-checkermqtqiskitquantum-circuits+3 more

Similar Papers

Cite this paper

@article{peham2022equivalence,
  title  = {Equivalence Checking of Quantum Circuits with the ZX-Calculus},
  author = {Tom Peham and Lukas Burgholzer and Robert Wille},
  year   = {2022},
  eprint = {2208.12820},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.12820}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.12820.svg)](https://codeofpaper.com/paper/2208.12820)

Discussion