The Bacon-Shor [[9,1,3]] code is a subsystem code on a 3×3 qubit grid. Unlike stabilizer codes, it uses gauge operators — the logical qubit is encoded in the gauge-invariant subspace, simplifying syndrome measurement while correcting any single-qubit error.
Click a qubit on the grid to inject an error