Skip to main content
KetQat

Appearance

Topic · intermediate

Surface Codes

The planar and rotated surface codes as they are used in practice. Covers their parameters, the circuits that measure their checks, circuit-level thresholds with the assumptions behind each number, logical qubits made from defects and twists, and dated experimental results.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

A surface code is a topological code on a flat patch of qubits. Every check involves at most four neighbouring qubits of a square grid, one patch stores one logical qubit, and the protection grows with the side length of the patch. These properties match hardware in which qubits interact only with their neighbours on a chip, and they come with a threshold near one percent for realistic circuit noise. For these reasons the surface code is the reference point against which other approaches to fault tolerance are measured.

The planar code was introduced by Bravyi and Kitaev and analysed as a memory by Dennis, Kitaev, Landahl and Preskill; the review by Fowler, Mariantoni, Martinis and Cleland set out its use for computation. This page covers the two standard layouts, syndrome extraction, thresholds and experiments. The general theory is under topological codes, decoding under quantum decoders and logical gates under lattice surgery.

Intuition

Lay out d×dd \times d data qubits and colour the squares between them like a chessboard. Each dark square measures the product of ZZ on its four corners; each light square measures the product of XX. A chain of bit flips is seen only at its ends, where the number of flips around a dark square is odd. A chain that runs all the way from one side of the patch to the opposite side has no ends inside the patch and is invisible: it is a logical operator. The patch is cut so that only bit-flip chains joining the left and right sides, and only phase-flip chains joining the top and bottom, escape detection. Such a chain has at least dd qubits, so about d/2d/2 errors in a line are needed before the decoder is more likely to complete the chain than to undo it.

The lesson The surface code develops this picture from the repetition code.

Prerequisites

Stabilizer codes and CSS codes; the toric code and the two boundary types described under topological codes; the circuit model with noisy gates and measurements.

Mathematical Definitions

Quantum codePlanar surface codeEstablished definition

Lattice. Fix d≥2d \ge 2. Take a square lattice with vertices (i,j)(i, j) for 1≤i≤d−11 \le i \le d-1 and 1≤j≤d1 \le j \le d. Each row jj carries dd horizontal edges, joining horizontal positions i−1i-1 and ii for 1≤i≤d1 \le i \le d; the leftmost and rightmost edges of a row have a vertex at one end only. Vertical edges join (i,j)(i,j) to (i,j+1)(i, j+1) for 1≤j≤d−11 \le j \le d-1. One qubit sits on each edge:

n=d2+(d−1)2.n = d^2 + (d-1)^2 .

The left and right sides, where edges stick out, are rough boundaries; the top and bottom rows are smooth boundaries.

Checks. Each of the d(d−1)d(d-1) vertices carries Av=∏e∋vXeA_v = \prod_{e \ni v} X_e, of weight 4, or weight 3 in the top and bottom rows. Each of the d(d−1)d(d-1) square or open-sided faces carries Bf=∏e∈∂fZeB_f = \prod_{e \in \partial f} Z_e, of weight 4, or weight 3 for the faces at the left and right ends, which lack one vertical side. The 2d(d−1)=n−12d(d-1) = n - 1 checks are independent.

Parameters. [[ d2+(d−1)2,  1,  d ]][[\,d^2 + (d-1)^2,\; 1,\; d\,]].

Logical operators. Zˉ\bar Z is the product of ZZ on the dd horizontal edges of any one row: a string joining the two rough boundaries. Xˉ\bar X is the product of XX on the dd horizontal edges at a fixed horizontal position, one in each row: a string on the dual lattice joining the two smooth boundaries. They share exactly one edge and anticommute. A ZZ string may end on a rough boundary and an XX string on a smooth boundary without violating a check, which is why open strings between like boundaries are logical operators.

Properties. CSS; all checks are local on a planar square grid. With one ancilla per check the layout uses n+(n−1)=(2d−1)2n + (n-1) = (2d-1)^2 qubits. The code is due to Bravyi and Kitaev and, independently, Freedman and Meyer; its performance as a memory is the subject of Dennis, Kitaev, Landahl and Preskill. The rotated surface code achieves the same distance with about half as many qubits.

