arrow
Return

Embedding Quantum Program Verification into Dafny

delete2025-10-01
delete0
PRE
AI
F
Feifei Cheng *
S
Sushen Vallabh Vangeepuram
H
Henry Allard
S
Seyed Mohammad Reza Jafari
A
Alex Potanin
L
Liyi Li
DOI:10.1145/3763157delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
Quantum Computation
Automated Program Verification
Dafny

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

I
Iowa State University
Scholars:
2.1W
Papers: 1.8W
Citations: 2.5W
A
Australian National University
Scholars:
2.1W
Papers: 2.3W
Citations: 3.9W
Cited Papers

Cited Papers

A verified optimizer for Quantum circuits
err2021-01-04
err0
errOAAI
errKesha Hietala; Robert Rand; Shih-Han Hung; Xiaodi Wu; Michael Hicks
errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Recursive proofs for inductive tree data-structures
err2012-01-18
err0
PREAI
errMadhusudan,Parthasarathy; Qiu,Xiaokang; Stefanescu,Andrei
errShare
errSave
Quantum amplitude amplification and estimation
err2002-01-01
err0
errOAAI
errGilles Brassard; Peter Høyer; Michele Mosca; Alain Tapp
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
researcher View more