Surface Code

A topological quantum error-correcting code that protects logical qubits by measuring local parity checks on a two-dimensional lattice of physical qubits.

What can one changing parity check tell you?

A surface code repeatedly measures local checks on a two-dimensional array. The short history below isolates one check so you can see what the decoder actually receives.

The recorded sign

Each round produces a check value. A change between successive rounds flags an inconsistency that merits interpretation.

The inferred explanation

A decoder combines check histories across space and time. Different physical errors can be consistent with the same small part of the record.

One check across three rounds
  1. Round 1 reads +1.
  2. Round 2 reads −1. Its sign differs from round 1.
  3. Round 3 reads +1. Its sign differs from round 2.

The two sign changes are observations. A transient readout error could produce this history. Neighboring checks and other rounds help a decoder evaluate that possibility. These three signs alone do not identify the cause.

What does a successful check protect?

The code uses patterns of joint measurements to protect logical information. A check record does not disclose the stored logical state. An experiment evaluates protection by how often logical information is recovered over many complete trials.

What To Keep In Mind

The surface code is important, but it is not the only path forward. qLDPC, bosonic, and hybrid codes are becoming more credible as teams look for lower overhead. Even so, the surface code remains a crucial benchmark because it gives the field a shared standard for comparing decoders, thresholds, and hardware readiness. It is still the baseline many “stronger than before” QEC claims need to beat or at least match.

Follow the idea

Logical Qubit · Identify the encoded information that the checks help protect.

Anomaly Detection · Compare an unexpected observation with a diagnosis of its cause.

Examples in the AI guides

Related Yenra articles (3)

Source · Google Quantum AI on surface-code checks and logical errors

Return to Surface Code in the A–Z glossary