Quantum Relational Hoare Logic

Dominique Unruh
2/9/2018
quant-phcs.LO

Official code: dominique-unruh/qrhl-tool (26 stars, Scala, MIT, last commit 2026-05-24).

Abstract

We present a logic for reasoning about pairs of interactive quantum programs - quantum relational Hoare logic (qRHL). This logic follows the spirit of probabilistic relational Hoare logic (Barthe et al.

Show full abstract

2009) and allows us to formulate how the outputs of two quantum programs relate given the relationship of their inputs. Probabilistic RHL was used extensively for computer-verified security proofs of classical cryptographic protocols. Since pRHL is not suitable for analyzing quantum cryptography, we present qRHL as a replacement, suitable for the security analysis of post-quantum cryptography and quantum protocols. The design of qRHL poses some challenges unique to the quantum setting, e.g., the definition of equality on quantum registers. Finally, we implemented a tool for verifying proofs in qRHL and developed several example security proofs in it.

View on arXivView PDF

Code Implementations(1)

MIT

Proof assistant for qRHL

265Scala, IsabelleJul 12, 20176 months agoMIT
quantum-cryptographytheorem-prover

Similar Papers

Cite this paper

@article{unruh2018quantum,
  title  = {Quantum Relational Hoare Logic},
  author = {Dominique Unruh},
  year   = {2018},
  eprint = {1802.03188},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.03188}
}

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

Discussion