We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:

References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Logic in Computer Science

Title: Quantum Hoare logic with classical variables

Abstract: Hoare logic provides a syntax-oriented method to reason about program correctness and has been proven effective in the verification of classical and probabilistic programs. Existing proposals for quantum Hoare logic either lack completeness or support only quantum variables, thus limiting their capability in practical use. In this paper, we propose a quantum Hoare logic for a simple while language which involves both classical and quantum variables. Its soundness and relative completeness are proven for both partial and total correctness of quantum programs written in the language. Remarkably, with novel definitions of classical-quantum states and corresponding assertions, the logic system is quite simple and similar to the traditional Hoare logic for classical programs. Furthermore, to simplify reasoning in real applications, auxiliary proof rules are provided which support standard logical operation in the classical part of assertions, and of super-operator application in the quantum part. Finally, a series of practical quantum algorithms, in particular the whole algorithm of Shor's factorisation, are formally verified to show the effectiveness of the logic.
Comments: ACM Transactions on Quantum Computing, to appear
Subjects: Logic in Computer Science (cs.LO); Quantum Physics (quant-ph)
Cite as: arXiv:2008.06812 [cs.LO]
  (or arXiv:2008.06812v2 [cs.LO] for this version)

Submission history

From: Yuan Feng [view email]
[v1] Sat, 15 Aug 2020 23:56:18 GMT (86kb)
[v2] Fri, 30 Apr 2021 07:15:59 GMT (90kb)

Link back to: arXiv, form interface, contact.