arXiv · 2504.18441
Expectation-based Analysis of Higher-Order Quantum Programs
Abstract
The paper extends the expectation transformer based analysis of higher-order probabilistic programs to the quantum higher-order setting. The quantum language we are considering can be seen as an extension of PCF, featuring unbounded recursion. The language admits classical and quantum data, as well as a tick operator to account for costs. Our quantum expectation transformer translates such programs into a functional, non-quantum language, enriched with a type and operations over so called cost-structures. By specializing the cost-structure, this methodology makes it possible to study several expectation based properties of quantum programs, such as average case cost, probabilities of events or expected values, in terms of the translated non-quantum programs, this way enabling classical reasoning techniques. As a show-case, we adapt a refinement type system, capable of reasoning on upper-bounds.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Martin Avanzini, Alejandro Díaz-Caro, Emmanuel Hainry, Romain Péchoux. 2025-04-25. Expectation-based Analysis of Higher-Order Quantum Programs. https://arxiv.org/abs/2504.18441
Cite the original work for its findings. Save a collection to share your selection of sources.