CoqQ: Foundational Verification of Quantum Programs

Li Zhou, Gilles Barthe, Pierre-Yves Strub, Junyi Liu, Mingsheng Ying
7/22/2022
cs.PL

Official code: math-comp/analysis (250 stars, Rocq Prover, last commit 2026-11-21).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

math-comp/analysisOfficial100%

Mathematical Components compliant Analysis Library

25077Rocq Prover, ShellNov 29, 20171 weeks agoNOASSERTION
analysiscoqmathcomprocqssreflect

Similar Papers

Cite this paper

@article{zhou2022coqq,
  title  = {CoqQ: Foundational Verification of Quantum Programs},
  author = {Li Zhou and Gilles Barthe and Pierre-Yves Strub and Junyi Liu and Mingsheng Ying},
  year   = {2022},
  eprint = {2207.11350},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.11350}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.11350.svg)](https://codeofpaper.com/paper/2207.11350)

Discussion