Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow

Lukas Burgholzer, Rudy Raymond, Robert Wille
9/4/2020
53 citations
quant-ph

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

Abstract

Realizing a conceptual quantum algorithm on an actual physical device necessitates the algorithm's quantum circuit description to undergo certain transformations in order to adhere to all constraints imposed by the hardware. In this regard, the individual high-level circuit components are first synthesized to the supported low-level gate-set of the quantum computer, before being mapped to the target's architecture---utilizing several optimizations in order to improve the compilation result.

Show full abstract

Specialized tools for this complex task exist, e.g., IBM's Qiskit, Google's Cirq, Microsoft's QDK, or Rigetti's Forest. However, to date, the circuits resulting from these tools are hardly verified, which is mainly due to the immense complexity of checking if two quantum circuits indeed realize the same functionality. In this paper, we propose an efficient scheme for quantum circuit equivalence checking---specialized for verifying results of the IBM Qiskit quantum circuit compilation flow. To this end, we combine characteristics unique to quantum computing, e.g., its inherent reversibility, and certain knowledge about the compilation flow into a dedicated equivalence checking strategy. Experimental evaluations confirm that the proposed scheme allows to verify even large circuit instances with tens of thousands of operations within seconds or even less, whereas state-of-the-art techniques frequently time-out or require substantially more runtime. A corresponding open source implementation of the proposed method is publicly available at https://github.com/iic-jku/qcec.

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{burgholzer2020verifying,
  title  = {Verifying Results of the IBM Qiskit Quantum Circuit Compilation Flow},
  author = {Lukas Burgholzer and Rudy Raymond and Robert Wille},
  year   = {2020},
  eprint = {2009.02376},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.02376}
}

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/2009.02376.svg)](https://codeofpaper.com/paper/2009.02376)

Discussion