Proving Quantum Programs Correct

Kesha Hietala, Robert Rand, Shih-Han Hung, Liyi Li, Michael Hicks
10/3/2020
52 citations
cs.PLquant-ph

Official code: inQWIRE/SQIR (106 stars, Rocq Prover, MIT, last commit 2026-04-02).

Abstract

As quantum computing progresses steadily from theory into practice, programmers will face a common problem: How can they be sure that their code does what they intend it to do? This paper presents encouraging results in the application of mechanized proof to the domain of quantum programming in the context of the SQIR development.

Show full abstract

It verifies the correctness of a range of a quantum algorithms including Grover's algorithm and quantum phase estimation, a key component of Shor's algorithm. In doing so, it aims to highlight both the successes and challenges of formal verification in the quantum context and motivate the theorem proving community to target quantum computing as an application domain.

View on arXivView PDF

Code Implementations(1)

inQWIRE/SQIROfficial100%
MIT

A Small Quantum Intermediate Representation

10626Rocq Prover, DuneDec 20, 20188 months agoMIT
compiler-constructioncoqquantum-computing

Similar Papers

Cite this paper

@article{hietala2020proving,
  title  = {Proving Quantum Programs Correct},
  author = {Kesha Hietala and Robert Rand and Shih-Han Hung and Liyi Li and Michael Hicks},
  year   = {2020},
  eprint = {2010.01240},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.01240}
}

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/2010.01240.svg)](https://codeofpaper.com/paper/2010.01240)

Discussion