Quantum codeRotated surface codeEstablished definition

Lattice. Fix an odd integer d≥3d \ge 3. Data qubits sit on the sites (i,j)(i, j), 0≤i,j≤d−10 \le i, j \le d-1, of a square grid, with ii the row and jj the column: n=d2n = d^2.

Bulk checks. For 0≤a,b≤d−20 \le a, b \le d-2 the plaquette (a,b)(a, b) consists of the four qubits (a,b)(a,b), (a,b+1)(a,b+1), (a+1,b)(a+1,b), (a+1,b+1)(a+1,b+1). It carries the product of XX on its qubits if a+ba + b is even and the product of ZZ if a+ba + b is odd.

Boundary checks. Extend the checkerboard one step beyond the grid and keep the half-plaquettes that follow the same colouring, XX-type on the top and bottom and ZZ-type on the left and right:

  • top: X(0,b)X(0,b+1)X_{(0,b)} X_{(0,b+1)} for odd bb; bottom: X(d−1,b)X(d−1,b+1)X_{(d-1,b)} X_{(d-1,b+1)} for even bb;
  • left: Z(a,0)Z(a+1,0)Z_{(a,0)} Z_{(a+1,0)} for even aa; right: Z(a,d−1)Z(a+1,d−1)Z_{(a,d-1)} Z_{(a+1,d-1)} for odd aa;

with 0≤a,b≤d−20 \le a, b \le d-2. There are (d−1)2(d-1)^2 bulk checks and 2(d−1)2(d-1) boundary checks, d2−1d^2 - 1 in all, half of each type. Two checks of different type share zero or two qubits, so all commute.

Parameters. [[ d2,  1,  d ]][[\,d^2,\; 1,\; d\,]], proved in the parameter theorem.

Logical operators. Zˉ=∏jZ(i,j)\bar Z = \prod_{j} Z_{(i,j)} along any row ii and Xˉ=∏iX(i,j)\bar X = \prod_{i} X_{(i,j)} along any column jj. Any row and any column share one qubit.

Properties. CSS, with every check of weight 4 or 2 and every data qubit in at most two checks of each type. With one measurement ancilla per check the layout uses 2d2−12d^2 - 1 qubits on a square grid with nearest-neighbour couplings: 17 for d=3d = 3, 49 for d=5d = 5, 97 for d=7d = 7. For even dd the same construction works with the boundary checks shifted by one position. Which pair of opposite sides carries the XX-type boundary checks is a convention; exchanging it exchanges the roles of rows and columns.

The layout appears in the comparison of lattices by Bombin and Martin-Delgado, who found that a planar surface code can reach n=d2n = d^2, and it is used for planar patches by Horsman, Fowler, Devitt and Van Meter and analysed at small distance by Tomita and Svore. Compared with the planar surface code, which has d2+(d−1)2d^2 + (d-1)^2 data qubits, it roughly halves the qubit count at the same distance.

DefinitionError-suppression factor ΛPeer-reviewed result

Let εd\varepsilon_d be the logical error probability per error-correction cycle of a memory experiment with a code of distance dd, for a fixed device or noise model, circuit and decoder. The error-suppression factor is

Λd/(d+2)  =  εdεd+2.\Lambda_{d/(d+2)} \;=\; \frac{\varepsilon_d}{\varepsilon_{d+2}} .

When the ratio is approximately independent of dd it is written Λ\Lambda, and εd∝Λ−(d+1)/2\varepsilon_d \propto \Lambda^{-(d+1)/2}. Operation below threshold corresponds to Λ>1\Lambda > 1. If the scaling ansatz holds, Λ=pth/p\Lambda = p_{\mathrm{th}} / p.

Λ\Lambda is a measured or simulated quantity and inherits every condition of the experiment: the basis and number of cycles of the memory experiment, the way εd\varepsilon_d is extracted from the decay of logical fidelity, and the decoder. It is the figure of merit reported in the surface-code experiments of Google Quantum AI.

Theorems

TheoremParameters of the rotated surface codeEstablished result

For every odd d≥3d \ge 3 the rotated surface code is a stabilizer code with parameters

