Skip to main content
QUICK REVIEW

[Paper Review] Completeness of algebraic ZX-calculus over arbitrary commutative rings and semirings

Quanlong Wang|arXiv (Cornell University)|Dec 2, 2019
Quantum Computing Algorithms and ArchitectureComputer Science11 references8 citations
TL;DR

This paper generalizes the ZX-calculus to arbitrary commutative rings and semirings by introducing new generators and rewriting rules that preserve soundness. It proves completeness for matrices over these structures using a normal form based on elementary matrix operations, extending the formalism beyond complex numbers to enable applications in number theory and linear algebra over general algebraic domains.

ABSTRACT

ZX-calculus is a strict mathematical formalism for graphical quantum computing which is based on the field of complex numbers. In this paper, we extend its power by generalising ZX-calculus to such an extent that it is universal both in an arbitrary commutative ring and in an arbitrary commutative semiring. Furthermore, we follow the framework of arXiv:2007.13739 to prove respectively that the proposed ZX-calculus over an arbitrary commutative ring (semiring) is complete for matrices over the same ring (semiring), via a normal form inspired from matrix elementary operations such as row addition and row multiplication. This work could lead to various applications including doing elementary number theory in string diagrams.

Motivation & Objective

  • To extend the ZX-calculus beyond the complex numbers to arbitrary commutative rings and semirings.
  • To define new generators and rewriting rules that are sound and universal over these algebraic structures.
  • To prove completeness of the generalized ZX-calculus for matrices over arbitrary commutative rings and semirings.
  • To enable new applications in elementary number theory and linear algebra over discrete algebraic domains.
  • To generalize the framework to support reasoning with string diagrams over non-field algebraic structures.

Proposed method

  • Introduces scalar-free generators: red spiders with all coefficients 1, and Hadamard nodes with entries ±1 instead of 1/√2.
  • Adopts a PROP-based presentation using generators and relations over arbitrary commutative rings and semirings.
  • Employs a normal form inspired by elementary matrix operations—row addition and row multiplication—using pink nodes to encode operations.
  • Uses map-state duality and tensor product rewriting to unify and simplify diagram structures.
  • Applies the framework from [14] to prove completeness via reduction to normal forms.
  • Adapts proofs for semirings by avoiding inverses and negative elements, relying on commutative monoid structures.

Experimental results

Research questions

  • RQ1Can the ZX-calculus be generalized to arbitrary commutative rings while preserving completeness?
  • RQ2How can the ZX-calculus be adapted to work over commutative semirings, where inverses and negatives do not exist?
  • RQ3Can a normal form based on elementary matrix operations be constructed and used to prove completeness in these generalized settings?
  • RQ4What are the minimal generators and rewriting rules required to ensure universality and soundness over rings and semirings?
  • RQ5What new applications emerge from extending ZX-calculus to algebraic structures like the integers or natural numbers?

Key findings

  • The generalized ZX-calculus over an arbitrary commutative ring R is complete for matrices over R, using a normal form based on row operations.
  • The same completeness result holds for arbitrary commutative semirings S, despite the absence of additive inverses.
  • The normal form for matrices over S uses pink nodes to represent row additions and scalar multiplication, with exactly 2^m - 1 such operations for m qubits.
  • Any matrix in 2^m × 2^n over R or S can be represented as a ZX diagram, proving universality of the calculus.
  • The framework enables the representation of elementary matrices in ZX form, supporting linear algebra over general rings.
  • The proof of completeness relies on rewriting tensor products of normal forms, self-plugging, and generator conversion—all adapted for semiring constraints.

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.