Affiliation:
1. Academia Sinica, Taiwan
2. Brno University of Technology, Czechia
3. Academia Sinica, Taiwan / National Taiwan University, Taiwan
4. MPI-SWS, Germany
Abstract
We introduce a new paradigm for analysing and finding bugs in quantum circuits. In our approach, the problem is given by a triple {
P
}
C
{
Q
} and the question is whether, given a set
P
of quantum states on the input of a circuit
C
, the set of quantum states on the output is equal to (or included in) a set
Q
. While this is not suitable to specify, e.g., functional correctness of a quantum circuit, it is sufficient to detect many bugs in quantum circuits. We propose a technique based on tree automata to compactly represent sets of quantum states and develop transformers to implement the semantics of quantum gates over this representation. Our technique computes with an algebraic representation of quantum states, avoiding the inaccuracy of working with floating-point numbers. We implemented the proposed approach in a prototype tool and evaluated its performance against various benchmarks from the literature. The evaluation shows that our approach is quite scalable, e.g., we managed to verify a large circuit with 40 qubits and 141,527 gates, or catch bugs injected into a circuit with 320 qubits and 1,758 gates, where all tools we compared with failed. In addition, our work establishes a connection between quantum program verification and automata, opening new possibilities to exploit the richness of automata theory and automata-based verification in the world of quantum computing.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference90 articles.
1. 2022. GMP: The GNU Multiple Precision Arithmetic Library. https://gmplib.org/ 2022. GMP: The GNU Multiple Precision Arithmetic Library. https://gmplib.org/
2. 2022. The repository: Issue #200 (ZX-Checker produces invalid result). https://github.com/cda-tum/qcec/issues/200 2022. The repository: Issue #200 (ZX-Checker produces invalid result). https://github.com/cda-tum/qcec/issues/200
3. Computing Simulations over Tree Automata
4. BISIMULATION MINIMIZATION OF TREE AUTOMATA
5. Regular Tree Model Checking
Cited by
13 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Automated Verification of Silq Quantum Programs using SMT Solvers;2024 IEEE International Conference on Quantum Software (QSW);2024-07-07
2. Symbolic Execution for Quantum Error Correction Programs;Proceedings of the ACM on Programming Languages;2024-06-20
3. MorphQPV: Exploiting Isomorphism in Quantum Programs to Facilitate Confident Verification;Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3;2024-04-27
4. A Case for Synthesis of Recursive Quantum Unitary Programs;Proceedings of the ACM on Programming Languages;2024-01-05
5. On the Hardness of Analyzing Quantum Programs Quantitatively;Lecture Notes in Computer Science;2024