[[ n,k,d ]]=[[ d2,  1,  d ]].[[\,n, k, d\,]] = [[\,d^2,\; 1,\; d\,]] .

Its d2−1d^2 - 1 checks are independent. The product of ZZ along any row and the product of XX along any column are logical operators of weight dd, any two rows (or two columns) differ by a product of checks, and no Pauli operator of weight less than dd acts non-trivially on the code space.

That a planar surface code can reach n=d2n = d^2 is due to Bombin and Martin-Delgado.

Holds when
  • Odd d≥3d \ge 3 and the checks of the rotated surface code record, with XX-type weight-two checks on the top and bottom sides and ZZ-type on the left and right.
  • The distance is the minimum weight of a Pauli operator that commutes with every check and is not, up to a phase, a product of checks.
Proof · Proof of the rotated surface code parameters

Use the coordinates of the code record. It is convenient to index every check, bulk or boundary, by a plaquette position (a,b)(a, b) with −1≤a,b≤d−1-1 \le a, b \le d-1, whose qubits are those of (a,b),(a,b+1),(a+1,b),(a+1,b+1)(a,b), (a,b+1), (a+1,b), (a+1,b+1) that lie in the grid. The XX-type checks are the positions with a+ba + b even and 0≤b≤d−20 \le b \le d-2; the ZZ-type checks are the positions with a+ba + b odd and 0≤a≤d−20 \le a \le d-2. For odd dd this reproduces the lists in the record.

Commutation. Two plaquette positions that share an edge have a+ba + b of opposite parity and share two qubits or none inside the grid; positions that share only a corner have the same parity, hence the same type. So checks of different type overlap on an even number of qubits.

Independence. Every qubit lies in at most two XX-type checks, namely those at diagonally opposite plaquette positions around it. A product of a set SS of XX-type checks is the identity exactly when every qubit lies in an even number of members of SS. So if two XX-type checks share a qubit, both are in SS or neither is, and a check containing a qubit that lies in no other XX-type check is not in SS.

The XX-type positions are connected under diagonal steps: from (a,b)(a,b) with a+ba + b even one reaches (0,0)(0,0) by steps (±1,±1)(\pm 1, \pm 1) that stay among the XX-type positions, since the bulk positions of one colour of a square board of side d−1≥2d - 1 \ge 2 are connected by such steps, and each boundary position (−1,b)(-1, b) or (d−1,b)(d-1, b) is diagonally adjacent to a bulk position. Diagonally adjacent positions share exactly one qubit. Hence SS contains all XX-type checks or none. The corner qubit (0,0)(0,0) lies in the plaquette (0,0)(0,0) and in no other XX-type check, because the positions (−1,−1)(-1,-1) and (−1,0)(-1, 0), (0,−1)(0,-1) are not XX-type checks. So the plaquette (0,0)(0,0) is not in SS and SS is empty: the (d2−1)/2(d^2-1)/2 checks of XX type are independent. The ZZ-type checks are independent by the same argument with the corner qubit (0,d−1)(0, d-1), which lies only in the plaquette (0,d−2)(0, d-2). An XX-type product equals a ZZ-type product only if both are the identity, so the stabilizer group has rank d2−1d^2 - 1 and k=1k = 1.

Logical operators. Let Ri=∏jZ(i,j)R_i = \prod_j Z_{(i,j)} and Cj=∏iX(i,j)C_j = \prod_i X_{(i,j)}. An XX-type check at position (a,b)(a, b) meets row ii in the two qubits (i,b),(i,b+1)(i,b), (i,b+1) if i∈{a,a+1}i \in \{a, a+1\} and in none otherwise, so RiR_i commutes with all checks; similarly a ZZ-type check meets a column in two qubits or none, so CjC_j commutes with all checks. RiR_i and CjC_j share the single qubit (i,j)(i,j) and anticommute. Two operators that commute with the stabilizer group and anticommute with each other cannot lie in it, so Zˉ=Ri\bar Z = R_i and Xˉ=Cj\bar X = C_j are a pair of logical operators of the single encoded qubit.

