Skip to main content
KetQat

Appearance

Code · advanced

XZZX surface code

The surface code with a Hadamard applied to every second qubit, so that every check is the same product XZZX around a face. Under pure dephasing it decouples into repetition codes along one diagonal, which gives very high thresholds for biased noise at no cost in check weight or connectivity.

Peer-reviewed resultMachine-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.

Definition. Place qubits on the vertices of a square lattice. For every face ff with corner qubits at its south-west, south-east, north-west and north-east, the check is

Sf  =  XSW  ZSE  ZNW  XNE.S_f \;=\; X_{\mathrm{SW}}\; Z_{\mathrm{SE}}\; Z_{\mathrm{NW}}\; X_{\mathrm{NE}} .

Two faces that share an edge share two qubits, and on each of them one face acts as XX and the other as ZZ; the two anticommutations cancel. Two faces that share only a corner act on it with the same Pauli. So all checks commute. With the boundaries of the rotated surface code a d×dd \times d patch has parameters [[d2,1,d]][[d^2, 1, d]].

Relation to the CSS surface code. Applying a Hadamard gate to every qubit of one sublattice maps the checks to those of the standard surface code, so the two codes have the same parameters and the same threshold for depolarizing noise, which is invariant under single-qubit Clifford gates. They differ for any noise that distinguishes XX from ZZ. Codes obtained from the surface code by other single-qubit Clifford changes are studied by Dua et al.; the tailored code with XX- and YY-type checks of Tuckett et al. is another member.

Why bias helps. A ZZ error on a qubit anticommutes only with the two checks that act on it as XX: the faces of which it is the north-east or the south-west corner. These two faces are neighbours along one diagonal of the lattice. Chains of ZZ errors therefore create syndromes only along that diagonal direction, and under pure dephasing the decoding problem splits into independent repetition codes, one per diagonal line. XX errors behave the same way along the other diagonal. A repetition code tolerates any error rate below 50%.

Thresholds (Bonilla Ataides et al.).

  • Code capacity. With a tensor-network decoder the threshold matches the hashing bound of the channel for every single-qubit Pauli noise channel, and numerical evidence indicates that it exceeds the hashing bound for a range of biases. For the related tailored code, Tuckett et al. prove a 50% threshold for pure dephasing.
  • Faulty measurements. For dephasing-dominated noise with unreliable syndrome measurements, the paper reports a practical decoder whose thresholds exceed those known before it.
  • With bias-preserving hardware. Concatenated with Kerr-cat qubits, simulations give a threshold near 6.5% in the infidelity of the noisiest gate (Darmawan et al.).
  • Biased erasure. For metastable ytterbium qubits whose dominant error is a detectable decay from one computational state, a threshold of 8.2% in the two-qubit gate error is reported, without bias-preserving controlled-NOT gates (Sahay et al.).

Caveat. At finite bias and finite size the logical failure rate depends on the shape of the patch, because the lowest-weight logical operator made only of the dominant error can be much longer than dd.

Holds when

  • Threshold statements are for the noise model and decoder named with each number; they do not transfer between code-capacity, phenomenological and circuit-level settings.
Instance of
Mentioned in

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. J. Pablo Bonilla Ataides, David K. Tuckett, Stephen D. Bartlett, … Benjamin J. Brown (2021). The XZZX surface code. Nature Communications 12, 2172. doi:10.1038/s41467-021-22274-1arXiv:2009.07851
  2. David K. Tuckett, Stephen D. Bartlett, Steven T. Flammia (2018). Ultrahigh Error Threshold for Surface Codes with Biased Noise. Physical Review Letters 120, 050505. doi:10.1103/PhysRevLett.120.050505arXiv:1708.08474
  3. David K. Tuckett, Andrew S. Darmawan, Christopher T. Chubb, … Steven T. Flammia (2019). Tailoring Surface Codes for Highly Biased Noise. Physical Review X 9, 041031. doi:10.1103/PhysRevX.9.041031arXiv:1812.08186
  4. Arpit Dua, Aleksander Kubica, Liang Jiang, … Michael J. Gullans (2024). Clifford-Deformed Surface Codes. PRX Quantum 5, 010347. doi:10.1103/PRXQuantum.5.010347arXiv:2201.07802
  5. Andrew S. Darmawan, Benjamin J. Brown, Arne L. Grimsmo, … Shruti Puri (2021). Practical Quantum Error Correction with the XZZX Code and Kerr-Cat Qubits. PRX Quantum 2, 030345. doi:10.1103/PRXQuantum.2.030345arXiv:2104.09539
  6. Kaavya Sahay, Junlan Jin, Jahan Claes, … Shruti Puri (2023). High-Threshold Codes for Neutral-Atom Qubits with Biased Erasure Errors. Physical Review X 13, 041013. doi:10.1103/PhysRevX.13.041013arXiv:2302.03063

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)

    Commutation re-derived for edge-sharing (horizontal and vertical) and corner-sharing faces; Hadamard on one sublattice maps XZZX to the CSS checks; a Z error flips exactly the two diagonal-neighbour faces of which its qubit is SW or NE corner. Threshold statements compared with arXiv abstracts: Bonilla Ataides et al. 2009.07851 (threshold matches hashing for every single-qubit Pauli channel, evidence of exceeding it, practical decoder beating earlier thresholds with unreliable measurements), Tuckett et al. 1812.08186 (proved 50% threshold for pure dephasing for the modified surface code, shape dependence), Darmawan et al. 2104.09539 (threshold p_CX ~ 6.5% with Kerr-cat qubits), Sahay et al. 2302.03063 (8.2% two-qubit gate threshold for biased erasures in metastable Yb, without bias-preserving CNOTs). Dua et al. 2201.07802 reference metadata consistent with DOI.

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 da19c3b951311b9d. Source file knowledge/records/code/xzzx-surface-code.md in the content repository (readable there once it is public).