ZXcalculus
ZX-calculus is a graphical language for reasoning about quantum computation and information, using diagrams to represent linear maps between qubits. Diagrams are built from two kinds of nodes, called Z-spiders and X-spiders, each labeled by an angle (a phase). Wires carry quantum systems; composition is sequential or parallel; the Hadamard gate is used to switch between the Z and X bases.
Z-spiders are usually drawn green and X-spiders red; a spider can have multiple legs and a phase
Rewrite rules encode the algebraic properties used to manipulate diagrams. The spider fusion rule merges two
Semantically, each diagram denotes a linear map between finite-dimensional Hilbert spaces; the rules are sound, meaning
History and tools: introduced by Coecke and Duncan in the late 2000s, the calculus has become a