All columns are equivalent. Fix 0≤j≤d−20 \le j \le d-2 and multiply the XX-type checks at positions (a,j)(a, j), a≡j(mod2)a \equiv j \pmod 2, −1≤a≤d−1-1 \le a \le d-1. Each acts with XX on columns jj and j+1j+1 in rows aa and a+1a+1 (those inside the grid). For even jj the rows covered are {0,1},{2,3},…,{d−3,d−2},{d−1}\{0,1\}, \{2,3\}, \dots, \{d-3,d-2\}, \{d-1\}; for odd jj they are {0},{1,2},…,{d−2,d−1}\{0\}, \{1,2\}, \dots, \{d-2,d-1\}. In both cases every row is covered once, so the product is CjCj+1C_j C_{j+1}. Hence all CjC_j differ by stabilizers. The same argument with the ZZ-type checks at positions (i,b)(i, b), b≢i(mod2)b \not\equiv i \pmod 2, shows that all RiR_i differ by stabilizers.

Distance. Since k=1k = 1, every Pauli operator commuting with all checks equals, up to a phase, s XˉaZˉbs\, \bar X^{a} \bar Z^{b} with ss in the stabilizer group. Let QQ be a product of ZZ operators on a set cc of qubits that commutes with all checks and is not a product of checks. QQ commutes with Zˉ\bar Z, so a=0a = 0, and then b=1b = 1. Thus QQ anticommutes with Xˉ=C0\bar X = C_0 and with every CjC_j, since these differ from C0C_0 by stabilizers. Anticommuting with CjC_j means that cc contains an odd number of qubits of column jj. The dd columns are disjoint, so ∣c∣≥d\abs{c} \ge d. Exchanging the roles of rows and columns, every non-trivial XX-type logical operator has weight at least dd.

A general Pauli operator is, up to a phase, a product X(u)Z(w)X(u) Z(w). In a CSS code it commutes with all checks exactly when both factors do, and if it is not in the stabilizer group at least one factor is not; that factor has weight at least dd. Since R0R_0 has weight dd, the distance is exactly dd.

EquationLogical error scaling ansatz below threshold (heuristic fit)Peer-reviewed result
pL(d)  ≈  A(ppth)(d+1)/2p_L(d) \;\approx\; A \left( \frac{p}{p_{\mathrm{th}}} \right)^{(d+1)/2}

The exponent has a simple origin. A code of odd distance dd decoded by a minimum-weight rule corrects every error of weight at most (d−1)/2(d-1)/2, so it can fail only when at least (d+1)/2(d+1)/2 positions are in error; the lowest-order failures are (d+1)/2(d+1)/2 errors on the dd positions of some minimum-weight logical operator, so to lowest order the failure probability is proportional to p(d+1)/2p^{(d+1)/2}. The ansatz packages the remaining combinatorial factor and the higher-order terms into the two constants. It is used to fit Monte Carlo data, for example by Fowler, Mariantoni, Martinis and Cleland, to analyse experiments (Google Quantum AI), and to choose a distance in resource estimates.

It is not a theorem. What is proved, for suitable noise models and decoders, is the existence of a threshold below which the logical error rate falls exponentially in dd (Dennis, Kitaev, Landahl and Preskill); the specific form, the meaning of pthp_{\mathrm{th}} as the crossing point of finite-size curves and the constancy of AA are empirical. Under the ansatz the ratio of logical error rates at successive odd distances is the error-suppression factor Λ=pth/p\Lambda = p_{\mathrm{th}} / p. The lesson Logical error rates and thresholds shows how to fit and how to report the uncertainty.

Holds when
  • This is a fitting model. AA and pthp_{\mathrm{th}} are fit parameters that depend on the code family, the noise model, the syndrome-extraction circuit, the decoder and the unit in which pLp_L is quoted.
  • Odd distance dd, physical error rate pp well below pthp_{\mathrm{th}}, and errors that are independent enough for the lowest-order failure mechanism to dominate.
  • It is not accurate close to threshold or at distances so small that boundary effects dominate, and it fails when correlated errors or leakage set a floor.

Circuit-level thresholds

Under circuit-level noise every operation of the syndrome-extraction circuit can fail, and the threshold depends on the details. The published values below are not interchangeable; each row states what was assumed.

