3-Qubit Bit-Flip Code — Quantum Error Correction
Interactive 3D simulation of the quantum bit-flip repetition code: watch a logical qubit encoded across three physical qubits survive independent bit-flip noise via syndrome measurement and majority-vote correction, with live empirical vs. theoretical logical error rates.
Quantum information is fragile: a single stray bit-flip destroys a logical qubit stored on bare hardware. The 3-qubit bit-flip code is the simplest quantum error-correcting code that fixes this, spreading one logical qubit across three physical qubits so that a single physical error can be detected and reversed without ever measuring — and collapsing — the encoded information. This simulation renders three physical qubits in 3D, applies an independent bit-flip channel to each one every round, extracts the two stabilizer syndromes non-destructively, and applies the standard majority-vote correction live. A running history strip and empirical-vs-theoretical error-rate readout show exactly when the code succeeds and when it is overwhelmed — the same trade-off that governs surface codes and other fault-tolerant architectures in real quantum engineering.
Watch a logical qubit encoded across three physical qubits survive independent bit-flip noise: apply the noise channel, extract non-destructive syndrome measurements, and see majority-vote correction fix single-qubit errors live, with empirical vs. theoretical logical error rates tracked over many rounds.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install