QWIRE Practice: Formal Verification of Quantum Circuits in Coq

03/02/2018
by   Robert Rand, et al.
0

We describe an embedding of the QWIRE quantum circuit language in the Coq proof assistant. This allows programmers to write quantum circuits using high-level abstractions and to prove properties of those circuits using Coq's theorem proving features. The implementation uses higher-order abstract syntax to represent variable binding and provides a type-checking algorithm for linear wire types, ensuring that quantum circuits are well-formed. We formalize a denotational semantics that interprets QWIRE circuits as superoperators on density matrices, and prove the correctness of some simple quantum programs.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/15/2018

QPCF: higher order languages and quantum circuits

qPCF is a paradigmatic quantum programming language that ex- tends PCF w...
research
05/07/2021

On Abstract Machine Semantics for Proto-Quipper-M

Quipper is a domain-specific programming language for the description of...
research
03/06/2023

Simple Complete Equational Theories for Quantum Circuits with Ancillae or Partial Trace

Although quantum circuits have been ubiquitous for decades in quantum co...
research
03/31/2023

Design by Contract Framework for Quantum Software

To realize reliable quantum software, techniques to automatically ensure...
research
09/08/2023

Data-Flow-Based Normalization Generation Algorithm of R1CS for Zero-Knowledge Proof

The communities of blockchains and distributed ledgers have been stirred...
research
09/06/2021

Gottesman Types for Quantum Programs

The Heisenberg representation of quantum operators provides a powerful t...
research
08/07/2019

Sized Types for low-level Quantum Metaprogramming

One of the most fundamental aspects of quantum circuit design is the con...

Please sign up or login with your details

Forgot password? Click here to reset