Source Noise model Decoder Threshold
Raussendorf and Harrington preparation, gate, storage and measurement errors, each at rate pp minimum-weight matching 0.75%0.75\%
Wang, Fowler and Hollenberg several circuit-level models with nearest-neighbour gates minimum-weight matching 1.1%1.1\% to 1.4%1.4\%, depending on the model
Stephens varied: noise model, measurement circuit and decoding algorithm are compared varied 0.502(1)%0.502(1)\% to 1.140(1)%1.140(1)\% per gate
Gidney, Newman, Fowler and Broughton rotated code compiled to controlled-NOT gates, several circuit-level models correlated minimum-weight matching 0.5%0.5\% to 0.7%0.7\%

For comparison, with perfect measurements and independent bit flips the optimal threshold is 10.9%10.9\% (result). The factor of ten between the two regimes comes from the number of fault locations per check and from measurement errors, not from a change of code.

Worked Examples

The distance-3 rotated code

Number the nine data qubits q=3i+jq = 3i + j, so the rows are {0,1,2}\{0,1,2\}, {3,4,5}\{3,4,5\}, {6,7,8}\{6,7,8\}. The rotated code has the eight checks

X0X1X3X4,X4X5X7X8,X1X2,X6X7,Z1Z2Z4Z5,Z3Z4Z6Z7,Z0Z3,Z5Z8,\begin{aligned} &X_0X_1X_3X_4, \quad X_4X_5X_7X_8, \quad X_1X_2, \quad X_6X_7, \\ &Z_1Z_2Z_4Z_5, \quad Z_3Z_4Z_6Z_7, \quad Z_0Z_3, \quad Z_5Z_8 , \end{aligned}

and logical operators Zˉ=Z0Z1Z2\bar Z = Z_0Z_1Z_2, Xˉ=X0X3X6\bar X = X_0X_3X_6. Every XX check shares zero or two qubits with every ZZ check; for example X0X1X3X4X_0X_1X_3X_4 meets Z1Z2Z4Z5Z_1Z_2Z_4Z_5 in {1,4}\{1,4\} and Z0Z3Z_0Z_3 in {0,3}\{0,3\}. Zˉ\bar Z meets X0X1X3X4X_0X_1X_3X_4 in {0,1}\{0,1\} and X1X2X_1X_2 in {1,2}\{1,2\}, and Xˉ\bar X meets Zˉ\bar Z in the single qubit 0. Counting: 9−8=19 - 8 = 1 logical qubit.

A bit flip X4X_4 in the centre flips both weight-four ZZ checks. A bit flip X0X_0 flips only Z0Z3Z_0Z_3: an error next to a boundary produces a single flipped check. Now let two bit flips occur, X0X3X_0X_3. The check Z0Z3Z_0Z_3 is flipped twice and Z3Z4Z6Z7Z_3Z_4Z_6Z_7 once, so the syndrome is the same as that of the single error X6X_6. A minimum-weight decoder applies X6X_6, and the result is X0X3X6=XˉX_0X_3X_6 = \bar X. Distance 3 corrects one error and not two.

Choosing a distance with the ansatz

Take illustrative values A=0.1A = 0.1, pth=10−2p_{\mathrm{th}} = 10^{-2} and p=10−3p = 10^{-3} in the scaling ansatz, and ask for pL≤10−12p_L \le 10^{-12} per round. The condition 0.1×10−(d+1)/2≤10−120.1 \times 10^{-(d+1)/2} \le 10^{-12} gives (d+1)/2≥11(d+1)/2 \ge 11, so d=21d = 21. A rotated patch then has 212=44121^2 = 441 data qubits and 440440 ancillas, 881881 in total. Halving the physical error rate to p=5×10−4p = 5 \times 10^{-4} changes the condition to (d+1)/2≥11/log⁡1020≈8.46(d+1)/2 \ge 11 / \log_{10} 20 \approx 8.46, so d=17d = 17 and 2⋅172−1=5772 \cdot 17^2 - 1 = 577 qubits. A factor of two in pp saved about a third of the qubits, because the distance enters the qubit count quadratically and the error rate only logarithmically.

Extrapolating a measured suppression factor

