Toric Code — Kitaev's Topological Quantum Error Correction

Qubits on edges of a torus lattice. X/Z stabilizers detect errors. Syndrome measurement drives correction.

Qubit (healthy)
X error
Z error
Y error (X+Z)
Violated stabilizer
Syndromes: 0
Step: 0