Inject a bit flip, then step the timeline through syndrome, decode, and correct. Click a qubit or gate to read it.
The 3-qubit bit-flip code: one logical qubit is spread across three physical qubits, a bit-flip error is injected on any line, and two ancilla qubits extract a syndrome that names the culprit — without ever measuring the data. A majority-vote correction restores the logical state and the fidelity returns to one.
Causal signal trace paused
Prepare One logical qubit enters the encoder.
Step 1 / 6 Prepare |ψ⟩
Notebook: 6 parts and 13 wires, modelled as stabilizer parity + syndrome decoder
Recommended lab 8 of 18
Infer a single-qubit bit flip from syndrome parity without reading the logical state.
Builds on: Bell-State Entanglement Visualizer
Predict, then test
What information do the two syndrome measurements reveal?
Commit before the explanation appears. This is a prediction, not a quiz score.
Governing model
Parts
- logical qubit physical
- injectable error
- ancilla syndrome bits
- majority-vote decoder
Limits of the model
- corrects any single bit-flip
- syndrome
- logical fidelity
Diagnosis challenge The fault is hidden. Work it out from the changed outputs first.