Google Quantum AI report ε7=1.43×10−3\varepsilon_7 = 1.43 \times 10^{-3} per cycle and Λ=2.14\Lambda = 2.14. If Λ\Lambda stayed constant, reaching εd≤10−6\varepsilon_d \le 10^{-6} would need

Λ(d−7)/2≥1430  ⟹  d−72≥ln⁡1430ln⁡2.14≈7.270.761≈9.55,\Lambda^{(d-7)/2} \ge 1430 \;\Longrightarrow\; \frac{d-7}{2} \ge \frac{\ln 1430}{\ln 2.14} \approx \frac{7.27}{0.761} \approx 9.55 ,

so d=27d = 27 and 2⋅272−1=14572 \cdot 27^2 - 1 = 1457 physical qubits. The calculation is an extrapolation over ten further steps of distance; the assumption of a constant Λ\Lambda has only been tested over the measured range.

Algorithms and Implementations

Measuring a check

Each check has its own ancilla qubit. For a ZZ-type plaquette the ancilla is prepared in ∣0⟩\ket{0}, is the target of a controlled-NOT from each of the four data qubits and is measured in the computational basis; the outcome is the parity of the four data qubits. For an XX-type plaquette the ancilla is prepared in ∣+⟩\ket{+}, is the control of four controlled-NOT gates and is measured in the XX basis.

Quantum circuit on 5 wires (a, d1, d2, d3, d4). step 1: H on a. step 2: CNOT, control a, target d1. step 3: CNOT, control a, target d2. step 4: CNOT, control a, target d3. step 5: CNOT, control a, target d4. step 6: H on a. step 7: measure a.ad1d2d3d4HH
Measuring an X-type plaquette with ancilla a and data qubits d1 to d4

All checks of the patch are measured in parallel, in four layers of two-qubit gates between a layer of preparation and a layer of measurement. Two requirements fix the order in which each ancilla visits its data qubits. First, neighbouring XX and ZZ plaquettes share two data qubits, and the interleaved circuits measure the intended commuting operators only if the two ancillas visit those shared qubits in a consistent order. Second, a single fault on an ancilla half-way through its circuit spreads to two data qubits, a hook error. The order is chosen so that the two qubits hit by a hook lie across the direction of the logical operator of that type and not along it; otherwise ⌈d/2⌉\lceil d/2 \rceil faults, instead of dd, could produce a weight-dd chain and the effective distance of the circuit would be halved (Tomita and Svore). The lesson Syndrome extraction with Stim computes this effect for both orders.

Because measurements are themselves faulty, a single round is not trusted. The decoder works with detection events, the changes of each check outcome from one round to the next, over about dd rounds, so that the decoding problem lives in space and time. Circuits of this kind are generated and sampled with Stim.

Logical qubits from defects and twists

A patch with four boundaries is one way to store a qubit. Two others are worth knowing.

  • Holes. Switching off the checks in a region creates an internal boundary, smooth or rough. A pair of holes of the same type stores a qubit: one logical operator encircles a hole and the other joins the pair. Moving a hole of one type around a hole of the other type by changing which checks are measured implements a logical controlled-NOT. This is the basis of the scheme of Raussendorf and Harrington, described at length by Fowler and co-authors.
  • Twists. A lattice defect line across which the two types of excitation are exchanged ends at points called twists, which behave under braiding and fusion like Ising anyons (Bombin). The corners of a planar patch, where a rough and a smooth boundary meet, can be identified with twists, and moving corners gives single-qubit Clifford gates (Brown, Laubscher, Kesselring and Wootton).

In current resource estimates logical operations are mostly done by lattice surgery on patches (Horsman, Fowler, Devitt and Van Meter).

