Compiling Quantum Lambda-Terms into Circuits via the Geometry of Interaction
Abstract
We present an algorithm turning any term of a linear quantum -calculus into a quantum circuit. The essential ingredient behind the proposed algorithm is Girard's geometry of interaction, which, differently from its well-known uses from the literature, is here leveraged to perform as much of the classical computation as possible, at the same time producing a circuit that, when evaluated, performs all the quantum operations in the underlying -term. We identify higher-order control flow as the primary obstacle towards efficient solutions to the problem at hand. Notably, geometry of interaction proves sufficiently flexible to enable efficient compilation in many cases, while still supporting a total compilation procedure. Finally, we characterize through a type system those -terms for which compilation can be performed efficiently.
Cite
@article{arxiv.2602.17482,
title = {Compiling Quantum Lambda-Terms into Circuits via the Geometry of Interaction},
author = {Kostia Chardonnet and Ugo Dal Lago and Naohiko Hoshino and Paolo Pistone},
journal= {arXiv preprint arXiv:2602.17482},
year = {2026}
}