Fault Tolerance
Stabilizer Measurement (Surface-Code Check): quick reference
Measures the X-type stabilizer of four data qubits with one ancilla, exactly as a surface-code plaquette does, to catch phase-flip errors.
- Topic
- Fault Tolerance
- Level
- Advanced
- Circuit size
- 5 Qubits
- Key result
- The repeating unit of the surface code
Concepts covered: Stabilizer Measurement, Surface Code, Syndrome Extraction, Phase-Flip Detection
How Stabilizer Measurement (Surface-Code Check) works, step by step
- Prepare the Data Qubits. Put the four data qubits (Q0 to Q3) in plus states. This group gives a definite "healthy" answer to the check.
- A Phase-Flip Error Occurs. Noise applies a phase flip to Q1, turning its plus state into minus.
- Prepare the Ancilla. A Hadamard puts the helper (Q4) into superposition.
- Couple to the Four Neighbours. Four CNOTs from the helper to each data qubit. The group's answer (+1 or −1) is kicked back onto the helper.
- Interfere the Ancilla. A second Hadamard converts the sign into a bit.
- Read the Syndrome. The helper reads 1: an error is present in this square.
Frequently asked questions
What is Stabilizer Measurement (Surface-Code Check)?
Measures the X-type stabilizer of four data qubits with one ancilla, exactly as a surface-code plaquette does, to catch phase-flip errors. It is a advanced-level topic in fault tolerance.
How many qubits does the Stabilizer Measurement circuit use?
The QuanBit tutorial uses a 5 qubits circuit. Key result: The repeating unit of the surface code.
Can I simulate Stabilizer Measurement online for free?
Yes. The interactive Stabilizer Measurement tutorial at https://www.quanbit.tech/learn/stabilizer-measurement runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.