Skip to main content
QUICK REVIEW

[Paper Review] Graphical Fourier Theory and the Cost of Quantum Addition

Stach Kuijpers, John van de Wetering|arXiv (Cornell University)|Apr 16, 2019
Quantum Computing Algorithms and ArchitectureComputer Science11 references11 citations
TL;DR

This paper introduces graphical Fourier theory as a bridge between the ZX- and ZH-calculi, enabling systematic translation between diagrams representing controlled-phase gates (ZH) and exponentiated Pauli gates (ZX) via the Fourier transform of semi-Boolean functions. The key contribution is a diagrammatic method that simplifies Toffoli and quantum adder circuits, reducing T-gate counts by up to 50% through generalized, automated optimization techniques grounded in Fourier expansion rules and phase cancellation.

ABSTRACT

The ZX-calculus is a convenient formalism for expressing and reasoning about quantum circuits at a low level, whereas the recently-proposed ZH-calculus yields convenient expressions of mid-level quantum gates such as Toffoli and CCZ. In this paper, we will show that the two calculi are linked by Fourier transform. In particular, we will derive new Fourier expansion rules using the ZH-calculus, and show that we can straightforwardly pass between ZH- and ZX-diagrams using them. Furthermore, we demonstrate that the graphical Fourier expansion of a ZH normal-form corresponds to the standard Fourier transform of a semi-Boolean function. As an illustration of the calculational power of this technique, we then show that several tricks for reducing the T-gate cost of Toffoli circuits, which include for instance quantum adders, can be derived using graphical Fourier theory and straightforwardly generalized to more qubits.

Motivation & Objective

  • To establish a formal link between the ZX-calculus and ZH-calculus using Fourier transforms of semi-Boolean functions.
  • To develop a diagrammatic method for translating between ZH-diagrams (representing controlled-phase gates) and ZX-diagrams (representing parity-phase gates).
  • To apply this framework to systematically derive and generalize known T-gate reduction techniques for Toffoli and quantum adder circuits.
  • To enable automated circuit optimization by encoding Fourier spectra as coefficients in ZX/ZH diagrams, facilitating low-T-count implementations.

Proposed method

  • Derive new Fourier expansion rules in the ZH-calculus using the orthogonal basis of parity functions, enabling transformation between ZH and ZX diagrams.
  • Use indexed !-box notation to represent n-qubit phase polynomials and their Fourier spectra graphically.
  • Apply the Fourier transform to convert ZH-diagrams into ZX-diagrams and vice versa, with coefficients corresponding to the Fourier spectrum of semi-Boolean functions.
  • Leverage phase cancellation in Fourier-transformed diagrams to reduce T-gate counts, particularly in compute-uncompute pairs of Toffoli gates.
  • Generalize known optimization tricks (e.g., 4-T-gate Toffoli with ancilla) into a reusable framework using the Fourier transform and controlled-phase gate rewriting.
  • Use post-selection and correction via Clifford gates (e.g., CZ) to handle measurement outcomes in ancilla-based constructions.

Experimental results

Research questions

  • RQ1How can the ZH-calculus be used to express and manipulate phase polynomials in a way that enables systematic translation to the ZX-calculus?
  • RQ2What is the diagrammatic interpretation of the Fourier transform of a semi-Boolean function in the context of quantum circuit diagrams?
  • RQ3Can known T-gate reduction techniques for Toffoli and adder circuits be derived and generalized using this graphical Fourier framework?
  • RQ4How do phase cancellations in the Fourier spectrum correspond to T-gate reductions in quantum circuits?
  • RQ5Can this method be extended to derive new identities for multi-controlled Toffoli gates with reduced non-Clifford resource costs?

Key findings

  • The paper establishes a direct correspondence between the Fourier transform of semi-Boolean functions and the translation between ZH-diagrams and ZX-diagrams, with coefficients in the Fourier spectrum matching the phase values in the diagrams.
  • A 4-T-gate implementation of the Toffoli gate with one ancilla qubit is derived and generalized to n-controlled Toffoli gates using 4(n−1) Z(π/2n) rotations and a single ancilla.
  • The technique enables a 50% reduction in T-gate cost for quantum adder circuits by simplifying compute-uncompute pairs of Toffoli gates, reducing 8 T-gates to 4.
  • Phase cancellations in the Fourier-transformed diagrams allow for systematic simplification, with the correction for post-selected ancilla states requiring only Clifford operations (e.g., CZ gates).
  • The method generalizes known optimization tricks into a reusable framework, suggesting potential integration into automated tools like PyZX for circuit optimization.
  • The framework enables the derivation of previously unknown identities for Toffoli circuits by combining ZX- and ZH-diagrammatic reasoning, particularly in the context of non-Clifford resource minimization.

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.