Static Analysis of Quantum Programs via Gottesman Types

01/22/2021
by   Robert Rand, et al.
0

The Heisenberg representation of quantum operators provides a powerful technique for reasoning about quantum circuits, albeit those restricted to the common (non-universal) Clifford set H, S and CNOT. The Gottesman-Knill theorem showed that we can use this representation to efficiently simulate Clifford circuits. We show that Gottesman's semantics for quantum programs can be treated as a type system, allowing us to efficiently characterize a common subset of quantum programs. We apply this primarily towards tracking entanglement in programs, showing how superdense coding and GHZ circuits entangle and disentangle qubits and how to safely dispose of ancillae. We demonstrate the efficiency of our typechecking algorithm both for simple deductions and those involving entanglement and measurement.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/06/2021

Gottesman Types for Quantum Programs

The Heisenberg representation of quantum operators provides a powerful t...
research
04/11/2023

Static Entanglement Analysis of Quantum Programs

Quantum entanglement plays a crucial role in quantum computing. Entangli...
research
01/08/2018

Demonstration of Envariance and Parity Learning on the IBM 16 Qubit Processor

Recently, IBM has made available a quantum computer provided with 16 qub...
research
05/04/2022

Twist: Sound Reasoning for Purity and Entanglement in Quantum Programs

Quantum programming languages enable developers to implement algorithms ...
research
03/14/2023

Schrödinger as a Quantum Programmer: Estimating Entanglement via Steering

Quantifying entanglement is an important task by which the resourcefulne...
research
02/01/2023

InQuIR: Intermediate Representation for Interconnected Quantum Computers

Various physical constraints limit the number of qubits that can be impl...
research
03/31/2023

Design by Contract Framework for Quantum Software

To realize reliable quantum software, techniques to automatically ensure...

Please sign up or login with your details

Forgot password? Click here to reset