CoqQ: Foundational Verification of Quantum Programs
Li Zhou, Gilles Barthe, Pierre-Yves Strub, Junyi Liu, Mingsheng Ying
Abstract
CoqQ is a framework for reasoning about quantum programs in the Coq proof assistant. Its main components are: a deeply embedded quantum programming language, in which classic quantum algorithms are easily expressed, and an expressive program logic for proving properties of programs. CoqQ is foundational: the program logic is formally proved sound with respect to a denotational semantics based on state-of-art mathematical libraries (MathComp and MathComp Analysis). CoqQ is also practical: assertions can use Dirac expressions, which eases concise specifications, and proofs can exploit local and parallel reasoning, which minimizes verification effort. We illustrate the applicability of CoqQ with many examples from the literature.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers11
- Efficient Formal Verification of Quantum Error Correcting ProgramsQifan Huang, Li Zhou, Wang Fang, Mengyu Zhao et al.PLDI 2025 · 15 citations
- Verification of Nondeterministic Quantum ProgramsYuan Feng, Yingte XuASPLOS 2023 · 7 citations
- Verifying Fault-Tolerance of Quantum Error Correction CodesKean Chen, Yuhao Liu, Wang Fang, Jennifer Paykin et al.CAV 2025 · 6 citations
- Automating Equational Proofs in Dirac NotationYingte Xu, Gilles Barthe, Li ZhouPOPL 2025 · 5 citations
- VeriQR: A Robustness Verification Tool for quantum Machine Learning ModelsYanling Lin, Ji Guan, Wang Fang, Mingsheng Ying et al.FM 2024 · 4 citations
Builds on10
- Silq: a high-level quantum language with safe uncomputation and intuitive semanticsBenjamin Bichsel, Maximilian Baader, Timon Gehr, Martin T. VechevPLDI 2020 · 145 citations
- A verified optimizer for Quantum circuitsKesha Hietala, Robert Rand, Shih-Han Hung, Xiaodi Wu et al.POPL 2021 · 111 citations
- Quantum abstract interpretationNengkun Yu, Jens PalsbergPLDI 2021 · 69 citations
- Twist: sound reasoning for purity and entanglement in Quantum programsCharles Yuan, Christopher McNally, Michael CarbinPOPL 2022 · 30 citations
- Relational proofs for quantum programsGilles Barthe, Justin Hsu, Mingsheng Ying, Nengkun Yu et al.POPL 2020 · 29 citations
Related papers
- Verified compilation of Quantum oraclesLiyi Li, Finn Voichick, Kesha Hietala, Yuxiang Peng et al.OOPSLA 2022 · 17 citations
- An Expressive Assertion Language for Quantum ProgramsBonan Su, Yuan Feng, Mingsheng Ying, Li ZhouPOPL 2026 · 1 citation
- QbC: Quantum Correctness by ConstructionAnurudh Peduri, Ina Schaefer, Michael WalterOOPSLA 2025 · 3 citations
- A Practical Specification Language for Automatic Quantum Program VerificationWei-Lun Tsai, Yu-Fang Chen, Ondrej LengálCAV 2026
- D-Hammer: Efficient Equational Reasoning for Labelled Dirac NotationYingte Xu, Li Zhou, Gilles BartheCAV 2025
