Skip to main content
QUICK REVIEW

[Paper Review] Completeness of Sum-Over-Paths for Toffoli-Hadamard and the Dyadic Fragments of Quantum Computation

Renaud Vilmart|arXiv (Cornell University)|May 5, 2022
Logic, programming, and type systemsComputer Science6 citations
TL;DR

This paper presents a complete equational theory for the Sum-Over-Paths (SOP) formalism in the Toffoli-Hadamard fragment of quantum computation, introducing a new rewrite system that achieves completeness despite non-confluence and potential term explosion. It extends the system to the full dyadic fragment—encompassing phase gates with dyadic multiples of π—by adding a single key rewrite rule, and establishes the correspondence between SOP and ZH-Calculus through functorial translations, enabling graphical reasoning and simplification of quantum circuits.

ABSTRACT

The "Sum-Over-Paths" formalism is a way to symbolically manipulate linear maps that describe quantum systems, and is a tool that is used in formal verification of such systems. We give here a new set of rewrite rules for the formalism, and show that it is complete for "Toffoli-Hadamard", the simplest approximately universal fragment of quantum mechanics. We show that the rewriting is terminating, but not confluent (which is expected from the universality of the fragment). We do so using the connection between Sum-over-Paths and graphical language ZH-Calculus, and also show how the axiomatisation translates into the latter. Finally, we show how to enrich the rewrite system to reach completeness for the dyadic fragments of quantum computation - obtained by adding phase gates with dyadic multiples of π to the Toffoli-Hadamard gate-set - used in particular in the Quantum Fourier Transform.

Motivation & Objective

  • To develop a complete equational theory for the Toffoli-Hadamard fragment within the Sum-Over-Paths (SOP) formalism.
  • To extend completeness to the broader dyadic fragments of quantum computation, including phase gates with dyadic multiples of π.
  • To establish a functorial correspondence between SOP and ZH-Calculus, enabling graphical interpretation of SOP rewrite rules.
  • To address the limitations of non-confluence and exponential term growth in SOP rewriting, while preserving semantic equivalence.

Proposed method

  • Introduces a new set of rewrite rules for SOP that are terminating but not confluent, tailored for the Toffoli-Hadamard fragment.
  • Uses a functor ↿⌊·⌋↾k to project SOP terms into a lower-resolution fragment (1/2^k) to enable inductive completeness proofs.
  • Defines a reverse functor ⇃⌈·⌉⇂k to reconstruct higher-resolution terms, enabling completeness transfer across levels.
  • Extends the rewrite system with a single rule (√2 rule) to handle terms with odd powers of 1/√2, enabling completeness for the full dyadic fragment.
  • Translates SOP rewrite rules into equivalent ZH-Calculus identities, showing that rules like (HHnl) and (HHgen) correspond to known graphical identities.
  • Employs a recursive completeness argument: completeness in the base fragment (1/2) implies completeness in higher fragments via the functors and their inverses.

Experimental results

Research questions

  • RQ1Can a complete equational theory be established for the Toffoli-Hadamard fragment using the Sum-Over-Paths formalism, despite its non-confluent nature?
  • RQ2How can the rewrite system be extended to achieve completeness for the full dyadic fragment of quantum computation, including phase gates with dyadic multiples of π?
  • RQ3What is the precise correspondence between SOP rewrite rules and identities in the ZH-Calculus, and how can this be used to interpret and verify quantum circuit equivalences?
  • RQ4Can the completeness result be lifted from low-resolution fragments (1/2^k) to the full dyadic fragment using functorial translations?

Key findings

  • The paper establishes completeness of the SOP formalism for the Toffoli-Hadamard fragment using a new rewrite system, proving that two terms are semantically equal if and only if they are derivable from one another via the equational theory ∼TH.
  • Completeness is extended to the entire dyadic fragment by adding a single rewrite rule: the √2 rule, which transforms terms with phase 1/8 + 3/4 y0 into terms with a scalar factor of √2, enabling equivalence between terms with different scalar powers of 1/√2.
  • The functor ↿⌊·⌋↾k preserves semantics and allows inductive completeness proofs by reducing high-resolution terms to lower-resolution ones, where completeness is already known.
  • The reverse functor ⇃⌈·⌉⇂k reconstructs higher-resolution terms and ensures that semantic equivalence at lower levels lifts back to the original level, proving the completeness of the extended theory ∼TH’.
  • The correspondence between SOP and ZH-Calculus is formally established: rewrite rules in SOP correspond to known graphical identities in ZH, enabling visual reasoning and simplification.
  • The paper demonstrates that while the rewrite system is not confluent and may cause exponential term growth, it is sufficient for completeness, and the trade-off is inherent to the universality of the fragment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.