Skip to main content
KetQat

Appearance

Definition · advanced

Lattice surgery (merge and split)

Operations on planar surface-code patches that measure a product of logical Pauli operators by temporarily joining two patches into one along a seam and then cutting them apart again, using only local stabilizer measurements.

Established definitionMachine-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.

Consider two surface-code patches, each encoding one logical qubit, placed side by side so that a boundary of patch 1 faces a boundary of the same type of patch 2, with a strip of fresh data qubits (the seam) between them. Let Pˉ1\bar{P}_1 and Pˉ2\bar{P}_2 be the logical operators of the two patches whose strings run parallel to the facing boundaries.

  • A merge prepares the seam qubits in a product state that is an eigenstate of the boundary checks being extended, and then measures, for dd or more rounds, the stabilizers of the single larger patch that covers both patches and the seam. The checks that straddle the seam are new; a subset of them has product equal to Pˉ1Pˉ2\bar{P}_1 \bar{P}_2 times stabilizers of the original patches, so the product of their (error-corrected) outcomes is the outcome of a measurement of Pˉ1Pˉ2\bar{P}_1 \bar{P}_2. The merged patch encodes one logical qubit.
  • A split stops measuring the seam checks, measures the seam qubits individually in the basis that restores the original boundaries, and resumes the stabilizers of the two separate patches. Its outcomes determine a Pauli correction, which is recorded in the Pauli frame rather than applied.

A merge followed by a split implements the logical measurement of Pˉ1Pˉ2\bar{P}_1 \bar{P}_2 and nothing else, up to that Pauli correction; this is stated and proved at the stabilizer level in theorem/lattice-surgery-measures-logical-pauli-products. Merging along a longer path or several patches at once measures products of more than two logical Pauli operators. The construction is due to Horsman, Fowler, Devitt and Van Meter; Vuillot and co-authors describe it as an instance of gauge fixing, and Litinski uses multi-patch merges as the basic operation of a full computing scheme. The repeated rounds are needed because a single faulty round would give a wrong product; each merge therefore takes about dd code cycles at distance dd.

Part of
Related
Stated 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. 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
  2. Daniel Litinski (2019). A Game of Surface Codes: Large-Scale Quantum Computing with Lattice Surgery. Quantum 3, 128. doi:10.22331/q-2019-03-05-128arXiv:1808.02892
  3. Christophe Vuillot, Lingling Lao, Ben Criger, … Barbara M. Terhal (2019). Code deformation and lattice surgery are gauge fixing. New Journal of Physics 21, 033028. doi:10.1088/1367-2630/ab0199arXiv:1810.10037

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)

    Merge/split description checked against the stabilizer-level argument (re-derived in the proof record) and the abstracts of Horsman et al. (arXiv:1111.4022, coupling of planar codes by lattice surgery) and Vuillot et al. (arXiv:1810.10037, lattice surgery as gauge fixing); multi-patch merges as basic operation compared with Litinski arXiv:1808.02892; d rounds per merge consistent with Vuillot et al. fault-tolerance analysis.

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 ad910a9a4ab1c362. Source file knowledge/records/definition/lattice-surgery.md in the content repository (readable there once it is public).