Hadamard-$Π$: Equational Quantum Programming
By: Wang Fang, Chris Heunen, Robin Kaarsgaard
Potential Business Impact:
Makes computers understand quantum math better.
Quantum computing offers advantages over classical computation, yet the precise features that set the two apart remain unclear. In the standard quantum circuit model, adding a 1-qubit basis-changing gate -- commonly chosen to be the Hadamard gate -- to a universal set of classical reversible gates yields computationally universal quantum computation. However, the computational behaviours enabled by this addition are not fully characterised. We give such a characterisation by introducing a small quantum programming language extending the universal classical reversible programming language $\Pi$ with a single primitive corresponding to the Hadamard gate. The language comes equipped with a sound and complete categorical semantics that is specified by a purely equational theory, enabling reasoning about the equivalence of quantum programs in a way that can be automated. Completeness is shown by means of a novel finite presentation, and corresponding synthesis algorithm, for the groups of orthogonal matrices with entries in the ring $\mathbb{Z}[\tfrac{1}{\sqrt{2}}]$.
Similar Papers
Towards a Computational Quantum Logic: An Overview of an Ongoing Research Program
Logic in Computer Science
Makes quantum computers follow logic rules.
Computational Complexity of Non-Hermitian Quantum Systems
Quantum Physics
Makes quantum computers harder to build.
A Denotational Semantics for Quantum Loops
Programming Languages
Makes quantum computers easier to program.