Papers
Topics
Authors
Recent
Search
2000 character limit reached

Logical Lattice Surgery CNOT Gate

Updated 6 December 2025
  • Logical lattice surgery CNOT gate is a universal, fault-tolerant entangling operation for CSS codes that merges and splits code patches.
  • It employs a step-by-step protocol with joint boundary measurements and homological transformations to maintain error suppression and resource efficiency.
  • The method generalizes to various CSS codes, enabling deterministic logical frame updates and minimizing physical connectivity requirements.

A logical CNOT gate implemented via logical lattice surgery is a universal, fault-tolerant entangling gate between two logical qubits encoded in topological quantum error correction codes, most notably Calderbank-Shor-Steane (CSS) codes. Logical lattice surgery CNOT leverages the merge and split of code patches, defining joint stabilizer measurements across boundaries, to induce the desired logical operation without the need for transversal logical gates or long-range physical connectivity. This paradigm is operationally grounded in the structure of code subspaces and is characterized by a systematic homological framework that generalizes directly from the surface code to arbitrary CSS codes, as rigorously developed in recent work (Poirson et al., 2 May 2025). Lattice-surgery-based CNOT gates underpin scalable architectures for quantum computation by minimizing both spatial overhead and physical connectivity requirements, and are directly compatible with 2D nearest-neighbor layouts.

1. Homological and Subcode Foundations

Logical lattice surgery protocols are codified at the stabilizer and homological levels. For a CSS code defined by parity-check matrices PZ:F2n→F2mZP_Z: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_Z}, PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}, the stabilizer group is {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}. A "Z-subcode" is defined via specific subspaces V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X} satisfying the restricted boundary maps of the code's chain complex: C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_0 with ∂1∘∂2=0\partial_1 \circ \partial_2 = 0. The subcode is included by an injective chain map i∙i_\bullet.

At the logical level, logical ZZ and XX operators correspond to homology classes: H1(E−)=ker⁡PX/im⁡PZTH_1(E_-) = \ker P_X / \operatorname{im} P_Z^T, PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}0. Merge and split procedures are formally quotients and inclusions of subchain complexes and induce transformations on the logical classes via exact sequences, enabling basis-independent logical tracking (Poirson et al., 2 May 2025).

2. Step-by-Step Lattice Surgery CNOT Protocol

The generic logical CNOT gate by lattice surgery, implemented between logical qubits on patches PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}1 (control), PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}2 (target), and auxiliary PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}3, proceeds through the following fundamental steps (for arbitrary CSS codes):

  1. Auxiliary Preparation: Initialize the ancilla PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}4 in the logical PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}5 state (logical PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}6, PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}7).
  2. Z-Merge PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}8: Identify a subchain with PX:F2n→F2mXP_X: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^{m_X}9, {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}0 and physically measure new boundary {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}1-stabilizers (joint {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}2). This operation projects onto an eigenspace where the logical classes {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}3 are identified.
  3. X-Split {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}4: Dual to the merge, measure the joint {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}5 checks on the boundary, identifying {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}6 at the cohomological level.
  4. X-Merge {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}7: Repeat a similar procedure for {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}8-stabilizers.
  5. Z-Split {Z(v):v∈im⁡PZT}∪{X(u):u∈im⁡PXT}\{ Z(v) : v \in \operatorname{im} P_Z^T \} \cup \{ X(u) : u \in \operatorname{im} P_X^T \}9: Measure V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}0 on the ancilla to disentangle and postselect.
  6. Classical Feedforward: Negative outcomes in the measurement record correspond to logical Pauli byproduct operators, requiring classical correction by application of V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}1 or V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}2. These can be tracked in the Pauli frame.

The physical implementation for a surface code employs the appropriate sets of joint boundary stabilizer measurements (e.g., V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}3), with code distance preserved at each step (Poirson et al., 2 May 2025).

3. Logical Operator Transformations and Fault Tolerance

The logical action induced by lattice surgery CNOT is characterized by explicit maps on the logical Pauli operators:

  • V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}4
  • V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}5
  • V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}6
  • V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}7

The protocol inherently preserves code distance at every stage. For each merge, the chain complex structure ensures V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}8 (no loss of logical protection), so the map V2⊆F2mZ,V1⊆F2n,V0⊆F2mXV_2 \subseteq \mathbb{F}_2^{m_Z}, V_1 \subseteq \mathbb{F}_2^n, V_0 \subseteq \mathbb{F}_2^{m_X}9 is surjective and cokernels are trivial. Error suppression scales as C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_00 with the code distance C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_01 and threshold C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_02 inherited from the base code. Resource overheads are dictated by the auxiliary patch, which may require C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_03 physical qubits for surface codes or C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_04 more generally. Embedding the auxiliary in spare code capacity leads to zero extra distance cost (Poirson et al., 2 May 2025).

4. Detailed Example: Surface Code Realization

For the surface code (planar code), the control and target patches are each distance-C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_05 square lattices, with appropriate rough and smooth boundaries. The Z-merge operation measures the sum over C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_06 physical qubits along the rough boundary (e.g., C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_07). After merging, the logical Z operator runs across the new rectangular patch, and the logical X runs orthogonal.

This procedure is directly equivalent in stabilizer structure to the canonical surface code lattice surgery CNOT, as introduced by Horsman et al. (Horsman et al., 2011). Only local, low-weight boundary stabilizers are modified during the surgery, maintaining strict 2DNN locality and simplifying hardware requirements. The Pauli frame update mechanism guarantees deterministic operation.

5. Extensions and Generalizations

The framework is independent of the underlying logical operator structure. It generalizes lattice surgery CNOT to all CSS codes beyond the surface code, including color codes and folded codes, via the same homological approach. This allows compilation and resource analysis for arbitrary quantum hardware and enables systematic tracking of logical operations at the code level (e.g., using exact sequences and chain complexes), without reliance on specific code geometries (Poirson et al., 2 May 2025).

No assumptions are made about the logical operator basis. Subcode inclusions and the associated merge projections are tracked homologically, allowing efficient implementation and analysis of logical CNOTs in codes where logical operators do not correspond to simple geometric boundaries.

6. Resource Scaling and Practical Considerations

The overhead for logical lattice-surgery CNOT is dominated by the auxiliary patch and boundary measurement operations. In the (planar) surface code, a patch of distance C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_08 requires C2→∂2C1→∂1C0C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_09 physical qubits, with total overhead for one CNOT of the same asymptotic order. Repeated multi-qubit boundary measurements never exceed the weight or spatial support of the base code. The logical error rate per CNOT is suppressed exponentially in ∂1∘∂2=0\partial_1 \circ \partial_2 = 00 and thresholds are inherited from the code family.

Physical connectivity remains strictly local, even in higher dimensions or non-standard geometries. Logical frame updates are always performed via tracked Pauli operations, and deterministic Clifford computation is achieved through software updates (Poirson et al., 2 May 2025).

7. Significance and Universal Applicability

Logical lattice surgery CNOT modules, grounded in homological algebra and subcode structure, are universal for Clifford computation in topological codes. The methodology enables compilation and optimization of logical circuits across subrate-constrained quantum architectures. The systematic framework developed in (Poirson et al., 2 May 2025) allows for basis-independent, distance-preserving, and resource-efficient realization of CNOT gates in arbitrary CSS codes, with clear prescription for logical operation tracking using chain complexes and exact homological sequences. This universality is foundational for scalable fault-tolerant quantum computing.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Logical Lattice Surgery CNOT Gate.