Skip to main content
KetQat

Appearance

Theorem · advanced

Lattice surgery measures a logical Pauli product

If the new checks of a merge multiply to a logical Pauli operator L times stabilizers, measuring them on a code state has exactly the statistics and back-action of a measurement of L on every logical operator that commutes with the new checks; other logical operators change only by a Pauli frame update.

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

Measure M1,…,MmM_1, \dots, M_m on ρ\rho, obtaining outcomes μ1,…,μm∈{±1}\mu_1, \dots, \mu_m \in \{\pm 1\}, and set λ=ϵ μj1⋯μjr\lambda = \epsilon\, \mu_{j_1} \cdots \mu_{j_r}. Then:

  1. λ\lambda has the distribution of the outcome of measuring LL on ρ\rho: Pr⁡[λ]=Tr⁡(ΠλLρ)\Pr[\lambda] = \tr(\Pi^{L}_{\lambda} \rho) with ΠλL=(I+λL)/2\Pi^{L}_{\lambda} = (I + \lambda L)/2.
  2. For every logical operator QQ of S0S_0 that commutes with all MjM_j, the post-measurement state ρ′\rho' satisfies Tr⁡(Qρ′)=Tr⁡(Q ΠλLρ ΠλL)/Pr⁡[λ]\tr(Q \rho') = \tr(Q\, \Pi^{L}_{\lambda} \rho\, \Pi^{L}_{\lambda}) / \Pr[\lambda], exactly as after an ideal measurement of LL.
  3. Every other logical operator of S0S_0 that commutes with LL is mapped to a different representative, multiplied by a sign that is a known function of the outcomes: a Pauli frame update.

In a merge, L=Pˉ1Pˉ2L = \bar{P}_1 \bar{P}_2 and the MjM_j are the checks of the merged patch that straddle the seam. The statement is the stabilizer-level content of the construction of Horsman and co-authors; the gauge-fixing view of Vuillot and co-authors extends the analysis to faulty measurements, where the merged checks must be repeated for about dd rounds so that the inferred product is reliable.

Holds when

  • Noiseless measurements. S0S_0 is an abelian group of Pauli operators on nn qubits, without −I-I, that includes the single-qubit stabilizers of the seam qubits' initial product state; the input ρ\rho satisfies sρ=ρs \rho = \rho for all s∈S0s \in S_0.
  • LL is a Hermitian Pauli operator that commutes with S0S_0 and is not in ±S0\pm S_0 (a logical operator).
  • M1,…,MmM_1, \dots, M_m are pairwise commuting Hermitian Pauli operators (the new checks), each commuting with LL, and L=ϵ Mj1⋯Mjr sL = \epsilon\, M_{j_1} \cdots M_{j_r}\, s for some subset of them, some s∈S0s \in S_0 and a known sign ϵ=±1\epsilon = \pm 1.
  • Non-degeneracy: when the remaining generators of the group generated by the MjM_j are measured one at a time after P0=Mj1⋯MjrP_0 = M_{j_1} \cdots M_{j_r}, each lies in plus or minus the current stabilizer group or anticommutes with one of its elements.

Proof

Proof that lattice surgery measures a logical Pauli productMachine-checked

Notation as in the theorem. Write ΠaA=(I+aA)/2\Pi^{A}_{a} = (I + aA)/2 for a Hermitian Pauli operator AA and a=±1a = \pm 1.

Step 0: the order and the generating set do not matter. Because the MjM_j commute, measuring them one after another (in any order) is the instrument whose operators are the joint spectral projectors ∏jΠμjMj\prod_j \Pi^{M_j}_{\mu_j}. These projectors are the joint eigenprojectors of the abelian group M\mathcal{M} generated by the MjM_j, and they are the same for any generating set of M\mathcal{M}; the outcomes for one generating set are products of the outcomes for another. We may therefore measure P0=Mj1⋯MjrP_0 = M_{j_1} \cdots M_{j_r} first, with outcome μ0=μj1⋯μjr\mu_0 = \mu_{j_1} \cdots \mu_{j_r}, and then further generators Q2,…,QkQ_2, \dots, Q_k that together with P0P_0 generate M\mathcal{M}.

Step 1: measuring P0P_0 is measuring LL. By hypothesis P0=ϵLsP_0 = \epsilon L s with s∈S0s \in S_0, and ss commutes with LL. Since sρ=ρ=ρss\rho = \rho = \rho s,

P0ρ=ϵLsρ=ϵLρ,ρP0=ϵρsL=ϵρL.P_0 \rho = \epsilon L s \rho = \epsilon L \rho, \qquad \rho P_0 = \epsilon \rho s L = \epsilon \rho L .

Hence Πμ0P0ρ Πμ0P0=ΠλLρ ΠλL\Pi^{P_0}_{\mu_0} \rho\, \Pi^{P_0}_{\mu_0} = \Pi^{L}_{\lambda} \rho\, \Pi^{L}_{\lambda} with λ=ϵμ0\lambda = \epsilon \mu_0. The probabilities (traces) agree, which proves part 1, and the conditional state ρ1=ΠλLρ ΠλL/Pr⁡[λ]\rho_1 = \Pi^{L}_{\lambda} \rho\, \Pi^{L}_{\lambda} / \Pr[\lambda] is stabilized by the group G1G_1 generated by S0S_0 and λL\lambda L.

