aiqbench analysis
This research resolves a fundamental limitation in quantum lambda calculi by enabling the direct manipulation and discarding of individual qubits within compound states. By leveraging Pauli decomposition, the authors introduce a new construct that restores full expressiveness while maintaining physical consistency with the no-deleting theorem. This advancement is critical for advancing formal verification methods and compositional reasoning in quantum programming languages.
A quantum let within the lambda calculus
arXiv:2608.29380v1 Announce Type: cross Abstract: Since the seminal work of Selinger and Valiron, the standard design for quantum lambda calculi has kept the quantum state outside the program: terms manipulate pointers to an external register. This is largely due to the difficulty of eliminating tensor products. For example, the calculus $\lambda_\rho^\circ$ embeds density matrices directly within terms, where terms carry the entire computation state, a feature particularly appealing for program verification. However, lacking a tensor elimination construct, it can neither access the individual qubits of a compound state nor discard them. Borgna showed that this inability to discard qubits makes the calculus strictly less expressive than the quantum lambda calculus of Selinger and Valiron. In this paper we show that tensor elimination is possible in this setting. The key observation is that the Pauli decomposition, combined with the spectral decomposition of the Pauli matrices, allows any $n$-qubit density matrix to be expressed as a real linear combination of tensor products of single-qubit density matrices. Exploiting this fact, we extend $\lambda_\rho^\circ$ with a construct $\mathrm{let}\ x^{\otimes n} = \rho\ \mathrm{in}\ t$, which binds each $x_i$ to a single-qubit density matrix arising from the decomposition of $\rho$. We equip the extended calculus with a rewrite system, a type system, and a denotational semantics, and prove Subject Reduction, Progress, Strong Normalisation, Soundness, and Adequacy. The new construct also recovers the missing ability to discard qubits, thereby restoring expressiveness. Moreover, we show that this is achieved in a physically principled way: a variable unused in $t$ is interpreted exactly as being partial-traced out, as dictated by the no-deleting theorem. We illustrate the resulting compositionality through quantum teleportation and the three-qubit bit-flip code.
Abstract:Since the seminal work of Selinger and Valiron, the standard design for quantum lambda calculi has kept the quantum state outside the program: terms manipulate pointers to an external register. This is largely due to the difficulty of eliminating tensor products. For example, the calculus $\lambda_\rho^\circ$ embeds density matrices directly within terms, where terms carry the entire computation state, a feature particularly appealing for program verification. However, lacking a tensor elimination construct, it can neither access the individual qubits of a compound state nor discard them. Borgna showed that this inability to discard qubits makes the calculus strictly less expressive than the quantum lambda calculus of Selinger and Valiron. In this paper we show that tensor elimination is possible in this setting. The key observation is that the Pauli decomposition, combined with the spectral decomposition of the Pauli matrices, allows any $n$-qubit density matrix to be expressed as a real linear combination of tensor products of single-qubit density matrices. Exploiting this fact, we extend $\lambda_\rho^\circ$ with a construct $\mathrm{let}\ x^{\otimes n} = \rho\ \mathrm{in}\ t$, which binds each $x_i$ to a single-qubit density matrix arising from the decomposition of $\rho$. We equip the extended calculus with a rewrite system, a type system, and a denotational semantics, and prove Subject Reduction, Progress, Strong Normalisation, Soundness, and Adequacy. The new construct also recovers the missing ability to discard qubits, thereby restoring expressiveness. Moreover, we show that this is achieved in a physically principled way: a variable unused in $t$ is interpreted exactly as being partial-traced out, as dictated by the no-deleting theorem. We illustrate the resulting compositionality through quantum teleportation and the three-qubit bit-flip code.
Logic in Computer Science (cs.LO); Quantum Physics (quant-ph)
arXiv:2608.29380 [cs.LO]
(or arXiv:2608.29380v1 [cs.LO] for this version)
https://doi.org/10.48550/arXiv.2608.29380 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 372 words
Related coverage

New Programming Language Enforces Causality in Quantum Programs
Quantum Zeitgeist · Jul 20, 2026
Toward a Kantian refutation of Agent Foundations
LessWrong · Jun 17, 2026

University of Oxford Team Develops Ribbon ZX Calculus for Two-Dimensional Yang Mills Theory
Quantum Zeitgeist · Jun 15, 2026

Bertrand Russell, the Complete Story of His 1901 Paradox
Quantum Zeitgeist · Aug 30, 2026