Limitations and Common Pitfalls

  • Quoting a threshold without its model. The values in the table differ by more than a factor of two for the same code. A threshold is meaningful only with its noise model, circuit and decoder.
  • Reading the ansatz as a law. The scaling formula is a fit. Leakage out of the qubit subspace, crosstalk and rare correlated events, such as the high-energy impacts reported in repetition-code experiments (Google Quantum AI), are outside it and can set a floor.
  • Assuming the measurement order is a detail. A poor order of the four gates halves the effective distance without changing the code.
  • Counting only data qubits. A rotated patch needs 2d2−12d^2 - 1 qubits, and computation needs additional space for routing and for magic-state distillation.
  • Expecting a transversal universal gate set. Being a CSS code, the surface code has a transversal controlled-NOT between two patches, but no non-Clifford gate can be implemented by a constant-depth circuit on a two-dimensional code of this kind; see topological codes.
  • Rate. One patch stores one qubit, so the rate 1/d21/d^2 vanishes as the distance grows. Quantum LDPC codes trade locality for rate.

State of the Art

The statements below summarise individual publications and are current as of 2026-11 only in the sense that these are the sources this page has checked; it is not a complete survey.

  • 2022, distance 3. Repeated error-correction cycles on a 17-qubit distance-3 surface code were reported on superconducting processors by Krinner and co-authors, with a logical error probability of about 3%3\% per cycle when runs with detected leakage are rejected, and by Zhao and co-authors.
  • 2023, distance 5 against distance 3. Google Quantum AI measured a logical error per cycle of 2.914%±0.016%2.914\% \pm 0.016\% at distance 5 against 3.028%±0.023%3.028\% \pm 0.023\% averaged over distance-3 codes on the same device: a larger code performing slightly better.
  • 2023 to 2024, neutral atoms. Bluvstein and co-authors operated a reconfigurable atom array with up to 280 physical qubits and showed that a logical two-qubit gate improves as the surface-code distance is increased from 3 to 7.
  • 2024 to 2025, below threshold. Google Quantum AI reported a distance-7 memory on 101 qubits with 0.143%±0.003%0.143\% \pm 0.003\% error per cycle and Λ=2.14±0.02\Lambda = 2.14 \pm 0.02, a logical lifetime exceeding that of the best physical qubit by a factor 2.4±0.32.4 \pm 0.3, and real-time decoding of a distance-5 code with an average latency of 63 μs63\ \mu\mathrm{s} at a cycle time of 1.1 μs1.1\ \mu\mathrm{s}.

Color codes offer transversal Clifford gates on a similar planar layout; Floquet codes replace four-body checks by sequences of two-body measurements; biased-noise variants adapt the checks to asymmetric noise.

