Proto-Quipper with Reversing and ControlTalk
This program is tentative and subject to change.
The quantum programming language Quipper supports circuit operations such as reversing and control, which allows programmers to control and reverse certain quantum circuits. In addition to these two operations, Quipper provides a function called \textit{with-computed}, which can be used to program circuits of the form $g; f; g^{\dagger}$. The latter is a common pattern in quantum circuit design. One benefit of using with-computed, as opposed to constructing the circuit $g ; f; g^{\dagger}$ directly from $g$, $f$, and $g^{\dagger}$, is that it facilitates an important optimization. Namely, if the resulting circuit is later controlled, only the circuit $f$ in the middle needs to be controlled; the circuits $g$ and $g^{\dagger}$ need not even be controllable.
In this paper, we formalize a semantics for reversible and controllable circuits, using a dagger symmetric monoidal category $\R$ to interpret reversible circuits, and a new notion we call a \textit{controllable category} $\N$ to interpret controllable circuits. The controllable category $\N$ encompasses the control and with-computed operations in Quipper. We extend the language Proto-Quipper with reversing, control and the with-computed operation. Since not all circuits are reversible and/or controllable, we use a type system with modalities to track reversibility and controllability. This generalizes the modality of Fu-Kishida-Ross-Selinger 2023. We give an abstract categorical semantics for reversing, control and with-computed, and show that the type system and operational semantics are sound with respect to this semantics. Lastly, we construct a concrete model using a generalization of \textit{biset enrichment} from Fu-Kishida-Ross-Selinger 2022.
A preprint of this paper is available at http://arxiv.org/abs/2410.22261.
Extended Abstract (planqc25-paper80.pdf) | 513KiB |
This program is tentative and subject to change.
Sat 25 JanDisplayed time zone: Mountain Time (US & Canada) change
16:00 - 17:30 | |||
16:00 22mTalk | Quantum Register Machine: Efficient Implementation of Quantum Recursive Programs (Extended Abstract)TalkRemote PLanQC Zhicheng Zhang University of Technology Sydney, Mingsheng Ying Institute of Software at Chinese Academy of Sciences; Tsinghua University File Attached | ||
16:22 22mTalk | Programming with Projective CliffordsTalk PLanQC File Attached | ||
16:45 22mTalk | Proto-Quipper with Reversing and ControlTalk PLanQC Peng Fu University of South Carolina, Kohei Kishida University of Illinois at Urbana-Champaign, Neil Julien Ross Dalhousie University, Peter Selinger Dalhousie University File Attached | ||
17:07 22mTalk | Imperative Quantum Programming with Ownership and Borrowing in GuppyTalk PLanQC Mark Koch Quantinuum, Agustin Borgna Quantinuum, Craig Roy Quantinuum, Alan Lawrence Quantinuum, Kartik Singhal Quantinuum, Seyon Sivarajah Quantinuum, Ross Duncan Quantinuum Media Attached File Attached |