Reference. With a Few Square Roots, Quantum Computing Is as Easy as Pi
Rig groupoids provide a semantic model of Π , a universal classical reversible programming language over finite types. We prove that extending rig groupoids with just two maps and three equations about them results in a model of quantum computing that is computationally universal and equationally sound and complete for a variety of gate sets. The first map corresponds to an 8th root of the identity morphism on the unit 1. The second map corresponds to a square root of the symmetry on 1 + 1 . As square roots are generally not unique and can sometimes even be trivial, the maps are constrained to satisfy a nondegeneracy axiom, which we relate to the Euler decomposition of the Hadamard gate. The semantic construction is turned into an extension of Π , called Π , that is a computationally universal quantum programming language equipped with an equational theory that is sound and complete with respect to the Clifford gate set, the standard gate set of Clifford+T restricted to ≤ 2 qubits, and the computationally universal Gaussian Clifford+T gate set.
Cite
Cited by (3)
Free quantum computing carette-2026-free
Quantum computing improves substantially on known classical algorithms for various important problems, but the nature of the relationship between quantum and classical computing is not yet fully understood. This relationship can be clarified by free models, that add to classical computing just enough physical principles to represent quantum computing and no more. Here, we develop an axiomatization of quantum computing that replaces the standard continuous postulates with a small number of discrete equations, as well as a free model that replaces the standard linear-algebraic model with a category-theoretical one. The axioms and model are based on reversible classical computing, isolate quantum advantage in the ability to take certain well-behaved square roots, and link to various quantum computing hardware platforms. This approach allows combinatorial optimization, including brute force computer search, to optimize quantum computations. The free model may be interpreted as a programming language for quantum computers, that has the same expressivity and computational universality as the standard model, but additionally allows automated verification and reasoning.
How to Bake a Quantum Π carette-2024-how
We construct a computationally universal quantum programming language Quantum Π from two copies of Π , the internal language of rig groupoids. The first step constructs a pure (measurement-free) term language by interpreting each copy of Π in a generalisation of the category Unitary in which every morphism is “rotated” by a particular angle, and the two copies are amalgamated using a free categorical construction expressed as a computational effect. The amalgamated language only exhibits quantum behaviour for specific values of the rotation angles, a property which is enforced by imposing a small number of equations on the resulting category. The second step in the construction introduces measurements by layering an additional computational effect.
Compositional Reversible Computation carette-2024-compositional
Cites 36 works (1 here)
With notes (1)
Formalizing category theory in Agda hu-2021-formalizing
External (35)
- With a Few Square Roots, Quantum Computing is as Easy as Pi (arXiv version) (2023)
- Generators and Relations for 2-Qubit Clifford+T Operators (2022)
- Embracing the laws of physics: Three reversible models of computation (2022)
- Symmetries in reversible programming: from symmetric rig groupoids to reversible programming languages (2022)
- A Complete Equational Theory for Quantum Circuits (2022)
- Circuit Extraction for ZX-Diagrams Can Be #P-Hard (2022)
- Quantum Information Effects (2022)
- Pulse-Engineered Controlled-V Gate and Its Applications on Superconducting Quantum Device (2022)
- Constructing All Qutrit Controlled Clifford+T gates in Clifford+T (2022)
- Generators and Relations for Un(Z[1/2,i]) (2021)
- Bimonoidal Categories, $E_n$-Monoidal Categories, and Algebraic\n $K$-Theory (2021)
- Number-Theoretic Characterizations of Some Restricted Clifford+T Circuits (2020)
- Reversible Programs Have Reversible Semantics (2020)
- Quantum supremacy using a programmable superconducting processor (2019)
- ZH: A Complete Graphical Calculus for Quantum Computations Involving Classical Non-linearity (2019)
- Categories for Quantum Theory (2019)
- Reversible Effects as Inverse Arrows (2018)
- Computing with Semirings and Weak Rig Groupoids (2016)
- Generators and relations for n-qubit Clifford operators (2015)
- Ricercar: A Language for Describing and Rewriting Reversible Circuits with Ancillae and Its Permutation Semantics (2015)
- Algebraic Effects, Linearity, and Quantum Programming Languages (2014)
- Exact synthesis of multiqubit Clifford+ T circuits (2013)
- Information effects (2012)
- Quantum Computation and Quantum Information (10th anniversary edition) (2010)
- Category Theory (Awodey) (2010)
- Graph States and the Necessity of Euler Decomposition (2009)
- Interacting quantum observables : categorical algebra and diagrammatics (2008)
- Quantum Computing for Computer Scientists (2008)
- A Simple Proof that Toffoli and Hadamard are Quantum Universal (2003)
- The Heisenberg Representation of Quantum Computers (1998)
- The square root of NOT (1995)
- Realizable Universal Quantum Logic Gates (1995)
- Reversible Computing (1980)
- E∞ Ring Spaces and E∞ Ring Spectra (1977)
- Coherence for distributivity (1972)