Skip to main content
KetQat

Appearance

Proof · advanced

Proof that lattice surgery measures a logical Pauli product

Reorder the commuting checks so that their product is measured first, which is the same as measuring L on a code state; every later check either has a fixed outcome or acts as a Clifford unitary that commutes with the logical operators of interest.

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.

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

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

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)

    Proof re-derived line by line: instrument equivalence for commuting checks, P_0 rho = eps L rho, unitarity of V_q and Pi rho Pi = (1/2) V rho V†, new stabilizer qQ (qQ V = V g), invariance of commuting logical expectations, and V† Q' V = q Q' Q g using (I + qQg)^2 = 2qQg.

    The closing parenthetical said a logical operator anticommuting with g is handled by multiplying it by stabilizers; stabilizers of the current group all commute with g, so that cannot change the commutation. Replaced by the induction showing the tracked representative always commutes with the current stabilizer group (starting from operators that commute with L), consistent with the corrected theorem part 3.

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