Skip to main content
KetQat

Appearance

Theorem · advanced

Completeness of the ZX calculus

For suitable rule sets, two ZX diagrams denote the same linear map exactly when one can be rewritten into the other. This was proved first for stabilizer diagrams, then for Clifford+T, then for all pure-qubit diagrams; the stabilizer rule set is incomplete beyond the stabilizer case.

Peer-reviewed resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

A set of rewrite rules for ZX diagrams is sound if every rule preserves the interpretation, and complete for a class of diagrams if, whenever two diagrams D1,D2D_1, D_2 in the class satisfy [ ⁣[D1] ⁣]=[ ⁣[D2] ⁣][\![D_1]\!] = [\![D_2]\!], D1D_1 can be transformed into D2D_2 by finitely many applications of the rules. The following are proved.

  1. Stabilizer fragment. With all phases multiples of π/2\pi/2, the rules of the calculus, including the Euler decomposition of the Hadamard gate, are complete (Backens). The proof rewrites every diagram to a normal form made of a graph state and local Clifford operations.
  2. The original rules are not complete in general. With arbitrary phases the rule set of Coecke and Duncan, even with the Euler decomposition added, is incomplete (Schröder de Witt and Zamdzhiev).
  3. Clifford+T fragment. With phases multiples of π/4\pi/4, adding two new axioms gives a complete rule set (Jeandel, Perdrix and Vilmart); the proof goes through a translation to the ZW calculus, a graphical calculus for integer matrices.
  4. All pure-qubit diagrams. Complete axiomatisations for diagrams with arbitrary phases were given by Hadzihasanovic, Ng and Wang, and an axiomatisation in which every rule has a physical reading and all but two are proved necessary by Vilmart.

Completeness is an existence statement: it says a rewrite sequence exists, not that one can be found efficiently. Deciding equality of general diagrams is at least as hard as deciding equality of quantum circuits.

Holds when

  • Each statement refers to a specific rule set given in the cited paper; completeness is relative to that rule set and to the stated fragment of phases.
  • Equalities in the stabilizer result are stated with the scalar conventions of that paper; later results handle scalars exactly.
Part of
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Bob Coecke, Ross Duncan (2011). Interacting quantum observables: categorical algebra and diagrammatics. New Journal of Physics 13, 043016. doi:10.1088/1367-2630/13/4/043016arXiv:0906.4725
  2. Miriam Backens (2014). The ZX-calculus is complete for stabilizer quantum mechanics. New Journal of Physics 16, 093021. doi:10.1088/1367-2630/16/9/093021arXiv:1307.7025
  3. Christian Schröder de Witt, Vladimir Zamdzhiev (2014). The ZX-calculus is incomplete for quantum mechanics. Electronic Proceedings in Theoretical Computer Science 172, 285-292. doi:10.4204/EPTCS.172.20arXiv:1404.3633
  4. Emmanuel Jeandel, Simon Perdrix, Renaud Vilmart (2018). A complete axiomatisation of the ZX-calculus for Clifford+T quantum mechanics. Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2018), 559-568. doi:10.1145/3209108.3209131arXiv:1705.11151
  5. Amar Hadzihasanovic, Kang Feng Ng, Quanlong Wang (2018). Two complete axiomatisations of pure-state qubit quantum computing. Proceedings of the 33rd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2018), 502-511. doi:10.1145/3209108.3209128
  6. Renaud Vilmart (2019). A near-minimal axiomatisation of ZX-calculus for pure qubit quantum mechanics. 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2019), 1-10. doi:10.1109/LICS.2019.8785765arXiv:1812.09114

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Definitions of soundness/completeness checked; item 1 compared with Backens, arXiv 1307.7025 (abstract, Sections 2-5: Euler rule in the rule set, GS-LC normal forms); item 2 with Schröder de Witt and Zamdzhiev, arXiv 1404.3633 (Sections 1.2 and 2); item 3 with Jeandel, Perdrix and Vilmart, arXiv 1705.11151 (abstract and Section 1: two new axioms, proof via the ZW calculus); item 4 with Vilmart, arXiv 1812.09114 (abstract, Section 1 citing Hadzihasanovic, Ng and Wang as a complete axiomatisation of the general calculus, Section 2.4 on minimality). The Hadzihasanovic-Ng-Wang paper itself was not read (no open full text found); its title and venue were checked on Crossref. Crossref metadata for all six references matched.

    Corrected four points: Jeandel-Perdrix-Vilmart add two new axioms, not four; Schröder de Witt-Zamdzhiev show incompleteness of the Coecke-Duncan rules extended with the Euler decomposition (wording made precise); Vilmart proves necessity of all axioms except two, not of every rule; the summary now says the stabilizer rule set (not the original Coecke-Duncan set, which lacks the Euler rule) is incomplete beyond the stabilizer case.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision ff5bd5dcf370a77e. Source file knowledge/records/theorem/zx-completeness.md in the content repository (readable there once it is public).