VyZX: Formal Verification of a Graphical Quantum Language
Adrian Lehmann, Ben Caldwell, Bhakti Shah, William Spencer, Robert Rand

TL;DR
VyZX is a verified library that enables formal reasoning about graphical quantum languages like ZX-calculus, bridging the gap between diagrammatic reasoning and proof assistants.
Contribution
It introduces VyZX, a novel inductive framework for verifying graphical languages, specifically applied to the ZX-calculus for quantum computation.
Findings
VyZX proves the soundness of ZX-calculus rewrite rules.
The library supports practical reasoning with diagrams using proof assistant techniques.
An IDE-integrated visualizer enhances diagrammatic reasoning.
Abstract
Graphical languages are a convenient shorthand to represent computation, with rewrite rules relating one graph to another. In contrast, proof assistants rely heavily on inductive datatypes, particularly when giving semantics to embedded languages. This creates obstacles to formally reasoning about graphical languages, since imposing an inductive structure obfuscates the diagrammatic nature of graphical languages, along with their corresponding equational theories. To address this gap, we present VyZX, a verified library for reasoning about inductively defined graphical languages. These inductive constructs arise naturally from category-theoretic definitions. We developed VyZX to Verify the ZX-calculus, a graphical langauge for reasoning about quantum computation. The ZX-calculus comes with a collection of diagrammatic rewrite rules that preserve the graph's semantic interpretation. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
