Typed Compositional Quantum Computation with Lenses
Abstract We propose a type-theoretic framework for describing and proving properties of quantum computations, in particular those presented as quantum circuits. Our proposal is based on an observation that, in the polymorphic type system of Rocq , currying on quantum states allows one to apply quantum gates directly inside a complex circuit. By introducing a discrete notion of lens to control this currying, we are further able to separate the combinatorics of the circuit structure from the computational content of gates. We apply our development to define quantum circuits recursively from the bottom up, and prove their correctness compositionally.
Authors
- Takafumi Saikawa (ORCID: https://orcid.org/0000-0003-4492-745X)
- Jacques Garrigue (ORCID: https://orcid.org/0000-0001-8056-5519)
Institutions
- Nagoya University (JP)
Publication Details
- Journal
- Journal of Automated Reasoning
- Published
- 2026-05-22
- DOI
- https://doi.org/10.1007/s10817-026-09750-3
- Primary Topic
- Computability, Logic, AI Algorithms
- Type
- preprint
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministry of Education, Culture, Sports, Science and Technology
- Japan Society for the Promotion of Science