pith. sign in

VyZX: Formal Verification of a Graphical Quantum Language

2 Pith papers cite this work. Polarity classification is still indexing.

2 Pith papers citing it
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 show how inductive graphs in VyZX are used to prove the soundness of the ZX-calculus rewrite rules and apply them in practice using standard proof assistant techniques. We also provide an IDE-integrated visualizer for proof engineers to directly reason about diagrams in graphical form.

fields

cs.LO 1 cs.PL 1

years

2026 1 2023 1

verdicts

UNVERDICTED 2

representative citing papers

TensorRocq: Enabling diagrammatic reasoning in Rocq

cs.LO · 2026-04-19 · unverdicted · novelty 7.0

TensorRocq supplies verified Rocq tactics that convert symmetric monoidal category terms to hypergraphs with interfaces, enabling equivalence inference and rewriting based on string-diagram deformations while preserving tensor semantics.

citing papers explorer

Showing 2 of 2 citing papers.

  • TensorRocq: Enabling diagrammatic reasoning in Rocq cs.LO · 2026-04-19 · unverdicted · none · ref 14 · internal anchor

    TensorRocq supplies verified Rocq tactics that convert symmetric monoidal category terms to hypergraphs with interfaces, enabling equivalence inference and rewriting based on string-diagram deformations while preserving tensor semantics.

  • Typed compositional quantum computation with lenses cs.PL · 2023-11-24 · unverdicted · none · ref 13 · internal anchor

    Coq framework with discrete lenses for typed, compositional definition and verification of quantum circuits.