Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedPipeline-generatedjudge pass (gpt-6-luna)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Square planar surface-code distance and path count

Statement

For the relative d×d square patch of Square planar surface code, the code encodes one logical qubit and has stabilizer distance d. Every nontrivial Z logical class contains a rough-to-rough path of length at least d, and a straight row attains d. Every nontrivial X logical class contains a top-to-bottom dual path of length at least d+1. For each ℓ≥1, the number of self-avoiding rough-to-rough paths of length ℓ is at most (d+1)3ℓ.

Facts & Assumptions

Given: The relative boundary matrices of the square patch, its CSS stabilizer, and the logical Pauli quotient convention.

[F1]

Square planar surface code: the d×d relative grid has 2d2 physical edges with left and right rough boundary edges removed; the maps satisfy ∂1∂2=0, X checks are rows of ∂1, and Z checks are face boundaries with rough edges deleted.

[F2]

CSS encoding dimension and commutation: if C2⊆C1, the CSS code encodes dim⁡C1−dim⁡C2 qubits, with X checks from C2 and Z checks from C1⊥.

[F3]

Stabilizer syndromes and logical Pauli operators: a Pauli is in the normalizer exactly when it commutes with every stabilizer generator; logical Paulis are the normalizer modulo scalar phases and stabilizers.

[F4]

Stabilizer distance: distance is the minimum Pauli weight in N(S)∖ZnS when the code encodes a qubit.

[F5]

Rank-nullity: dim⁡FV=nullity⁡T+rank⁡T: for a finite matrix, the dimension of its domain is the sum of its kernel dimension and rank.

[F6]

Pauli commutator is symplectic pairing: two Pauli operators commute exactly when their binary symplectic pairing is zero.

[F7]

Generator and parity-check matrices over a finite field: a matrix row specifies a binary support vector in the declared coordinate order.

Proof

1.1F1givenalgebra

The grid has d(d+1) horizontal and d(d+1) vertical edges. Removing the 2d rough vertical edges leaves n=2d2 physical edges. The grid has (d+1)2 vertices, of which the two rough sides contain 2(d+1) distinct vertices; hence Q0 has (d−1)(d+1)=d2−1 coordinates. There are d2 faces.

1.2F1givenalgebra

The columns of ∂2 are independent. If a face combination b∈Q2 has zero boundary, its coefficient on each top horizontal physical edge is the coefficient of the unique face immediately below that edge, so all top-row face coefficients vanish. On the next horizontal row, each boundary coefficient is the sum of the face coefficients immediately above and below; the already-zero top row forces the next row to vanish. Repeating downward gives b=0. Hence rank⁡∂2=d2.

1.3F1algebra

A self-avoiding left-to-right path starts with one of the d+1 horizontal edges from a left rough vertex into the patch. At each subsequent vertex the square grid has at most four incident edges, and the edge just used cannot be immediately traversed backwards, leaving at most three choices. Thus for length ℓ≥1 there are at most (d+1)3ℓ−1≤(d+1)3ℓ such paths.

2.1F1step 1.1algebra

The rows of ∂1 are independent. Indeed, a linear combination of rows with coefficients av that vanishes on every physical edge has au+av=0 at the endpoints of each such edge, where av=0 on R. Every vertex outside R is connected to R by a horizontal path of physical edges, so these equations force every av=0.

3.1F8step 1.2step 2.1algebra

For a finite binary matrix A with p independent rows, its map into F2p is onto. Otherwise its image is a proper subspace; by [F8], extend a basis of that image to a basis of F2p and choose an added basis vector w. Define a linear functional to be 1 on w and 0 on every other vector of this basis. It is nonzero and vanishes on the image. In standard coordinates it is dot product with a nonzero coefficient vector, which gives a nontrivial linear combination of the rows of A equal to zero, a contradiction. Thus the map rank is p. Apply this argument to ∂1, using step 2.1, and to ∂2T, whose rows are independent because they are the transposes of the independent columns of ∂2 from step 1.2. Hence rank⁡∂1=d2−1 and rank⁡∂2T=d2; also rank⁡∂2=d2 by the independent columns in step 1.2.

4.1F2F5F7step 2.1step 3.1algebra

Put C2=row⁡(∂1) and C1=ker⁡(∂2T). The chain identity from Square planar surface code gives C2⊆C1. The independent rows in step 2.1 give dim⁡C2=d2−1, and [F5] with the map rank from step 3.1 gives dim⁡C1=2d2−rank⁡(∂2T)=d2. The CSS dimension theorem [F2] therefore gives k=dim⁡C1−dim⁡C2=1.

4.2F1F3F5F6F8step 1.1step 3.1

