Aleks Kissinger
Topos Colloquium, 2025
Quantum computers encode data in quantum systems,
which enables us to do computations in totally new ways.
the code that runs on a quantum computer
INIT 5 CNOT 1 0 H 2 Z 3 H 0 H 1 CNOT 4 2 ... |
↔ |
code that makes that code (better)
![]() |
![]() |
![]() |
Optimisation | Simulation & Verification | Error Correction |
A complete set of equations for qubit QC
ZX-diagrams are made of spiders:
Spiders can be used to construct basic pieces of a computation, namely...
...which evolve a quantum state, i.e. "do" the computation:
...which collapse the quantum state to a fixed one,
depending on the outcome $k \in \{0,1\}$:
A simple classical error model assumes at each time step, a bit might get flipped with some fixed (small) probability $p$.
Generalises to qubits, accounting for the fact that
"flips" can be on different axes:
Spiders of the same colour fuse together and their phases add:
$\implies$ errors will flip the outcomes of measurements of the same colour:
We can try to detect errors with measurements,
but single-qubit measurements have a problem...
...they collapse the state!
$n$-qubit basis vectors are labelled by bitstrings
$k=0$ projects onto "even" parity and $k=1$ onto "odd" parity
...the same, but w.r.t. a different basis
The Steane code requires 7 physical qubits, but it allows
correction of any single-qubit X, Y, or Z error
ZX normal forms give canonical forms for encoders, enable convenient expressions of equiv. classes of codes and machine search.
Clifford ZX-calculus enables computing the
graph code of a concatenated graph code:
Q: Is the LHS really equivalent to the RHS?
A: It depends on what "equivalent" means.
They both give the same linear map, i.e. the behave the same in the absence of errors.
But they behave differently in the presence of errors, e.g.
Definition:
Two circuits (or ZX-diagrams) $C, D$ are called fault-equivalent, written:
$C \hat{=} D$
if for any undetectable fault $f$ of weight $w$ on $C$, there exists an undetectable fault $f'$ of weight $\leq w$ on $D$ such that $C[f] = D[f']$ (and vice-versa).
Idea: start with an idealised computation (i.e. specification) and refine it with fault-equivalent rewrites until it is implementable on hardware.
Shor-style syndrome extraction
a new variation on Shor
A lot has happened in the past few years, see:
zxcalculus.com/publications.html?q=error%20correcting%20codesSome highlights...
a ZX-based paradigm for fault-tolerance well-suited to photonic qubits
Fault-equivalent rewrites from stabiliser codes to Floquet codes
![]() |
![]() |
![]() |
Quopit stabiliser codes with graphical symplectic algebra | XYZ ruby codes with 3-color ZX variation |
Genon codes |
arXiv:2304.10584 | arXiv:2407.08566 | arXiv:2406.09951 |