An Expressive Assertion Language for Quantum Programs
In this paper, we define an assertion language designed for expectation-based reasoning about quantum programs. The key design idea is a representation of quantum predicates by quasi-probability distributions of generalized Pauli operators. Then we extend classical techniques such as Gödelization to prove that this language is expressive with respect to the quantum programs with loops—specifically, for any program S and any postcondition ψ formulated in the assertion language, the weakest precondition of S with respect to ψ can also be expressed as a formula in the assertion language. As an application, we present a sound and relatively complete quantum Hoare logic upon our expressive assertion language.
Authors
- Mingsheng Ying (ORCID: https://orcid.org/0000-0003-4847-702X)
- B. Su
- L. P. Zhou (ORCID: https://orcid.org/0000-0001-6989-8080)
- Yuan Feng
Institutions
- University of Technology Sydney (AU)
- Chinese Academy of Sciences (CN)
- Institute of Software (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- Proceedings of the ACM on Programming Languages
- Published
- 2026-01-08
- DOI
- https://doi.org/10.1145/3776658
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 0.00