Surface Code QEC

Toric/surface code: physical qubits on edges, stabilizer measurements on plaquettes (Z) and vertices (X). Syndromes reveal errors without measuring qubit state.
Qubit (good)
X error (bit flip)
Z error (phase)
Y error (both)
Syndrome (Z stab)
Syndrome (X stab)
Correction