Higher-Order Programs with Indefinite Causal Orders: a Linear Approach to Coherent Control of Quantum Processes

2026-07-10Logic in Computer Science

Logic in Computer Science
AI summary

The authors created a new quantum programming language that can handle processes where the order of quantum operations isn't fixed, called indefinite causal orders (ICOs). Unlike previous languages, theirs can manage general quantum computations including measurements, while keeping things mathematically consistent using a special typing system. They also showed that every program written in this language corresponds to physically possible quantum processes and that it can describe complex quantum circuits like the quantum switch. This work could be a step toward more flexible quantum programming in the future.

indefinite causal ordersquantum switchquantum programming languagelinear type systemquantum channelsoperational semanticsdenotational semanticscompletely positive mapsquantum circuits with quantum controlcausal category
Authors
Kathleen Barsse, Romain Péchoux, Simon Perdrix
Abstract
Processes with indefinite causal orders (ICOs), such as the quantum switch, are higher-order quantum processes that superpose the order in which quantum operations are performed. Such coherent control yields computational advantages but is not faithfully captured by existing quantum programming languages: either they are restricted to the unitary case, and thus cannot combine ICOs with measurement, or they treat coherent control nonlinearly. In both cases, they do not realize the full computational power of ICOs. We introduce a higher-order quantum functional language that supports general quantum computation, not merely the permutation of channels, and whose linear type system allows quantum control to be well-defined beyond the unitary case, on arbitrary quantum channels. We equip this language with a small-step operational semantics that synchronizes measurement outcomes across superposed branches, using device references and a memory function. We also give a denotational semantics by means of completely positive maps. With linearity as the only constraint, some well-typed terms would denote unphysical maps. We therefore impose a typing discipline that goes beyond linearity, and interpret programs in the causal category Caus[CPM], under which every well-typed program is physically meaningful, a property that can be checked statically and efficiently. We prove soundness, and study the language's expressive power: it can express every quantum channel at first order, and at second order a large subclass of the so-called quantum circuits with quantum control (QC-QCs), containing the quantum switch. Last but not least, we show that this language is well-designed enough to be extended to the nonlinear setting with recursion.