3-Qubit Syndrome Tester: Manual Bit-Flip Injection
Explore how bit-flip errors are detected and corrected in a 3-qubit repetition code using deterministic manual error injection.
Real quantum hardware is never tested by directly reading out a qubit mid-computation — that measurement would destroy the very superposition being protected. Instead, engineers test and verify quantum memories with syndrome measurement: ancilla parity checks that reveal where an error happened without revealing (or collapsing) what the logical state actually is. This simulator lets you inject bit-flip errors on any of three physical qubits by hand, run the two real stabilizer measurements Z₁Z₂ and Z₂Z₃, and watch the standard majority-vote decoder recover the logical state. Flip one qubit and correction always succeeds. Flip two, and you can watch the code fail exactly the way it does on real hardware — a genuine limitation shown honestly, not hidden.
Explore bit-flip errors on three qubits by hand or via a random channel, revealing syndromes s1 and s2 to correct errors without collapsing the state; watch the empirical failure rate compare against theory in real-time charts.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install