Skip to content

Subsystem ​

Subsystem codes from gauge generators

4/4 passed in 1257ms

TestWhat it doesResult
test_bad_memory_rejectedbacon_shor_code passes memory through, so an unknown basis raises.✅ pass
test_centred=3 Bacon-Shor: 12 independent gauges whose centre is 4 stabilisers, each the product of 3 weight-2 gauges, leaving k=1 with a weight-3 pure-Z logical. An abelian gauge group is its own centre.✅ pass
test_memories_protectBacon-Shor d=3 and its S-deformed YY/ZZ variant (mixed-Pauli extraction) decode below the always-zero predictor, and d=5 beats d=3 under BP+OSD.✅ pass
test_structureEvery gauge is extracted by a weight-2 measurement, never the weight-6 stabiliser; the 4 stabilisers declare one detector per round and the final data readout closes the 2 in the memory basis.✅ pass