Instances
Generalized by

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. S. B. Bravyi, A. Yu. Kitaev (1998). Quantum codes on a lattice with boundary. arXiv:quant-ph/9811052
  2. Eric Dennis, Alexei Kitaev, Andrew Landahl, John Preskill (2002). Topological quantum memory. Journal of Mathematical Physics 43, 4452-4505. doi:10.1063/1.1499754arXiv:quant-ph/0110143
  3. Austin G. Fowler, Matteo Mariantoni, John M. Martinis, Andrew N. Cleland (2012). Surface codes: Towards practical large-scale quantum computation. Physical Review A 86, 032324. doi:10.1103/PhysRevA.86.032324arXiv:1208.0928
  4. H. Bombin, M. A. Martin-Delgado (2007). Optimal resources for topological two-dimensional stabilizer codes: Comparative study. Physical Review A 76, 012305. doi:10.1103/PhysRevA.76.012305arXiv:quant-ph/0703272
  5. Dominic Horsman, Austin G. Fowler, Simon Devitt, Rodney Van Meter (2012). Surface code quantum computing by lattice surgery. New Journal of Physics 14, 123011. doi:10.1088/1367-2630/14/12/123011arXiv:1111.4022
  6. Yu Tomita, Krysta M. Svore (2014). Low-distance surface codes under realistic quantum noise. Physical Review A 90, 062320. doi:10.1103/PhysRevA.90.062320arXiv:1404.3747
  7. Robert Raussendorf, Jim Harrington (2007). Fault-tolerant quantum computation with high threshold in two dimensions. Physical Review Letters 98, 190504. doi:10.1103/PhysRevLett.98.190504arXiv:quant-ph/0610082
  8. David S. Wang, Austin G. Fowler, Lloyd C. L. Hollenberg (2011). Surface code quantum computing with error rates over 1%. Physical Review A 83, 020302(R). doi:10.1103/PhysRevA.83.020302arXiv:1009.3686
  9. Ashley M. Stephens (2014). Fault-tolerant thresholds for quantum error correction with the surface code. Physical Review A 89, 022321. doi:10.1103/PhysRevA.89.022321arXiv:1311.5003
  10. Craig Gidney, Michael Newman, Austin Fowler, Michael Broughton (2021). A Fault-Tolerant Honeycomb Memory. Quantum 5, 605. doi:10.22331/q-2021-12-20-605arXiv:2108.10457
  11. Craig Gidney (2021). Stim: a fast stabilizer circuit simulator. Quantum 5, 497. doi:10.22331/q-2021-07-06-497arXiv:2103.02202
  12. H. Bombin (2010). Topological Order with a Twist: Ising Anyons from an Abelian Model. Physical Review Letters 105, 030403. doi:10.1103/PhysRevLett.105.030403arXiv:1004.1838
  13. Benjamin J. Brown, Katharina Laubscher, Markus S. Kesselring, James R. Wootton (2017). Poking holes and cutting corners to achieve Clifford gates with the surface code. Physical Review X 7, 021029. doi:10.1103/PhysRevX.7.021029arXiv:1609.04673
  14. Sebastian Krinner, Nathan Lacroix, Ants Remm, … et al. (2022). Realizing repeated quantum error correction in a distance-three surface code. Nature 605, 669-674. doi:10.1038/s41586-022-04566-8arXiv:2112.03708
  15. Youwei Zhao, Yangsen Ye, He-Liang Huang, … et al. (2022). Realization of an Error-Correcting Surface Code with Superconducting Qubits. Physical Review Letters 129, 030501. doi:10.1103/PhysRevLett.129.030501arXiv:2112.13505
  16. Google Quantum AI (2023). Suppressing quantum errors by scaling a surface code logical qubit. Nature 614, 676-681. doi:10.1038/s41586-022-05434-1arXiv:2207.06431
  17. Dolev Bluvstein, Simon J. Evered, Alexandra A. Geim, … et al. (2024). Logical quantum processor based on reconfigurable atom arrays. Nature 626, 58-65 (published online 6 December 2023). doi:10.1038/s41586-023-06927-3arXiv:2312.03982
  18. Google Quantum AI and Collaborators (2025). Quantum error correction below the surface code threshold. Nature 638, 920-926. doi:10.1038/s41586-024-08449-yarXiv:2408.13687
  19. Michael H. Freedman, David A. Meyer (2001). Projective Plane and Planar Quantum Codes. Foundations of Computational Mathematics 1, 325-332. doi:10.1007/s102080010013arXiv:quant-ph/9810055

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic's own text checked. d = 3 rotated-code checks, logicals and the X0 X3 -> X6 miscorrection recomputed against the rotated-code rule; ansatz example (d = 21, 881 qubits; d = 17, 577 qubits) and Lambda extrapolation (ln1430/ln2.14 = 9.55, d = 27, 1457 qubits) recomputed. Threshold table and experiments compared with sources: Raussendorf-Harrington quant-ph/0610082 (0.75%), Wang-Fowler-Hollenberg 1009.3686 (1.1-1.4%), Stephens 1311.5003 (0.502(1)%-1.140(1)%), Gidney et al. 2108.10457 (surface code 0.5-0.7% in CNOT circuits, correlated matching), Tomita-Svore 1404.3747, Bombin 1004.1838, Brown et al. 1609.04673, Krinner et al. 2112.03708 (17 qubits, ~3% per cycle with leakage rejection), Zhao et al. 2112.13505, Google 2207.06431 (2.914 +- 0.016% vs 3.028 +- 0.023%, high-energy event in repetition code), Bluvstein et al. 2312.03982 (280 qubits, d = 3 to 7 gate improvement), Google 2408.13687 (101 qubits, 0.143 +- 0.003%, Lambda 2.14 +- 0.02, 2.4 +- 0.3, 63 us, 1.1 us). Reference metadata matched Crossref. Embedded records carry their own review states and were checked separately.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision f3dd591e0ba2b045. Source file knowledge/records/topic/surface-codes.md in the content repository (readable there once it is public).