Embedding Quantum Program Verification into Dafny
Date
Authors
Cheng, Feifei
Vangeepuram, Sushen
Allard, Henry
Jafari, Seyed Mohammad Reza
Potanin, Alex
Li, Liyi
Journal Title
Journal ISSN
Volume Title
Publisher
Access Statement
Abstract
Despite recent development of quantum program verification, it is still in its early stage, where many quantum programs are hard to verify due to their inherent probabilistic nature and parallelism in quantum superposition. We propose QafnyC, a system that compiles quantum program verification into a well-established classical program verifier Dafny, enabling the formal verification of quantum programs. The key insight behind QafnyC is the separation of quantum program verification from its execution, leveraging the strength of classical verifiers to ensure correctness before compiling certified quantum programs into executable circuits. Using QafnyC, we have successfully verified 37 diverse quantum programs by compiling their verification into Dafny. To the best of our knowledge, this is the most extensive formally verified set of quantum programs.
Description
Citation
Collections
Source
Proceedings of the ACM on Programming Languages
Type
Book Title
Entity type
Publication
Access Statement
License Rights
DOI
Restricted until
Downloads
File
Description