Step 2: the remaining checks. Suppose that before measuring Q=QiQ = Q_i the state ρi−1\rho_{i-1} is stabilized by an abelian group Gi−1G_{i-1}. By the non-degeneracy hypothesis there are two cases.

  • Q∈±Gi−1Q \in \pm G_{i-1}. The outcome is fixed and ΠqQρi−1ΠqQ=ρi−1\Pi^{Q}_{q} \rho_{i-1} \Pi^{Q}_{q} = \rho_{i-1}: nothing changes.
  • QQ anticommutes with some g∈Gi−1g \in G_{i-1}. Let Vq=(I+q Qg)/2V_q = (I + q\, Q g)/\sqrt{2}. Since (Qg)†=gQ=−Qg(Qg)\dagg = gQ = -Qg and (Qg)2=−I(Qg)^2 = -I, VqV_q is unitary with Vq†=(I−q Qg)/2V_q\dagg = (I - q\, Qg)/\sqrt{2}. Using gρi−1=ρi−1=ρi−1gg \rho_{i-1} = \rho_{i-1} = \rho_{i-1} g,
    (I+qQ)ρi−1=(I+q Qg)ρi−1,ρi−1(I+qQ)=ρi−1(I+q gQ)=ρi−1(I−q Qg),(I + qQ)\rho_{i-1} = (I + q\,Qg)\rho_{i-1}, \qquad \rho_{i-1}(I + qQ) = \rho_{i-1}(I + q\,gQ) = \rho_{i-1}(I - q\,Qg) ,
    so ΠqQρi−1ΠqQ=12Vqρi−1Vq†\Pi^{Q}_{q} \rho_{i-1} \Pi^{Q}_{q} = \tfrac{1}{2} V_q \rho_{i-1} V_q\dagg. Each outcome occurs with probability 1/21/2 and the conditional state is Vqρi−1Vq†V_q \rho_{i-1} V_q\dagg, stabilized by qQqQ and by the elements of Gi−1G_{i-1} that commute with QQ.

Step 3: logical operators commuting with the checks. Let Q′Q' be a logical operator of S0S_0 that commutes with every MjM_j, hence with every element of M\mathcal{M}. Every element of every GiG_i is a product of elements of S0S_0, of ±L\pm L and of elements of M\mathcal{M} (up to sign), and Q′Q' commutes with all of these; Q′Q' commutes with LL because L=ϵP0sL = \epsilon P_0 s is such a product. So Q′Q' commutes with QQ and gg in Step 2, hence with VqV_q, and Tr⁡(Q′Vqρi−1Vq†)=Tr⁡(Q′ρi−1)\tr(Q' V_q \rho_{i-1} V_q\dagg) = \tr(Q' \rho_{i-1}). By induction Tr⁡(Q′ρ′)=Tr⁡(Q′ρ1)\tr(Q' \rho') = \tr(Q' \rho_1), which is part 2.

Step 4: the other logical operators. If a logical operator Q′Q' of S0S_0 commutes with gg but anticommutes with QQ in Step 2, then Q′Q' anticommutes with QgQg and

Vq†Q′Vq=12(I−q Qg) Q′ (I+q Qg)=12 Q′(I+q Qg)2=q Q′Qg,V_q\dagg Q' V_q = \tfrac{1}{2} (I - q\,Qg)\, Q'\, (I + q\,Qg) = \tfrac{1}{2}\, Q' (I + q\,Qg)^2 = q\, Q' Q g ,

using (I+qQg)2=2q Qg(I + qQg)^2 = 2q\,Qg. So the expectation of Q′Q' after the step equals the expectation of q Q′Qgq\, Q' Q g before it: the information carried by Q′Q' is now carried by the operator q Q′Qgq\, Q' Q g, which differs from Q′Q' by the new stabilizer qQqQ and the old stabilizer gg, with a sign fixed by the outcome qq. This is the Pauli frame update of part 3. The case analysis is exhaustive for the operator being tracked: start from a logical operator Q′Q' that commutes with LL, so that it commutes with G1G_1; the updated representative q Q′Qgq\, Q' Q g commutes with qQqQ and with every element of Gi−1G_{i-1} that commutes with QQ, so by induction the tracked representative always commutes with the current stabilizer group, in particular with gg. (A logical operator that anticommutes with LL loses its expectation at Step 1, exactly as under an ideal measurement of LL.) □\square

The non-degeneracy hypothesis is what excludes a merge that accidentally measures a second logical operator: a generator that commuted with the whole current stabilizer group without belonging to it would act as an additional logical measurement. For surface-code merges the hypothesis is checked by the explicit form of the merged code (Vuillot and co-authors).

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. 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
  3. Daniel Gottesman (1997). Stabilizer Codes and Quantum Error Correction. PhD thesis, California Institute of Technology. arXiv:quant-ph/9705052

Contributors

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

Review history

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

    Statement checked against its proof, re-derived line by line (Step 0 instrument equivalence, Step 1 P_0 = eps L s acts as L on rho, Step 2 projection equals (1/2) V rho V† with V = (I + qQg)/sqrt 2, Steps 3-4 conjugation V† Q' V = q Q' Q g). Attributions compared with Horsman et al. (arXiv:1111.4022) and Vuillot et al. (arXiv:1810.10037) abstracts.

    Part 3 claimed a Pauli frame update for every other logical operator; one that anticommutes with L is randomised by the L measurement itself, as in an ideal measurement. Restricted part 3 to logical operators that commute with L.

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 7c4d389bbbd2f701. Source file knowledge/records/theorem/lattice-surgery-measures-logical-pauli-products.md in the content repository (readable there once it is public).