Remark 12: Worst-Case Graph Construction #
Statement #
We outline a construction that produces a graph G with qubit overhead O(W log² W) satisfying all desiderata from Remark 11, for a logical operator L of weight W.
Let L denote the support of L (so |L| = W), and let V = L be the vertex set.
Step 1: Z-type support matching For each check s_j with S_Z(s_j) ∩ L ≠ ∅, the intersection has even cardinality (since s_j commutes with L = ∏_v X_v). Pick a perfect matching and add edges, achieving Desideratum 1 with D = 1.
Step 2: Achieve expansion Add edges until h(G) ≥ 1 (Cheeger constant), satisfying Desideratum 2. The resulting graph G₀ is constant-degree.
Step 3: Cycle sparsification Apply Definition 6 to G₀ with R = O(log² W) layers (Lemma 2). All generating cycles have weight ≤ 4, satisfying Desideratum 3.
Result:
- Total qubits: O(W) · O(log² W) = O(W log² W)
- All checks have bounded weight
- Distance is preserved: d* ≥ d
Main Results #
commute_prodX_iff_even_zSupport: PauliCommute with ∏X ↔ even Z-supportcheck_commutes_implies_even_zSupport: commuting checks have even Z-supporteven_zSupport_card: the Z-support cardinality is evenstep1_achieves_desideratum1: matching edges give D = 1total_qubit_bound: O(W log² W) bound on total qubitsdistance_preserved_by_expansion: expansion prevents distance lossall_checks_bounded_weight: all check families have bounded weight
Step 1: Even Z-support from commutation with L #
The key mathematical fact: if a check s_j commutes with L = ∏_{v ∈ V} X_v, then |S_Z(s_j)| is even. This enables a perfect matching of the Z-support.
The symplectic inner product of P with prodX(univ) equals the sum of P's Z-vector.
PauliCommute with prodX(univ) is equivalent to CommutesWithLogical.
If a check commutes with L = ∏_v X_v, then its Z-support has even cardinality.
The Z-support cardinality modulo 2 is 0 when the check commutes with L.
Step 1: Z-support matching gives Desideratum 1 with D = 1 #
When a perfect matching of S_Z(s_j) is added as graph edges, any two vertices in S_Z(s_j) have distance at most 1 in G. More precisely: if every pair in S_Z(s_j) that needs to be connected by a deformation path has an edge in G, then ShortPathsForDeformation holds with D = 1.
We prove: if every pair of vertices in the same check's Z-support are adjacent in G, then ShortPathsForDeformation G checks 1 holds.
If every pair of vertices in the Z-support of the same check are adjacent in G, then ShortPathsForDeformation holds with D = 1.
In a graph where every check's Z-support forms a clique, the edge-path for deformation has at most 1 edge per pair of Z-support vertices.
Step 2: Expansion #
After adding expansion edges to achieve h(G) ≥ 1, the graph G₀ satisfies Desideratum 2 (SufficientExpansion). Combined with Step 1, this gives a constant-degree graph satisfying Desiderata 1 and 2.
Steps 1 and 2 together: if G has a clique on each check's Z-support and sufficient expansion, then Desiderata 1 and 2 are both satisfied.
Step 3: Cycle Sparsification #
Apply Definition 6 to obtain the sparsified graph with R = O(log² W) layers. The generating set of cycles has weight ≤ 4:
- Squares between adjacent layers have weight 4
- Triangles from cellulation have weight 3
The total number of qubits in the sparsified graph is |V| · (R + 1) + |E(G̿)| = O(W · log² W).
The sparsified graph's vertex count is (R+1) · W.
In the sparsified graph, Desideratum 3 (LowWeightCycleBasis) is satisfied with W = 4 when all generating cycles have weight ≤ 4.
Result: Total Qubit Overhead Bound #
The construction yields a graph with O(W log² W) total qubits. We prove the arithmetic bound that combines vertex and edge counts.
Total qubit bound: vertices + edges in the sparsified construction. For a Δ-bounded graph on W vertices with R layers: total = (R+1) · W + |E(sparsified)| The edge overhead satisfies 2|E| ≤ Δ_sparsified · (R+1) · W.
For a constant-degree graph G with degree ≤ Δ, the total qubit count (|V| + |E|) of the deformed code satisfies 2·(|V| + |E|) ≤ (2 + Δ)·|V|.
Bounded Weight of All Check Families #
After the construction, all three families of checks have bounded weight:
- Gauss checks A_v: weight ≤ 1 + Δ (from constant degree of the sparsified graph)
- Flux checks B_p: weight ≤ 4 (from the cycle weight bound in the sparsified graph)
- Deformed checks s̃_j: bounded weight from Step 1 (D = 1, each path uses ≤ w/2 edges)
Gauss check weight bound from constant degree.
Flux check weight bound from low-weight cycle basis.
When D = 1 (from Step 1), the deformed check's edge contribution is bounded by the number of nonzero entries in the edge path γ. With D = 1 matching, the path uses at most w/2 edges, where w = |S_Z(s_j)| / 2 (number of matched pairs).
Summary: All Desiderata from the Construction #
When the graph G₀ from Steps 1-2 is cycle-sparsified (Step 3):
- ShortPathsForDeformation with D = 1 (from Z-support matching edges)
- SufficientExpansion (from expansion edges in Step 2)
- LowWeightCycleBasis with W = 4 (from cycle sparsification) All checks have bounded weight and the total overhead is O(W log² W).
Distance is preserved: the expansion condition h(G) ≥ 1 ensures that every valid vertex subset S has boundary at least |S|, preventing distance loss. This is the key property from Step 2 that guarantees d* ≥ d (Lemma 3).
The worst-case construction satisfies all desiderata with D = 1, W = 4, and constant degree Δ, whenever the graph has the required properties.
The construction gives bounded check weights for all three families.
Main summary: the full construction. Given a Δ-bounded connected expander graph G₀ on W ≥ 2 vertices with a cycle collection satisfying the cycle rank property, the cycle-sparsified graph produces a deformed code with:
- O(W log² W) total qubits (from decongestion)
- All desiderata satisfied (D = 1, h(G) ≥ 1, cycle weight ≤ 4)
- Bounded check weights (Gauss ≤ 1+Δ, flux ≤ 4, deformed bounded by D=1)
- Distance preserved: every valid subset S has |∂S| ≥ |S|
With the Freedman-Hastings bound (from Lemma 2), the layer count is O(log² W), giving total qubit overhead O(W log² W).
Qubit Overhead Characterization #
The qubit overhead from the construction is characterized in terms of the weight W = |V| of the logical operator and the decongestion parameter.
The qubit overhead (number of additional qubits beyond the original) in the deformed code using the sparsified graph is: additional qubits = |E(G̿)| (number of edge qubits) For a Δ-bounded sparsified graph on (R+1)·W vertices: 2 · |E(G̿)| ≤ Δ_sp · (R+1) · W
Corollaries: Connection to Code Parameters #
When the construction is applied to a stabilizer code with parameters [[n, k, d]], the deformed code has parameters approximately [[n', k-1, d]] where n' = n + additional qubits = n + O(W log² W).
The deformed code loses exactly one logical qubit.
The additional qubits from the construction: |V| + |E| - original n = |E|.