A Z-type Pauli with edge support z commutes with every X check exactly when ∂1z=0, so its support is a relative cycle. The Z-type stabilizers are exactly im⁡∂2, hence Z logical classes are ker⁡∂1/im⁡∂2. The chain identity gives im⁡∂2⊆ker⁡∂1. Extend a basis of im⁡∂2 to a basis of ker⁡∂1 using [F8]; the added basis vectors project to a basis of the quotient, since they span it and no nonzero combination of them lies in im⁡∂2. Therefore dim⁡(ker⁡∂1/im⁡∂2)=dim⁡ker⁡∂1−dim⁡im⁡∂2. By [F5], step 1.1 and step 3.1 give dim⁡ker⁡∂1=n−rank⁡∂1=2d2−(d2−1)=d2+1 and dim⁡im⁡∂2=rank⁡∂2=d2, so the quotient dimension is 1.

5.1F1F3step 4.2algebra

For a relative cycle z, let qi(z) be the parity of its selected horizontal edges between columns i and i+1, for i=0,…,d−1. Summing the relative vertex-boundary equations over columns 1,…,i cancels every interior edge twice and leaves only the two cut sets, so q0(z)=qi(z). Each face boundary has either zero or two horizontal edges in a given column strip, so qi vanishes on im⁡∂2. The straight horizontal row z0 has qi(z0)=1 for every i, and is therefore not a relative boundary. Since the quotient in step 4.2 is one-dimensional, every nonzero Z logical class has all qi=1; it must contain at least one horizontal edge in each of the d disjoint strips. Thus its weight is at least d, and z0 attains d.

6.1step 5.1constructalgebra

In the edge subgraph of a relative cycle, every vertex outside R has even degree, so all odd-degree vertices lie in R. The handshake identity ∑vdeg⁡(v)=2∣E∣ shows there are an even number of them. Add one dummy vertex joined to each odd boundary vertex; every degree in the augmented finite graph is now even. Starting with any unused edge, follow unused edges: at a vertex other than the start, the number of used incident edges is odd, so its even total degree leaves an unused edge. Finiteness therefore closes the trail at its start. Removing this closed trail preserves even degrees; repeating decomposes all edges into closed trails. Deleting dummy edges leaves cycles and paths with endpoints in R. Across any vertical cut, a cycle crosses evenly and a path crosses oddly exactly when its endpoints lie on opposite sides. Since qi=1, at least one path joins the left and right rough sides. Removing repeated-vertex loops leaves a self-avoiding such path contained in the support. It crosses each of the d disjoint vertical cuts, so its length is at least d.

6.2F1F2F3F6step 4.1step 4.2step 5.1algebra

For X-type supports, use the dual graph with one vertex per face and top and bottom exterior vertices, and one dual edge crossing each physical primal edge. The normalizer condition makes each face vertex even-degree, and X checks are the dual boundaries around vertices outside R. Their quotient has dimension dim⁡(C1/C2)=1 by step 4.1. A straight dual path from top to bottom is in the normalizer because it enters and leaves each face, and it crosses the straight Z logical row once. Since that Z cycle commutes with every X check, this odd intersection shows the dual path is not an X check; it represents the nonzero class.

7.1F1F3step 6.1step 6.2algebra

For an X support x, let qj′(x) be the parity of selected horizontal primal edges in row j, for j=0,…,d. Each X stabilizer has either zero or two such edges in each row, so every qj′ vanishes on the X stabilizer space. The straight dual path from step 6.2 has qj′=1 for all j. Since the X logical quotient is one-dimensional, every nontrivial class has qj′=1 in each of the d+1 disjoint rows. Its weight is therefore at least d+1. In the dual support graph every face vertex has even degree, so the finite even-degree decomposition from the path argument in step 6.1, now with top and bottom exterior vertices as boundary vertices, splits it into cycles and paths ending at those exterior vertices. A cycle and a path with both endpoints at the same exterior vertex cross each horizontal cut evenly; since every qj′=1, at least one path joins top to bottom. Every such path has length at least d+1, and the straight dual path attains this bound.

8.1F4step 4.1step 5.1step 6.1step 7.1algebra∎

Step 5.1 and step 6.1 show that every nontrivial Z logical support contains a self-avoiding left-to-right path, so the path count bounds the number of candidate logical paths of each length. Step 5.1 and step 7.1 give minimum nontrivial Z and X logical weights d and d+1, respectively. For a general normalizer Pauli iaXxZz, the CSS commutation equations require Xx and Zz separately to normalize the checks. If both components are scalar-phase stabilizers then so is their product, so a nontrivial general class has at least one nontrivial component. Its physical support contains the support of each component, since an overlap gives a nonidentity Y factor rather than cancellation. Thus its weight is at least min⁡(d,d+1)=d, and the straight Z row attains d. Since k=1 by step 4.1, [F4] gives stabilizer distance d.

Remarks

The count is a combinatorial upper bound on candidate paths, not a decoding failure probability. The proof uses the exact relative cellulation and no diagram.

Depends on

Used by

Dependency tree · two levels

52 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources