article Open access

QWIRE Practice: Formal Verification of Quantum Circuits in Coq

  • Electronic Proceedings in Theoretical Computer Science
  • Open Publishing Association
Research footprint

At a glance

Citations
71
References
21
Comments
0
Paper overview

Öz

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.

Record transparency

Publication details

DOI
10.4204/eptcs.266.8
OpenAlex
W2792039802
Document type
article
Language
EN
Source
Electronic Proceedings in Theoretical Computer Science
Last metadata update
Community

Comments

Oturum Açın to join the discussion.

  1. No comments yet. Start the discussion.