---
title: "Surface code quantum computing by lattice surgery (2012)"
description: "How lattice surgery joins and splits surface codes to perform local quantum gates, reduce qubit costs, and preserve error protection."
canonical: "https://research.elamur.ai/free/en/papers/horsman-2012-surface-code-quantum-computing-lattice/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/horsman-2012-surface-code-quantum-computing-lattice/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2012](https://md.research.elamur.ai/free/en/papers/2012/) / Surface code quantum computing by lattice surgery

# Surface code quantum computing by lattice surgery

Paper · 2012 · Dominic C. Horsman, Austin G. Fowler, Simon J. Devitt et al.

**Authors:** Dominic C. Horsman, Austin G. Fowler, Simon J. Devitt and Rodney Van Meter · **Year:** 2012 · **Venue:** New Journal of Physics · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**587** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W1985315536|W3103149928) · New Journal of Physics · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1088/1367-2630/14/12/123011](https://doi.org/10.1088/1367-2630/14/12/123011)
- [arXiv 1111.4022](https://arxiv.org/abs/1111.4022)
- [OpenAlex](https://openalex.org/W1985315536)

## Deep dive: Surface code quantum computing by lattice surgery

How lattice surgery joins and splits surface codes to perform local quantum gates, reduce qubit costs, and preserve error protection. · about 32 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A quantum computer needs to protect its information while doing something useful with it. Protecting an isolated logical qubit is only part of the problem: the computer must also make protected qubits interact without demanding physical connections that its hardware cannot supply. This paper addresses that difficulty for planar surface codes, which store each logical qubit in a separate patch of physical qubits. These patches offer relatively economical storage, but the established way of coupling them required corresponding qubits in different patches to interact. For hardware arranged in a plane with connections only between neighbours, that requirement creates a serious obstacle.

The authors introduce lattice surgery, a way to perform logical operations by changing the boundaries between patches. Joining patches involves preparing qubits along their interface and measuring new error checks across it. Separating a patch involves measuring out a line of qubits and establishing new boundaries. These changes act on the encoded information in precisely describable ways. A merge measures a joint logical property and combines the patches into a single encoded qubit. A split distributes an encoded state across separate patches, potentially creating entanglement. The physical operations remain local even though their consequences concern information spread throughout the patches.

The paper combines these operations into a controlled-NOT, or CNOT, gate: a logical operation that flips a target qubit conditionally on a control qubit. An intermediate patch allows the authors to construct the gate without interactions between corresponding physical qubits across entire surfaces. They also explain how to inject special ancillary states needed for universal computation, perform a logical Hadamard gate, and convert between planar and defect encodings. Throughout these constructions, protection depends on preserving the required code distance and collecting enough repeated error-check measurements. The proposal therefore concerns both the algebra of logical gates and the physical geometry that supports error correction.

The strongest numerical results are resource calculations for proposed implementations, rather than measurements from a working device. Combining surgery with a rotated patch geometry gives a proposed distance 3 CNOT using 53 physical qubits: 33 data qubits and 20 syndrome qubits. The paper compares this with 104 qubits for a rotated defect construction and 143 for the other defect constructions it discusses. It also shows how splitting a suitable patch can directly produce encoded Bell pairs and larger GHZ states. The savings are most compelling for small experiments and restricted tasks. Once the authors reserve enough space for general interactions in a scalable planar arrangement, they find much less separation between planar and defect resource requirements.

### Ideas worth borrowing

Make interfaces carry the interaction. Lattice surgery avoids asking every component of one protected object to interact with a corresponding component of another. Instead, it uses local changes at their shared boundary to implement an operation on the encoded information. The reusable design principle is to search for an interface operation that has the desired global effect. This can guide modular system design whenever direct access to all internal components would be expensive or incompatible with the physical arrangement.

Treat representation changes as operations. A split or merge does more than rearrange storage: it changes how information is represented and thereby performs a logical transformation. That perspective encourages an engineer to ask whether moving between valid representations can accomplish useful work. It applies particularly well when a representation already carries strong invariants, because those invariants can help establish what survives the transformation and what must be recorded alongside it.

Keep corrections in an explicit interpretation layer. The authors often handle measurement-dependent changes by updating classical records rather than applying additional operations to physical qubits. This avoids introducing errors through unnecessary corrective activity. The broader lesson is to distinguish a system’s underlying state from the conventions used to interpret it. Where the distinction is exact and auditable, maintaining a small record of changed conventions can be cheaper than repeatedly rewriting the underlying representation.

Track the weakest invariant throughout a procedure. A valid starting state and a valid final state do not establish that an operation remains protected in between. The paper follows the shortest possible logical error paths through its constructions and requires sufficient repeated measurements after changes. The transferable idea is to identify the quantity that controls failure and check it at every intermediate stage. This is useful for transformations whose temporary arrangements can be more vulnerable than either endpoint.

Optimize geometry before increasing resources. The rotated lattice removes data qubits while retaining the relevant minimum logical-operator length. Its value comes from recognizing that a familiar boundary shape contains avoidable overhead. Elsewhere, the same reasoning suggests examining whether a layout or representation preserves more structure than the task requires. A smaller arrangement can be equally capable if the property that matters is maintained, although the equivalence needs a direct argument.

Separate a local saving from a complete architecture. The paper calculates attractive costs for individual qubits and gates, then revisits them after allowing space for general communication between logical qubits. That second comparison narrows the large-scale claim. This is a useful habit for any resource study: distinguish the cost of an operation in isolation from the capacity and workspace needed to support arbitrary workloads. Both measurements can be correct while answering different engineering questions.

### How Mova uses it

For Mova, the small transparent language system in Rust, the connection is a possible software design analogy. The paper does not describe a language-processing component, a Rust implementation, or an integration with Mova. There is therefore no basis for claiming that Mova already implements lattice surgery or obtains a measured benefit from it. The physical error-correction mechanisms belong to quantum computing, and their guarantees cannot be transferred to ordinary software merely because some architectural ideas sound similar.

One potentially useful connection concerns explicit boundaries between representations. A transparent language system can benefit from making the information exchanged between components inspectable. The analogy with surgery would be to define a small, documented interface through which structured states are combined or separated, instead of permitting components to make unrestricted changes to each other’s internals. That is an engineering possibility, not a result demonstrated for Mova. Its value would have to be judged through the clarity and behaviour of an actual implementation.

A second possibility concerns the interpretation layer. In the paper, a measurement can change how later outcomes should be read, and the required adjustment is recorded classically. A software counterpart could retain an explicit record of reversible representational changes rather than repeatedly rewriting a larger structure. For a system whose aim includes transparency, such records could make transformations easier to inspect. However, the quantum procedure supplies no evidence that this would improve Mova’s speed, memory use, or linguistic accuracy. Those would be separate questions requiring their own evaluation.

The paper also suggests a useful way to organize correctness arguments. Each transformation has a local implementation and a logical meaning; the authors connect the two through stabilizers and logical operators. Mova could borrow that separation when documenting operations on its own structured representations. An implementation-level account would explain what changes in memory, while a semantic account would state what information the operation preserves or combines. The link is to explicit [knowledge representation and reasoning](https://md.research.elamur.ai/free/en/concepts/knowledge-representation/), rather than to the physical properties of surface codes.

Finally, the resource discussion offers a caution relevant to a small system. A compact primitive does not necessarily yield a compact complete application. Temporary storage, communication routes, and the need to support varied compositions can consume the apparent saving. For Mova, the practical borrowing would be to measure complete processing paths as well as isolated components. These are plausible uses of the paper’s reasoning. None should be described as an implemented Mova feature without separate evidence.

### The problem and its context

#### Protecting information while computing

A logical qubit is an encoded unit of quantum information spread over many physical qubits. The point of this encoding is to make ordinary physical failures detectable and correctable before they become failures of the encoded information. The paper begins from the premise that suitable error-correcting codes can make logical errors increasingly rare as more physical resources are assigned to protection, provided physical error rates remain below the relevant threshold.

This introduces an immediate architectural tradeoff. More physical qubits can provide stronger protection, but those qubits must also be arranged, controlled, measured, and connected. A code that looks economical as an abstract mathematical object may demand interactions that are difficult for a particular device. Conversely, a code that fits a simple interaction geometry may use substantial space to represent and manipulate each logical qubit.

Surface codes are attractive in the setting considered here because their error checks use neighbouring qubits on a planar lattice. The introduction places their tolerance of component errors at roughly 1% in the earlier results it cites. That threshold is contextual evidence from previous research, not a threshold newly established by the surgery proposal. The relevant architectural feature is the combination of error protection and local physical interactions.

The paper concerns active error correction with regular qubits. It distinguishes that approach from implementations based on exotic anyonic particles. Its procedures repeatedly interact auxiliary qubits with nearby data qubits and measure the auxiliaries. Error correction is therefore an ongoing process of gathering evidence, interpreting it, and keeping track of the encoded state.

The difficulty appears when the computer needs logical qubits to interact. Local error checks do not automatically imply local logical gates. An encoding can be convenient for preserving information while still requiring inconvenient operations to process that information. The paper’s central contribution is to remove this mismatch for planar surface-code patches.

#### Separate patches and defects

The authors distinguish two main ways to introduce logical information into a surface code. In a planar encoding, each logical qubit occupies its own patch, with boundary conditions that leave an encoded degree of freedom. In a defect encoding, selected checks are not enforced inside a larger lattice, creating internal boundaries around which logical information can be defined.

The distinction changes both storage and computation. Separate planar patches are relatively compact. Defects, in contrast, allow many logical qubits to inhabit a common surface and support gates through changes made within that surface. The paper explains that double defects are generally used to localize logical operators and avoid unwanted dependence on a distant external boundary.

Earlier planar constructions implemented a CNOT transversally. Corresponding physical qubits in separate encoded patches each participated in a physical CNOT. Collectively, those operations produced the logical gate. The problem was geographical: if the patches lie separately in a fixed planar arrangement, corresponding qubits across their interiors are not all immediate neighbours.

Defect constructions addressed locality through movement and braiding. A defect can be extended by measuring selected qubits out of the code, and an appropriate path around another defect produces a logical interaction. The additional physical operations remain compatible with local checks and local measurements. The price is space for the defects, their separation, and the paths used to manipulate them.

The paper also discusses earlier code deformation, where changing lattice boundaries implements logical transformations. Lattice surgery belongs to this broader effort to compute by modifying an encoding, but it uses a distinctive kind of change: joining separate planar surfaces or cutting a surface into separately stabilized pieces. The authors describe these changes through an analogy with geometric surgery.

The contribution is therefore more specific than showing that geometry can matter in quantum computing. Earlier work already used geometry, defects, and boundary deformation. The new claim is that planar patches can be coupled through split and merge operations that retain local physical interactions and support the logical operations required for computation.

#### Why the resource question mattered

The introduction emphasizes the appeal of compact planar encodings for experiments with limited physical qubits. It contrasts a distance 3 planar logical qubit using 13 physical qubits with a standard double-defect logical qubit using 72. The later discussion clarifies how a rotated geometry and reuse of syndrome qubits contribute to the compact planar construction.

These figures concern particular implementations instead of an implementation-independent definition of a logical qubit’s cost. The paper repeatedly changes the comparison according to what must be supported: an isolated qubit, a logical gate, a small experiment, or a scalable arrangement. Understanding those distinctions is necessary to understand the numerical claims.

The hardware motivation is also concrete. The introduction discusses platforms in which qubits occupy a planar arrangement and interactions are limited to neighbours, including quantum dots, superconducting devices, trapped atoms, diamond arrays, and some ion-trap designs. Within the paper’s argument, these examples explain why avoiding transversal interactions is an architectural requirement rather than merely an aesthetic preference.

Communication provides another motivation. If an encoded qubit must be detached and sent elsewhere, carrying fewer physical qubits is useful. The authors therefore consider both how planar qubits interact and how a qubit represented by defects can be converted into a separate planar patch. The proposal aims to preserve the advantages of local operations without making every task pay the full spatial cost associated with a large defect arrangement.

### The method, step by step

#### Start with local checks and logical operators

The surface-code lattice contains data qubits, which carry the encoded state, and syndrome qubits, which help measure error checks. These names describe their roles rather than different fundamental kinds of qubit. A syndrome qubit interacts with nearby data qubits and is then measured. Repeating this process produces a record from which errors can be inferred.

The checks are stabilizers: operators whose eigenvalues describe the constraints defining the code. In the paper’s lattice, one family uses Pauli Z operators around faces, and another uses Pauli X operators around vertices.

```
S_F = ⊗ᵢ∈F Zᵢ
```

Here, S_F denotes the stabilizer associated with face F. The index i identifies a data qubit belonging to that face, Zᵢ is the Pauli Z operator on that qubit, and ⊗ denotes the tensor product combining the operators.

```
S_V = ⊗ⱼ∈V Xⱼ
```

Here, S_V denotes the stabilizer associated with vertex V. The index j identifies one of its participating data qubits, Xⱼ is the Pauli X operator acting there, and ⊗ again combines the individual operators.

The purpose of a check is not to read the logical qubit itself. It reveals a local property useful for detecting departures from the protected encoding. In the absence of errors, successive measurements agree. A change signals the endpoint of a possible error chain. Because measurement outcomes can also be wrong, the decoder needs a record extending through time.

The authors use minimum-weight perfect matching to infer plausible corrective chains from the detected endpoints. Importantly, their account does not require physically applying every inferred correction. Many corrections can instead be represented in classical records and incorporated into the interpretation of later measurements. This makes the bookkeeping part of the computation.

Logical operators are different from the local checks. A logical X or logical Z changes or distinguishes the encoded information without producing a detectable violation of the stabilizers. In a planar patch, such operators can be represented by appropriate strings of physical Pauli operations connecting boundaries. Their shortest possible length determines the code distance.

A distance 3 code has a shortest logical operator involving three physical operations and can correct a single physical error. More generally, the symbol d denotes the distance. The authors require d rounds of error correction around operations so that the evidence has sufficient extent in both space and time. Merely drawing a patch with the right spatial dimensions is not enough.

The overall procedure can be understood as a sequence of boundary changes followed by interpretation and verification:

Computing through changes to protected patch boundaries The steps in order.

There is no training corpus or parameter-fitting stage in this method. Its inputs are quantum states and its operational evidence consists of syndrome measurements. The mathematical work establishes what the resulting states mean; the resource calculations count the physical qubits and correction rounds required by the proposed arrangements.

#### Prepare a protected patch

A planar patch can initially encode a logical zero by preparing its physical qubits in the physical zero state and then measuring the code checks repeatedly. Preparing the corresponding physical plus states similarly gives a route to a logical plus state. The repeated measurements establish the protected encoding and supply evidence needed for error correction.

At the end of a computation, the encoded value is recovered by measuring the data qubits in an appropriate basis. The measurements are corrected using the available error information, and the logical result comes from the parity of a logical operator. The logical state is therefore never assigned to an arbitrarily selected physical qubit inside the patch.

This preparation and readout procedure is important for surgery because the boundaries are not merely lines drawn around an otherwise unchanged object. A boundary determines which checks are enforced and which physical strings represent logical operators. Altering the boundary changes the definition of the encoded system.

#### Merge rough boundaries

A rough merge begins with separate protected patches and a line of intermediate data qubits. Those intermediate qubits are prepared in the zero state. The error-check procedure then treats the joined arrangement as a continuous surface and measures new checks crossing the former interface.

The product of the relevant new X checks reveals a joint logical quantity:

```
X_L X_L
```

Each X_L is a logical Pauli X operator, with the factors acting on the different input patches. Their product measures a correlation between the encoded qubits. It does not separately reveal each qubit’s logical X value.

The authors call this a rough merge because of the boundary type being joined. Repeated measurements make the inferred parity reliable. The important timing qualification is that the earliest new checks become securely interpretable after enough subsequent evidence has accumulated. A later measurement cannot immediately be treated as equally well protected just because it belongs to the same sequence.

After merging, there is only a single encoded degree of freedom in the resulting planar surface. A rough merge therefore does not implement an ordinary reversible gate on the pair of input qubits. It both obtains a measurement outcome and changes how the remaining information is represented.

The paper describes the input states using amplitudes:

```
|ψ⟩ = α|0⟩_L + β|1⟩_L
```

Here, |ψ⟩ is an encoded input state; |0⟩_L and |1⟩_L are its logical computational-basis states; and α and β are the complex amplitudes specifying their superposition. The subscript L indicates that these are logical states distributed over a patch.

```
|φ⟩ = α′|0⟩_L + β′|1⟩_L
```

Here, |φ⟩ is the other encoded input. The amplitudes α′ and β′ describe that state in the same logical basis; the prime distinguishes them from the amplitudes of |ψ⟩.

The logical measurement outcome is recorded as M, taking the value 0 or 1. It determines which conditional interpretation of the merged state is appropriate. The rough-merge rule can then be written as the following branch expression:

```
|ψ⟩ Mᵣ |φ⟩ = α|φ⟩ + (−1)^M β|φ̄⟩
```

Here, Mᵣ denotes the rough-merge operation, instead of the measurement bit M. The state |φ̄⟩ is obtained by applying Pauli X to |φ⟩, while α and β come from |ψ⟩. The factor (−1)^M records the measurement-dependent sign. This expression describes the conditional amplitudes; the surviving measurement branch must be interpreted with its appropriate normalization.

For computational-basis inputs, the output label follows exclusive OR. Equal input labels yield logical zero, while unequal labels yield logical one. This is a helpful classical description of that restricted case, but it does not exhaust the quantum operation. Superpositions also carry amplitudes, phases, and dependence on the recorded outcome.

#### Merge smooth boundaries

A smooth merge is the complementary construction. Its intermediate physical qubits begin in the plus state, and the new checks reveal a different logical correlation:

```
Z_L Z_L
```

Each Z_L is a logical Pauli Z operator on an input patch. The product measures their joint Z parity without separately measuring the computational-basis value of each input.

The smooth merge behaves like exclusive OR when expressed in the plus/minus basis instead of the zero/one basis. The paper writes general input states in that alternative basis:

```
|ψ⟩ = a|+⟩_L + b|−⟩_L
```

Here, a and b are the amplitudes of |ψ⟩ in the logical plus/minus basis. The states |+⟩_L and |−⟩_L are logical X eigenstates. They represent a different basis for the same encoded degree of freedom, rather than an additional pair of stored qubits.

The rough and smooth cases thus share a structure: prepare an interface, measure checks across it, infer a joint logical parity, and define the surviving encoded qubit consistently with the result. Which parity is obtained depends on the boundaries and preparation basis.

The outcome bookkeeping cannot be omitted. When new check signs require adjustment, the authors describe pairing affected checks with corrective chains. If an unmatched sign remains, it can be incorporated into a reference logical operator and tracked in software. Later operations must use that reference consistently.

This makes the merge deterministic in its intended computational interpretation only after the outcome has been accounted for. The physical measurement itself still has branches. A useful implementation must preserve both the protected quantum state and the classical information that tells subsequent processing how to interpret it.

#### Split a surface without reading its logical state

Splitting begins with a continuous patch and removes a line of data qubits through measurement. The surviving regions are stabilized separately. Which basis is measured determines the boundary type created and the logical transformation produced.

For a smooth split, the removed line is measured in the X basis. After incorporating the outcomes into the logical reference conventions, the encoded transformation is:

```
α|0⟩_L + β|1⟩_L → α|00⟩_L + β|11⟩_L
```

Here, α and β are the original state’s amplitudes. The states |00⟩_L and |11⟩_L now refer to the computational-basis labels of the separate output patches. The arrow denotes the split together with the required interpretation of measurement outcomes.

The output is generally entangled. It is not a pair of independently available copies of the unknown input. Instead, the original amplitudes appear in correlations between the patches. The operation distributes an encoded degree of freedom across a larger logical description.

A rough split exchanges the roles of the bases:

```
a|+⟩_L + b|−⟩_L → a|++⟩_L + b|−−⟩_L
```

Here, a and b are the input amplitudes in the logical plus/minus basis. The output states |++⟩_L and |−−⟩_L give the corresponding correlated basis labels for the separate patches. The arrow includes the same requirement to track the measured signs consistently.

The geometry must be chosen before cutting. A symmetric cut through a square patch can reduce its distance. To obtain output patches of distance d, the authors start from a rectangular surface of size d × 2d. Its minimum logical-operator length is already d, and its shape provides enough material for the intended outputs.

Splitting also changes which representatives of a logical operator can be used interchangeably. Outcomes along the cut influence the signs of the newly exposed checks. The authors offer a choice: fix a consistent representative for the logical operator or account for the corrections needed to make alternative representatives agree again. Those corrections can remain in classical records.

Unlike a merge, a split does not discard the original logical information. A suitable reverse merge can recover it. Nonetheless, it is not a unitary transformation between equal-size logical spaces, because the description changes from an encoded qubit to a correlated state of separate encoded qubits.

#### Build a CNOT from these operations

The CNOT construction uses a control patch, a target patch, and an intermediate patch. The control may contain an arbitrary superposition, and the target may also be arbitrary. The intermediate patch begins in the logical plus state. All patches are arranged so that the required boundary interactions can be implemented locally.

First, the control and intermediate patches undergo a smooth merge. Once the measurement outcome has been incorporated into the logical convention, the resulting patch carries the control’s state. This is an essential preparatory step: it puts that state into a surface that can subsequently be split across the control and intermediate regions.

A smooth split then produces:

```
|C′ INT′⟩ = α|00⟩_L + β|11⟩_L
```

Here, C′ and INT′ name the control and intermediate patches after the split. The amplitudes α and β are those of the original control state. The combined ket denotes their correlated logical state, rather than separate independent states for the patches.

The intermediate patch next undergoes a rough merge with the target. That merge conditionally combines the intermediate basis value with the target value. Because the intermediate patch is correlated with the control, the target transformation becomes conditional on the control.

The paper’s final branch expression is:

```
|C′(INT′ Mᵣ T)⟩ = α|0⟩_L ⊗ |T⟩ + (−1)^M′ β|1⟩_L ⊗ |T̄⟩
```

Here, T denotes the input target state |T⟩, and |T̄⟩ is that state after a Pauli X operation. Mᵣ denotes the rough merge between the intermediate patch and target, while M′ records that merge’s logical measurement outcome. The symbol ⊗ combines the control and target states. The outcome-dependent sign is handled through the logical interpretation records.

After that adjustment, the zero branch of the control leaves the target unchanged, while the one branch flips it. This is the defining action of CNOT. The intermediate patch has been consumed through the merge, leaving the required control and target outputs.

The distinction between the primitives and their composition matters. Individual merges are measurements that reduce the logical description, and individual splits enlarge it in a constrained way. Their carefully arranged combination nonetheless implements a reversible operation on the intended input and output qubits.

The direct presentation assigns d correction rounds to each major stage. The resource section then gives an optimized arrangement. If the control is prepared from the outset as a d × 2d patch, the initial merge is unnecessary. The remaining split and merge involve commuting operations, so they can be carried out together and followed by d correction rounds. This timing result depends on that preparation and scheduling choice.

#### Inject states and complete the gate repertoire

A CNOT alone does not establish universal computation. The authors also require ancillary states that enable the necessary single-qubit rotations through established injection and distillation procedures. Their contribution here is a concrete account of how state injection fits the planar surgery arrangement.

The desired physical state begins as:

```
|Ψ⟩ = α|0⟩ + β|1⟩
```

Here, |Ψ⟩ is an unencoded physical input state, and α and β specify its amplitudes in the physical computational basis. There is no logical subscript at this stage because the information has not yet been established as a protected patch state.

The procedure starts with a distance-3 surface whose other qubits are prepared in zero. The special input qubit interacts with neighbouring syndrome qubits through CNOT operations. Swaps then move the information into the appropriate data-qubit positions, producing:

```
α|000⟩ + β|111⟩
```

Here, α and β retain the input amplitudes. The basis strings describe the correlated physical data qubits used to establish the encoded state. This is an intermediate physical preparation, not yet a claim that arbitrary preparation errors have disappeared.

Stabilizer measurements turn the arrangement into a distance-3 logical patch containing the desired encoded state. Additional qubits can then be prepared and incorporated to enlarge the patch to distance-4. Repeating enlargement allows a greater distance as required.

The resulting protection does not retroactively remove inaccuracies in the original injected state. That is why the role of suitable ancillary states and distillation remains important. The paper establishes a route into the encoding and relies on the cited framework for using such states to support universal operations.

For the Hadamard gate, the authors begin with a Hadamard on every physical qubit. This exchanges the logical X and Z roles, yielding the intended logical transformation. It also changes the orientation of the patch’s boundary types relative to other patches.

The proposed remedy is geometric. Expand the patch while maintaining distance d, collect the required correction rounds, and then contract it by measuring out selected qubits in the Z basis. Further correction rounds leave a patch whose orientation again suits the surrounding arrangement. The remaining positional displacement can be corrected by swaps.

The Hadamard construction illustrates the paper’s recurring concern: the abstract gate is only part of the answer. The output patch must also occupy a usable location and have compatible boundaries for whatever operation comes next.

#### Change the geometry or the encoding

The rotated lattice reduces the number of data qubits by changing the patch boundary. For a standard distance-d patch, the paper gives:

```
N_standard = d² + (d − 1)²
```

Here, N_standard is the number of data qubits in the standard planar geometry, and d is its code distance. The expression counts data qubits only; it does not include a separate syndrome-qubit allocation.

For the rotated geometry:

```
N_rotated = d²
```

Here, N_rotated is the rotated patch’s data-qubit count, with d retaining the same code-distance meaning. The saving follows from the changed geometry instead of a reduction in the intended shortest logical-operator length.

After rotation, possible logical strings include paths that would not look like straight crossings in the original drawing. A candidate string must still commute with every stabilizer. In the authors’ explanation, it must meet the relevant opposite-type checks with the required even parity. A visually short path is therefore not automatically an undetectable logical operation.

The paper also describes conversion between defect and planar encodings. A double-defect qubit near a lattice edge can be isolated through measurements, its defects enlarged, and unnecessary unstabilized material removed. The resulting planar patch represents the same logical information at the same distance. The procedure can also run in reverse.

This conversion supports the communication motivation. A qubit need not remain permanently tied to the representation used by a larger computation. It can be detached in a more compact planar form when the task calls for a separate protected object.

### Experiments and results

#### What kind of evidence the paper supplies

The paper proposes experiments and calculates resources for them. It does not report a hardware demonstration of the surgery CNOT, measured Bell-pair fidelity, or an observed logical error rate. Its central evidence consists of logical-state derivations, stabilizer analyses, geometric distance arguments, and physical-qubit counts for specified arrangements.

There is no dataset or statistical train/test division. The comparison objects are alternative encodings and layouts. The main numerical metric is the number of physical qubits needed for a stated protected task. Another resource measure is the number of error-correction rounds, and code distance specifies the intended level of protection.

These distinctions determine how the results should be read. A smaller qubit count is a concrete architectural result under the layout assumptions. It is not automatically evidence of a better experimentally observed failure rate, nor does it measure the complete engineering difficulty of controlling the arrangement.

#### The smallest protected planar patch

For distance 3, the rotated construction has 9 data qubits and requires 8 syndrome measurements. The paper describes using either 8 dedicated syndrome qubits or reusing the four central syndrome qubits. The latter choice retains neighbour-only interactions and produces the compact total used in the comparison.

Distance 3 planar logical qubit, physical-qubit requirement Rotating the patch and reusing syndrome qubits reduces the physical allocation for the protected logical qubit.

**The numbers**

| System or setting | physical qubits |
| --- | --- |
| Standard planar construction | 25 |
| Rotated planar construction with syndrome reuse (this paper) | 13 |

This comparison combines geometric savings with a measurement-resource choice. The data-qubit reduction follows from the rotated boundary, while the final physical total also depends on reusing syndrome qubits. It would be misleading to interpret the compact total as the cost of a layout with a distinct auxiliary qubit for every measured check.

The distance 5 example provides another explicit consistency check. The rotated patch contains 25 physical qubits in the described data lattice and 24 independent stabilizers. The authors show example logical operators and argue that their shortest allowed length remains that of the original code. The resource reduction therefore accompanies a claim about preserved distance, not merely a smaller drawing.

#### Entanglement through splitting

The first proposed experiment creates encoded entanglement without assembling it through a separate sequence of logical CNOT gates. The illustrated arrangement uses distance 4 output qubits. It begins with a suitably extended patch in the logical plus state and makes a smooth split.

The resulting Bell-pair transformation is:

```
|+⟩_L = (|0⟩_L + |1⟩_L)/√2 → (|00⟩_L + |11⟩_L)/√2
```

Here, |+⟩_L is the initial encoded plus state, and the output basis strings refer to the separate logical patches. The factor √2 supplies the normalization for these equal-amplitude states. The arrow includes the split and its required outcome bookkeeping.

A further smooth split extends the correlation:

```
(|00⟩_L + |11⟩_L)/√2 → (|000⟩_L + |111⟩_L)/√2
```

Here, the left side is the encoded Bell state before the next split, and the right side is the resulting GHZ state across the output patches. The logical subscript applies to each encoded basis label, and √2 again normalizes the equal-amplitude superposition.

Additional splits can extend this construction, provided the initial patch has enough area in the appropriate shape to leave the desired distance in every output. Rough splitting gives the corresponding construction in the plus/minus basis.

The result is an explicit preparation route. The paper does not supply a measured fidelity or an experimental success probability for it. Its advantage is that entanglement emerges from the boundary operation itself, avoiding the need to begin with separate patches and then apply a more elaborate entangling logical procedure.

#### The proposed distance 3 CNOT

The second proposed experiment concerns the smallest neighbour-only CNOT arrangement the authors identify for protected distance 3 qubits. They compare surgery with both single-defect and double-defect alternatives. The rotated defect arrangement improves the defect comparison, making the strongest resource contrast less dependent on using an unoptimized lattice orientation.

Distance 3 nearest-neighbour logical CNOT, physical-qubit requirement The rotated surgery arrangement has the smallest physical-qubit count among the constructions compared.

**The numbers**

| System or setting | physical qubits |
| --- | --- |
| Double-defect CNOT | 143 |
| Single-defect CNOT | 143 |
| Rotated defect CNOT | 104 |
| Rotated lattice-surgery CNOT (this paper) | 53 |

The surgery total consists of 33 data qubits and 20 syndrome qubits. Its compact arrangement uses the rotated encoding and removes syndrome qubits outside the data lattice. The count therefore belongs to a concrete small construction with particular measurement provisions.

The paper describes this as halving the requirement relative to the smallest competing planar-layout construction it discusses. That comparison should be understood within the set of known arrangements examined by the authors. They do not establish an unrestricted lower bound covering every possible future design.

The authors also state that the experiment was beyond the capabilities they considered current when writing. Their expectation that such qubit counts might become achievable is a prospective judgement. The demonstrated result in the paper is the construction and resource count, not its physical execution.

#### Gate costs and scalable layouts

For broader comparisons, the paper estimates a double-defect logical qubit’s area as roughly 6d² and a planar qubit’s area as roughly 2d². These are leading geometric estimates rather than the exact small-patch counts used above.

The double-defect CNOT arrangement is assigned an area of approximately 37d². For the planar surgery arrangement, the stated expression is:

```
A_CNOT = 2d(3d + 2)
```

Here, A_CNOT is the physical-qubit cross-section assigned to the planar CNOT construction, and d is the code distance. The expression includes the logical surfaces and intermediate lines needed by that arrangement.

From these estimates, the authors describe an approximately 6-fold leading-order reduction for the isolated gate comparison. They immediately qualify its architectural significance. A scalable computer needs space that allows logical qubits to interact with partners beyond their immediate neighbours.

In the planar arrangement they draw for that purpose, only a quarter of the available surfaces hold logical data. The other surfaces remain available for operations. After allowing for this workspace, the authors judge the overall large-scale resource requirements of planar and defect approaches to be quite similar.

For small tasks, a single-defect comparison can be more appropriate than a double-defect one. The paper assigns roughly 10d² to the relevant single-defect surface and says its small implementations typically require between 1.5 and 2 times the planar qubit allocation. These estimates support the emphasis on small experiments while limiting any claim of a universal architectural advantage.

### What the ablations show

The paper contains no conventional ablation study; it instead offers controlled construction comparisons, explicit stabilizer calculations, and resource analyses that isolate different parts of the proposal.

#### Surgery and rotation contribute different savings

The rotated lattice and lattice surgery solve related but distinct problems. Rotation reduces the amount of physical material needed to realize a patch at a given distance. Surgery supplies the interactions that let separate planar patches participate in computation while keeping physical operations local.

The CNOT comparison helps separate these contributions. Rotating a defect construction reduces its allocation, but the rotated defect alternative still exceeds the surgery construction’s count. Hence, the reported small-gate advantage cannot be attributed entirely to drawing the lattice differently.

At the same time, the most compact surgery implementation depends on using rotation. It would also be wrong to credit every qubit saved to the split and merge primitives alone. The final result combines a logical interaction scheme, a patch geometry, and choices about where syndrome qubits are placed.

#### Scheduling changes the temporal comparison

The direct CNOT construction seems to require a separate correction interval after the initial merge, the split, and the final merge. For the distance 3 example, the paper describes this as 3 rounds for each stage and 9 overall.

The optimized analysis changes the preparation and overlaps commuting operations. Preparing an extended control patch removes the first merge, and the remaining split and merge can share their correction interval. The resulting requirement is d rounds, matching the defect-based comparison used by the authors.

This analysis identifies where the saving comes from. It is not a claim that repeated measurements can generally be omitted. The optimization avoids a stage by choosing the initial geometry and combines stages whose operations commute. The underlying requirement for enough error-correction evidence remains.

#### Small stabilizer examples expose the bookkeeping

The appendices work through distance-2 merging and splitting with explicit stabilizer descriptions. These are microscopic checks of the proposed logical transformations. They show how newly measured operators alter the stabilizer set and how the encoded logical information appears after the change.

For merging, the appendix follows checks across the join and retains dependence on their measurement outcomes. For splitting, it shows how measuring out the intermediate qubit leaves separate stabilizer sets together with the correlations needed for the claimed logical state.

These calculations matter because an intuitive picture of cutting or joining surfaces does not determine the quantum operation on its own. The stabilizer account supplies the missing connection between local measurements and logical amplitudes. Its purpose is analytical verification, not an empirical comparison of different decoders or hardware error mechanisms.

#### Allowing workspace changes the architectural conclusion

The contrast between isolated gate counts and the scalable layout is another controlled comparison. The local primitive can be economical while the complete arrangement still needs considerable unoccupied capacity for interactions.

That analysis establishes a boundary on the resource claim. The paper supports compact experiments and restricted operations especially well. It gives less support for a large, general computer obtaining the same dramatic advantage, because the workspace needed for flexible connectivity absorbs much of the apparent gain.

### Limitations

#### Limits the authors explicitly identify

The authors do not claim that the defect implementations used for comparison are optimal. This is a significant qualification because resource advantages depend on the strength of the alternatives. Their numerical comparisons establish the costs of the arrangements they describe and compare with known constructions; they do not prove that defects must always be more expensive.

They also explicitly distinguish small operations from scalable computation. The planar layout needs free surfaces to support interactions between arbitrary logical qubits. Once that requirement is included, the paper finds little overall resource separation between the planar and defect approaches. The strong small-CNOT result should therefore not be turned into a blanket claim about the size of every large quantum computer.

Distance preservation is conditional on geometry. The split operation can reduce protection if the starting patch is too small or has the wrong shape. The authors address this by preparing an extended patch before splitting. Likewise, merging does not automatically improve the distance merely because the joined object occupies more area. Protection is controlled by the shortest undetectable logical path.

Time is another explicit constraint. A newly changed surface requires enough correction rounds to interpret its measurements fault-tolerantly. The optimized CNOT meets this requirement through a particular arrangement and schedule. The paper does not grant every boundary change an immediate, reliable logical outcome.

The authors also acknowledge that their compact CNOT was not experimentally implementable using the techniques they considered available. Their discussion of nearer-term feasibility expresses motivation and expectation. It should remain separate from the analytical claim that the proposed layout contains the required qubits and interactions.

#### What the evaluation does not establish

A careful reader should distinguish a preserved code distance from a measured logical failure probability. Distance specifies the minimum weight of an undetectable logical error in the code description. It is an essential structural property, but the paper does not report logical-error curves for the surgery procedures under a detailed simulated noise process.

Consequently, the account does not establish that a surgery CNOT and a defect CNOT at equal distance have identical practical error rates. Their checks, schedules, and physical operations may differ. The paper’s resource comparison is made through geometric protection and correction-round requirements rather than direct failure-rate measurements.

The roughly 1% threshold discussed in the introduction comes from earlier surface-code research. It is not a newly measured surgery threshold. Using it as though it were the outcome of a dedicated lattice-surgery simulation would overstate the evidence.

The physical-qubit metric is also incomplete as a measure of implementation difficulty. It records how many qubits an arrangement requires, but it does not by itself quantify control complexity, measurement quality, or the cost of managing the classical decoding and reference records. The paper gives a logically meaningful arrangement, not a complete experimental accounting of all device resources.

Syndrome-qubit reuse deserves particular care. It reduces the number of auxiliary qubits that must be present, but it also means that a stated physical total depends on a measurement strategy. Comparisons that silently assume dedicated syndrome qubits on one side and reused qubits on the other would mix resource conventions.

#### Conditional states require faithful interpretation

The merge equations describe branches conditioned on measurement outcomes and a chosen mapping into the surviving logical space. These are not unconditional unitary maps on arbitrary input pairs. A reader must retain the outcome records, normalization of the surviving branch, and logical reference choices when translating the algebra into an implementation.

Some displayed intermediate algebra is less transparent than the later logical result. In particular, the CNOT discussion contains an intermediate smooth-merge line whose basis-state labels do not cleanly match the subsequent expansion. The reliable explanatory route is to follow the measured logical parity, the stated split transformation, and the final conditional target action together.

This does not turn the construction into an empirical uncertainty, but it does limit how casually the equations can be reused. A software or circuit implementation would need internally consistent conventions for each branch and boundary. The paper’s diagrams and logical claims should be checked against those conventions rather than treated as interchangeable shorthand.

The split operation likewise should not be read as copying an arbitrary unknown state. The output patches share a correlated encoding. Losing access to part of that encoding is not equivalent to retaining an independent full copy elsewhere. The method’s power comes from controlled redistribution of quantum information, with all the accompanying constraints.

#### Universality is not a complete application budget

The state-injection procedure helps complete a universal gate repertoire, but the compact CNOT allocation is not a resource estimate for an arbitrary computation. Ancillary-state preparation and distillation, subsequent gate sequences, and the layout needed to move information between operations all matter to such a budget.

Growing a patch after injection also does not establish that the initial special state was prepared perfectly. The proposal explains how to encode and enlarge the state. The quality of the supplied state and the role of distillation remain distinct parts of the computational scheme.

The communication discussion has a similar boundary. Converting a defect qubit into a detachable planar patch shows how a compact protected representation could be prepared for distribution. The paper does not report a communication experiment or quantify a network-level performance improvement.

Finally, the account remains a theoretical construction with proposed experiments. Its strongest conclusions concern what local operations can implement, which logical information they preserve, and how much space the described layouts occupy. Experimental robustness and the best possible complete architecture remain beyond what these calculations alone establish.

### What came after

The paper does not contain a later experimental or theoretical history of lattice surgery. Its references describe the background and related techniques on which the construction draws. They cannot establish what subsequent research did with the proposal, and no later works are identified here for a documented continuation.

The authors do, however, give a clear prospective research programme. They propose encoded entanglement generation and a compact logical CNOT as experimental targets. They also point towards communication between protected planar qubits, extraction of planar patches from defect encodings, and the use of boundary interactions in distributed computation.

Those proposals identify what a later demonstration would need to establish. A physical experiment could test whether the required boundary checks and classical interpretation preserve the intended logical correlations. A broader architectural analysis could determine whether compact local gates remain advantageous once workspace, state preparation, and communication are included. The paper supplies the operations and resource arguments that motivate those questions; it does not supply their later answers.

## Cite

Cite as Dominic C. Horsman, Austin G. Fowler, Simon J. Devitt and Rodney Van Meter. 2012. Surface code quantum computing by lattice surgery. New Journal of Physics.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1088/1367-2630/14/12/123011](https://doi.org/10.1088/1367-2630/14/12/123011) · [arXiv 1111.4022](https://arxiv.org/abs/1111.4022)

```bibtex
@article{horsman2012surface,
  title = {{Surface code quantum computing by lattice surgery}},
  author = {Dominic C. Horsman, Austin G. Fowler, Simon J. Devitt and Rodney {Van Meter}},
  journal = {New Journal of Physics},
  year = {2012},
  doi = {10.1088/1367-2630/14/12/123011},
  eprint = {1111.4022},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1088/1367-2630/14/12/123011}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
