Lune

POPL2024Top-tier venue

With a Few Square Roots, Quantum Computing Is as Easy as Pi

Jacques Carette, Chris Heunen, Robin Kaarsgaard, Amr Sabry

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Quantum Circuits Are Just a Phase cites Quantum information effects
  • Quantum Circuits Are Just a Phase cites A Complete Equational Theory for Quantum Circuits
  • One Rig to Control Them All cites Quantum information effects
  • One Rig to Control Them All cites A Complete Equational Theory for Quantum Circuits
  • Granthi: Higher-Order Quantum Programming via Unitary Wiring cites Quantum Circuits Are Just a Phase
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Complete Quantum Relational Hoare Logics from Optimal Transport DualityGilles Barthe, Minbo Gao, Theo Wang, Li ZhouLICS 2025 · 4 citations
  2. One Rig to Control Them AllChris Heunen, Robin Kaarsgaard, Louis LemonnierLICS 2026 · 2 citations
  3. Quantum Circuits Are Just a PhaseChris Heunen, Louis Lemonnier, Christopher McNally, Alex RicePOPL 2026
  4. Granthi: Higher-Order Quantum Programming via Unitary WiringSamson Abramsky, Radha JagadeesanOOPSLA 2026

Builds on3

  1. A Complete Equational Theory for Quantum CircuitsAlexandre Clément, Nicolas Heurtel, Shane Mansfield, Simon Perdrix et al.LICS 2023 · 14 citations
  2. Symmetries in reversible programming: from symmetric rig groupoids to reversible programming languagesVikraman Choudhury, Jacek Karwowski, Amr SabryPOPL 2022 · 10 citations
  3. Quantum information effectsChris Heunen, Robin KaarsgaardPOPL 2022 · 1 citation

Related papers

  1. Hadamard-Pi: Equational Quantum ProgrammingWang Fang, Chris Heunen, Robin KaarsgaardPOPL 2026
  2. Complete ω-Regular Supermartingale CertificatesAlessandro Abate, Mirco Giacobbe, Sergey Ichtchenko, Diptarko RoyLICS 2026
  3. A Complete Equational Theory for Real-Clifford+CH Quantum CircuitsAlexandre ClémentLICS 2026
  4. Qunity: A Unified Language for Quantum and Classical ComputingFinn Voichick, Liyi Li, Robert Rand, Michael HicksPOPL 2023 · 35 citations
  5. How Many Quantum Circuit Identities Are Needed to Generate All Others?Yuantian Ding, Nengkun Yu, Xiaokang QiuCAV 2026
Dusk over the sea between two cliffs drawn in fine vertical lines