Affiliation:
1. University of Maryland, USA
2. University of Chicago, USA
Abstract
We present VOQC, the first fully verified optimizer for quantum circuits, written using the Coq proof assistant. Quantum circuits are expressed as programs in a simple, low-level language called SQIR, a simple quantum intermediate representation, which is deeply embedded in Coq. Optimizations and other transformations are expressed as Coq functions, which are proved correct with respect to a semantics of SQIR programs. SQIR uses a semantics of matrices of complex numbers, which is the standard for quantum computation, but treats matrices symbolically in order to reason about programs that use an arbitrary number of quantum bits. SQIR's careful design and our provided automation make it possible to write and verify a broad range of optimizations in VOQC, including full-circuit transformations from cutting-edge optimizers.
Funder
DOE U.S. Department of Energy
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Cited by
53 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Formal Verification of Executable Matrix Inversion via Adjoint Matrix and Gaussian Elimination;Proceedings of the 26th International Symposium on Principles and Practice of Declarative Programming;2024-09-09
2. Quanto: optimizing quantum circuits with automatic generation of circuit identities;Quantum Science and Technology;2024-07-12
3. Compiling Conditional Quantum Gates without Using Helper Qubits;Proceedings of the ACM on Programming Languages;2024-06-20
4. Qubit Recycling Revisited;Proceedings of the ACM on Programming Languages;2024-06-20
5. Symbolic Execution for Quantum Error Correction Programs;Proceedings of the ACM on Programming Languages;2024-06-20