HomeQuantum ComputingSurface Code: Syndrome Extraction & Threshold

Surface Code: Syndrome Extraction & Threshold

Interactive surface-code lattice: inject bit-flip errors, extract the stabilizer syndrome, watch a matching decoder correct it, and scan the logical error rate vs physical error rate to find the code threshold.

Quantum Computing3DAdvanced60 FPS
physics-ext-topic-25 ↗ Open standalone

A minimal surface-code lattice you can break and repair by hand: pick a code distance, set a physical error rate, inject random bit-flips, extract the stabilizer syndrome, and watch a matching decoder draw correction chains between the triggered checks. Run single rounds to see exactly how one error pattern is diagnosed and fixed, or run the threshold scan to compare logical failure rates across code distances and see the crossover that defines the code's threshold.

⚙ Under the hood

Interactive surface-code lattice: inject bit-flip errors on a d×d grid of data qubits, extract the stabilizer syndrome, watch a matching decoder draw correction chains between triggered checks, and run a threshold scan comparing logical failure rate vs physical error rate across code distances.

quantum error correctionsurface codestabilizersyndrome extractiondecoderthresholdfault toleranceThree.js

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)