Back to Search Start Over

Automating Equational Proofs in Dirac Notation

Authors :
Xu, Yingte
Barthe, Gilles
Zhou, Li
Source :
Proc. ACM Program. Lang. 9, POPL, Article 42 (January 2025), 33 pages
Publication Year :
2024

Abstract

Dirac notation is widely used in quantum physics and quantum programming languages to define, compute and reason about quantum states. This paper considers Dirac notation from the perspective of automated reasoning. We prove two main results: first, the first-order theory of Dirac notation is decidable, by a reduction to the theory of real closed fields and Tarski's theorem. Then, we prove that validity of equations can be decided efficiently, using term-rewriting techniques. We implement our equivalence checking algorithm in Mathematica, and showcase its efficiency across more than 100 examples from the literature.<br />Comment: 61 pages, 14 figures, extending the article accepted at POPL'25, artifacts available at https://zenodo.org/records/13995586

Details

Database :
arXiv
Journal :
Proc. ACM Program. Lang. 9, POPL, Article 42 (January 2025), 33 pages
Publication Type :
Report
Accession number :
edsarx.2411.11617
Document Type :
Working Paper
Full Text :
https://doi.org/10.1145/3704878