Introduction
Quantum error-correcting codes increasingly exploit intricate stabilizer structures and nonlocal connectivity to achieve more versatile logical operations and higher encoding efficiency [1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 ] . These advantages become consequential for fault-tolerant quantum computation only if the codes are sufficiently resilient to noise. A code’s noise resilience depends on the collective behavior of an ensemble of error configurations, not merely on the minimum weight of a logical error. The optimal threshold quantifies this resilience by marking the code’s correctability boundary and governing logical-error suppression [15 , 16 ] . Nevertheless, it is undetermined even for prominent code families.
Determining the optimal threshold is both theoretically revealing and technically challenging. Optimal decoding admits a statistical-mechanical description in which the loss of correctability corresponds to a phase transition in a spin model with quenched disorder [15 ] . This correspondence has long driven efforts to locate optimal thresholds and explore unconventional states of matter [17 , 18 , 19 , 20 , 21 , 22 , 23 ] . However, the standard route has relied heavily on model-specific analysis and large-scale numerical simulations. For structurally complex codes, it can entail substantial analytical effort and prohibitive computational cost [22 , 23 ] . Recent advances have broadened diagnostic approaches and representations of fault-tolerance properties in quantum codes [24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 ] . They remain largely focused on benchmarking against known thresholds and establishing code-distance scaling. Yet frameworks that provide a general formulation of code fault tolerance and enable systematic quantification of error resilience are still elusive.
In this Letter, we develop a constructive algebraic framework for determining optimal thresholds of topological codes in spacetime. Going beyond representation, the framework establishes topological protection in spacetime and unifies threshold computation and gauge-structure analysis. This unification is achieved through a free-resolution construction of the spacetime fault complex and the transfer of exactness across CSS sectors to the dual interaction complex. Within this framework, we construct computational machinery in which local stabilizer data supply the complete algebraic input for determining optimal thresholds, even for structurally complex codes. From the same data, the framework also specifies the complete local gauge structure encoding the spacetime constraints on code excitations.
To demonstrate its reach, we compute the previously unknown optimal thresholds for six prominent codes under spacetime decoherence, summarized in Table I . These codes span structurally distinct code families and include more recent bivariate bicycle (BB) codes alongside computationally challenging examples such as the 3D color code and Haah’s code, introduced in 2006 and 2011, respectively [2 , 3 ] . The two BB families containing the gross and two-gross codes both yield p t h = 0.029 ( 2 ) p_{\mathrm{th}}=0.029(2) p th = 0.029 ( 2 ) , despite their different maximal logical-qubit counts. For the 3D color code, a paradigmatic route to fault-tolerant non-Clifford gates, we obtain p t h = 0.011 ( 1 ) p_{\mathrm{th}}=0.011(1) p th = 0.011 ( 1 ) , resolving its long-standing threshold problem. Moreover, we reveal exceptional error resilience of fracton codes, with p t h = 0.034 ( 2 ) p_{\mathrm{th}}=0.034(2) p th = 0.034 ( 2 ) , 0.034 ( 1 ) 0.034(1) 0.034 ( 1 ) , and 0.022 ( 1 ) 0.022(1) 0.022 ( 1 ) for Haah’s, checkerboard, and X-cube codes, respectively.
Table I. Optimal thresholds and induced gauge theories for six representative codes under spacetime decoherence, spanning qLDPC, higher-dimensional topological, and fracton families. All these thresholds were previously unknown and would be difficult to determine using conventional approaches. The code-induced gauge theories exhibit novel gauge structures and order parameters.
In addition, the codes investigated here induce new spacetime gauge theories with higher-form, symmetry-enriched, subsystem, and fractal structures. We construct their gauge-invariant order parameters and demonstrate a fundamental distinction between gauge-charge closure and geometric closure.
Algebraic spacetime framework
We first recall the standard algebraic description of a translation-invariant Calderbank-Shor-Steane (CSS) code [33 ] . Let R s = F 2 [ x 1 ± 1 , … , x D ± 1 ] R_s = \mathbb{F}_2[x_1^{\pm1}, \ldots, x_D^{\pm1}] R s = F 2 [ x 1 ± 1 , … , x D ± 1 ] be the Laurent polynomial ring of translations on a D D D -dimensional spatial lattice, and suppose each unit cell contains a a a X X X -type checks, b b b Z Z Z -type checks, and q q q qubits. The static code can be represented by the chain complex
C 1 → ∂ 1 C 0 → ∂ 0 C − 1 . (1) C_1 \xrightarrow{\partial_1} C_0 \xrightarrow{\partial_0} C_{-1}. \tag*{(1)} C 1 ∂ 1 C 0 ∂ 0 C − 1 . (1)
Here C 1 = R s a ⊕ R s b C_1 = R_s^a \oplus R_s^b C 1 = R s a ⊕ R s b , C 0 = R s q ⊕ R s q C_0 = R_s^q \oplus R_s^q C 0 = R s q ⊕ R s q , and C − 1 = R s b ⊕ R s a C_{-1} = R_s^b \oplus R_s^a C − 1 = R s b ⊕ R s a are the free R s R_s R s -modules of check labels, Pauli supports, and syndromes, respectively. The differentials ∂ 1 = ( A ˉ 0 0 B ) \partial_1 = \begin{pmatrix} \bar{A} & 0 \\ 0 & B \end{pmatrix} ∂ 1 = ( A ˉ 0 0 B ) and ∂ 0 = ( B † 0 0 A ˉ † ) \partial_0 = \begin{pmatrix} B^\dagger& 0 \\ 0 & \bar{A}^\dagger\end{pmatrix} ∂ 0 = ( B † 0 0 A ˉ † ) are the stabilizer and syndrome maps, respectively, where A ˉ \bar{A} A ˉ and B B B specify the supports of the X X X - and Z Z Z -type stabilizers. The code is topological if the complex is exact on the infinite lattice, namely, im ∂ 1 = ker ∂ 0 \operatorname{im}\partial_1 = \ker\partial_0 im ∂ 1 = ker ∂ 0 .
Promoting the chain complex to spacetime is necessary because realistic syndrome measurements are intrinsically noisy. To obtain a unified description of the stabilizer structure and repeated syndrome measurements, we construct a spacetime fault complex:
F ∙ : ⋯ ⟶ F 2 → □ 2 F 1 → □ 1 F 0 → □ 0 F − 1 ⟶ 0. (2) F_\bullet:\ \cdots\longrightarrow F_2 \xrightarrow{\square_2} F_1 \xrightarrow{\square_1} F_0 \xrightarrow{\square_0} F_{-1} \longrightarrow0. \tag*{(2)} F ∙ : ⋯ ⟶ F 2 □ 2 F 1 □ 1 F 0 □ 0 F − 1 ⟶ 0. (2)
Here, the spacetime modules F i = ( C i ⊕ C i − 1 ) ⊗ R s R s t F_i = (C_i \oplus C_{i-1}) \otimes_{R_s} R_{st} F i = ( C i ⊕ C i − 1 ) ⊗ R s R s t combine two adjacent modules of the static complex, with spacetime ring R s t = F 2 [ x 1 ± 1 , … , x D ± 1 , t ± 1 ] R_{st} = \mathbb{F}_2[x_1^{\pm1}, \ldots, x_D^{\pm1}, t^{\pm1}] R s t = F 2 [ x 1 ± 1 , … , x D ± 1 , t ± 1 ] and time translation t t t . Two successive measurement rounds are coupled through the spacetime differentials
□ i ≥ 1 = ( ∂ i ( t − 1 ) I 0 ∂ i − 1 ) , □ 0 = ( ∂ 0 ( t − 1 ) I ) . (3) \square_{i\geq1} = \begin{pmatrix} \partial_i & (t-1)I \\ 0 & \partial_{i-1} \end{pmatrix}, \qquad\square_0 = \begin{pmatrix} \partial_0 & (t-1)I \end{pmatrix}. \tag*{(3)} □ i ≥ 1 = ( ∂ i 0 ( t − 1 ) I ∂ i − 1 ) , □ 0 = ( ∂ 0 ( t − 1 ) I ) . (3)
The physical interpretation of this construction is transparent: F 0 F_0 F 0 is the fault-history module, containing both data-qubit and measurement faults, while F 1 F_1 F 1 and F − 1 F_{-1} F − 1 label local fault deformations and detection events, respectively. The differentials □ 1 \square_1 □ 1 and □ 0 \square_0 □ 0 are the fault-deformation and detector maps, respectively. The higher differentials □ i ≥ 2 \square_{i\geq2} □ i ≥ 2 generate a hierarchy of local relations and complete a free resolution of the fault-deformation module. The static complex is correspondingly extended to C ∙ : ⋯ → C 2 → ∂ 2 C 1 → ∂ 1 C 0 → ∂ 0 C − 1 C_\bullet:\cdots\to C_2 \xrightarrow{\partial_2} C_1 \xrightarrow{\partial_1} C_0 \xrightarrow{\partial_0} C_{-1} C ∙ : ⋯ → C 2 ∂ 2 C 1 ∂ 1 C 0 ∂ 0 C − 1 .
This formulation also makes the spacetime exactness relations and their physical consequences transparent. The spacetime fault complex in Eq. (2) factors as F ∙ = C ∙ ⊗ R s K ∙ F_\bullet= C_\bullet\otimes_{R_s} K_\bullet F ∙ = C ∙ ⊗ R s K ∙ , where repeated syndrome measurements are encoded by a single-generator Koszul complex K ∙ = [ R s t → t − 1 R s t ] K_\bullet= [R_{st} \xrightarrow{t-1} R_{st}] K ∙ = [ R s t t − 1 R s t ] . As K ∙ K_\bullet K ∙ resolves R s t / ( t − 1 ) ≃ R s R_{st}/(t-1) \simeq R_s R s t / ( t − 1 ) ≃ R s , the tensor product extension preserves static homology: H i ( F ∙ ) ≃ H i ( C ∙ ) H_i(F_\bullet) \simeq H_i(C_\bullet) H i ( F ∙ ) ≃ H i ( C ∙ ) . The static topological condition thus extends to spacetime as im □ 1 = ker □ 0 \operatorname{im}\square_1 = \ker\square_0 im □ 1 = ker □ 0 , ensuring topological protection and a diverging fault distance as the spacetime system grows. Likewise, the higher exactness of C ∙ C_\bullet C ∙ transfers to im □ i + 1 = ker □ i \operatorname{im}\square_{i+1} = \ker\square_i im □ i + 1 = ker □ i for i ≥ 1 i \geq1 i ≥ 1 , ensuring that the free resolution of im □ 1 \operatorname{im}\square_1 im □ 1 encodes complete information about local fault deformations and their higher relations. See SM [34 ] for proofs.
Whereas F ∙ F_\bullet F ∙ describes the spacetime stabilizer structure, the optimal decoding problem is encoded in a dual formulation. To faithfully represent fault-class likelihoods, the formulation must account for the full kernel of □ 1 † \square_1^\dagger □ 1 † and its higher relations. However, the ordinary dual of F ∙ F_\bullet F ∙ does not generally inherit its exactness. We need to supply the missing generators to remove the cohomological obstruction to completeness.
The resulting formulation is an interaction cochain complex. For clarity, we decompose the CSS fault complex sectorwise as F ∙ = F ∙ X ⊕ F ∙ Z F_\bullet= F_\bullet^X \oplus F_\bullet^Z F ∙ = F ∙ X ⊕ F ∙ Z by taking the two diagonal blocks of ∂ 1 \partial_1 ∂ 1 and ∂ 0 \partial_0 ∂ 0 . The most relevant segment is
F ~ 2 μ → □ ~ 2 μ F 0 μ → □ ~ 1 μ = ( □ 1 μ ) † F 1 μ → ( □ 2 μ ) † F ~ 2 μ , (4) \widetilde{F}_2^\mu\xrightarrow{\widetilde{\square}_2^\mu} F_0^\mu\xrightarrow{\widetilde{\square}_1^\mu=(\square_1^\mu)^\dagger} F_1^\mu\xrightarrow{(\square_2^\mu)^\dagger} \widetilde{F}_2^\mu, \tag*{(4)} F 2 μ □ 2 μ F 0 μ □ 1 μ = ( □ 1 μ ) † F 1 μ ( □ 2 μ ) † F 2 μ , (4)
with { μ , ν } = { X , Z } \{\mu,\nu\} = \{X,Z\} { μ , ν } = { X , Z } and F ~ 1 ν = ( C 0 ν ⊕ C 1 ν ) ⊗ R s R s t ≃ F 1 μ \widetilde{F}_1^\nu= (C_0^\nu\oplus C_1^\nu)\otimes_{R_s}R_{st} \simeq F_1^\mu F 1 ν = ( C 0 ν ⊕ C 1 ν ) ⊗ R s R s t ≃ F 1 μ written in the reversed block order. On this adjoint side, ( □ 1 μ ) † (\square_1^\mu)^\dagger ( □ 1 μ ) † defines the interaction map of the auxiliary-spin model underlying optimal decoding, while ( □ 2 μ ) † (\square_2^\mu)^\dagger ( □ 2 μ ) † encodes its gauge structure. To generate all finite-support interaction relations, we construct
□ ~ 2 ν = ( ∂ 1 ν 0 ( t − 1 − 1 ) I ∂ 2 ν ) = ( ( □ 0 μ ) † 0 0 ∂ 2 ν ) \widetilde{\square}_2^\nu= \begin{pmatrix} \partial_1^\nu& 0 \\ (t^{-1}-1)I & \partial_2^\nu\end{pmatrix} = \begin{pmatrix} (\square_0^\mu)^\dagger& 0 \\ 0 & \partial_2^\nu\end{pmatrix} □ 2 ν = ( ∂ 1 ν ( t − 1 − 1 ) I 0 ∂ 2 ν ) = ( ( □ 0 μ ) † 0 0 ∂ 2 ν )
as a complete syzygy map of ( □ 1 μ ) † (\square_1^\mu)^\dagger ( □ 1 μ ) † , augmenting the detector adjoint ( □ 0 μ ) † (\square_0^\mu)^\dagger ( □ 0 μ ) † with the missing generators.
This dual construction reveals a cross-sector transfer of completeness. Exactness transfers from the ν \nu ν -sector fault complex to the complementary μ \mu μ -sector interaction cochain complex: im □ ~ 2 ν = ker ( □ 1 μ ) † \operatorname{im}\widetilde{\square}_2^\nu= \ker(\square_1^\mu)^\dagger im □ 2 ν = ker ( □ 1 μ ) † . Consequently, the completion overcomes the ordinary adjoint obstruction, H 0 ( ( F ∙ μ ) † ) ≃ H − 1 ( ( C ∙ μ ) † ) ≃ ker ∂ 1 ν H^0((F_\bullet^\mu)^\dagger) \simeq H^{-1}((C_\bullet^\mu)^\dagger) \simeq\ker\partial_1^\nu H 0 (( F ∙ μ ) † ) ≃ H − 1 (( C ∙ μ ) † ) ≃ ker ∂ 1 ν , establishing exactness at F 0 μ F_0^\mu F 0 μ . This correspondence extends to higher degrees through □ ~ i ν = ( ∂ i − 1 ν 0 ( t − 1 − 1 ) I ∂ i ν ) \widetilde{\square}_i^\nu= \begin{pmatrix} \partial_{i-1}^\nu& 0 \\ (t^{-1}-1)I & \partial_i^\nu\end{pmatrix} □ i ν = ( ∂ i − 1 ν ( t − 1 − 1 ) I 0 ∂ i ν ) , i ≥ 1 i \geq1 i ≥ 1 , obtained from □ i ν \square_i^\nu □ i ν by temporal inversion and block exchange. The temporal Koszul extension accounts for the one-degree shift in adjoint cohomology, H j ( ( F ∙ μ ) † ) ≃ H j − 1 ( ( C ∙ μ ) † ) H^j((F_\bullet^\mu)^\dagger) \simeq H^{j-1}((C_\bullet^\mu)^\dagger) H j (( F ∙ μ ) † ) ≃ H j − 1 (( C ∙ μ ) † ) . CSS pairing and exactness transport thus supply the complete interaction-relation hierarchy without a sepparate construction. In particular, H 1 ( ( F 0 μ ) † ) ≅ H 0 ( C ν ) = 0 H^{1}((F_{0}^{\mu})^{\dagger}) \cong H_{0}(C^{\nu}) = 0 H 1 (( F 0 μ ) † ) ≅ H 0 ( C ν ) = 0 ensures the same local data also generate all finite-support gauge-invariant observables [34 ] .
The framework thus unifies spacetime fault tolerance, threshold computation, and gauge-structure analysis in a constructive algebraic formulation.
Computational machinery for optimal thresholds— To demonstrate the framework’s computational capability beyond formal representation, we develop machinery for threshold determination from the spacetime boundary maps.
Let ξ ∈ F 0 \xi\in F_{0} ξ ∈ F 0 be a fault history and [ ξ ] = ξ + im ∂ 1 [\xi] = \xi+ \operatorname{im}\partial_{1} [ ξ ] = ξ + im ∂ 1 denote its fault-equivalence class. Optimal decoding compares the probabilities of classes compatible with the observed detection-event record. For clarity, we treat the two CSS sectors separately and assume independent qubit and measurement faults with a common error rate p p p . We assign each fault-equivalence class [ ξ μ ] [\xi_{\mu}] [ ξ μ ] a partition function, defined by
Z ξ μ ( β ) = ∑ ζ μ exp [ β ∑ ℓ ( − 1 ) ξ μ ( ℓ ) + ( □ 1 μ ζ μ ) ( ℓ ) ] = Z 0 ( β ) ∑ g ∈ ker ( ( □ 1 μ ) † ) ( tanh β ) ∣ g ∣ ∏ ℓ ∈ supp g J ℓ . (5) \begin{aligned}
Z_{\xi_{\mu}}(\beta) &= \sum_{\zeta_{\mu}} \exp\left[\beta\sum_{\ell}(-1)^{\xi_{\mu}(\ell)+(\square_{1}^{\mu}\zeta_{\mu})(\ell)}\right] \\
&= Z_{0}(\beta)\sum_{g\in\ker((\square_{1}^{\mu})^{\dagger})}(\tanh\beta)^{|g|}\prod_{\ell\in\operatorname{supp}g}J_{\ell}. \tag*{(5)}
\end{aligned} Z ξ μ ( β ) = ζ μ ∑ exp [ β ℓ ∑ ( − 1 ) ξ μ ( ℓ ) + ( □ 1 μ ζ μ ) ( ℓ ) ] = Z 0 ( β ) g ∈ k e r (( □ 1 μ ) † ) ∑ ( tanh β ) ∣ g ∣ ℓ ∈ supp g ∏ J ℓ . (5)
Here, ℓ \ell ℓ labels fault locations in spacetime, and ζ μ ∈ F 1 μ \zeta_{\mu} \in F_{1}^{\mu} ζ μ ∈ F 1 μ parametrizes local fault deformations. The parameter β \beta β is an effective inverse temperature defined by the Nishimori condition e − 2 β = p 1 − p e^{-2\beta} = \frac{p}{1-p} e − 2 β = 1 − p p , and J ℓ = ( − 1 ) ξ μ ( ℓ ) = ± 1 J_{\ell} = (-1)^{\xi_{\mu}(\ell)} = \pm1 J ℓ = ( − 1 ) ξ μ ( ℓ ) = ± 1 denotes the quenched random coupling at location ℓ \ell ℓ in the underlying spin model, whereas the interaction pattern is specified by ( □ 1 μ ) † (\square_{1}^{\mu})^{\dagger} ( □ 1 μ ) † . Z 0 ( β ) Z_{0}(\beta) Z 0 ( β ) is a nonsingular background.
This formulation connects the correctability of a code to a boundary-generated graph expansion. Admissible graphs g g g are inherited from the interaction cochain complex through the kernel condition ( □ 1 μ ) † g = 0 (\square_{1}^{\mu})^{\dagger}g = 0 ( □ 1 μ ) † g = 0 . Exactness at F 0 μ F_{0}^{\mu} F 0 μ in Eq. (4) then ensures a complete, constructive parametrization g = □ 2 γ g = \square_{2}\gamma g = □ 2 γ in the thermodynamic limit, with γ \gamma γ a finite configuration of local generators supplied by the stabilizer structure. The graph-generation procedure is entirely algebraic, applies across distinct codes without requiring code-specific geometric constructions or tessellations, and is independent of the disorder realization.
The optimal threshold corresponds to a thermodynamic phase transition on the Nishimori line, signaled by a nonanalyticity in the quenched free energy. We compute the quenched free-energy density [ f ξ μ ] [f_{\xi_{\mu}}] [ f ξ μ ] by integrating Möbius inversion over generator subsets γ \gamma γ with analytic disorder averaging, yielding
β [ f ξ μ ] = β f 0 − ∑ m ∑ k A m , k ( 1 − 2 p ) k tanh m β . (6) \beta[f_{\xi_{\mu}}] = \beta f_{0} - \sum_{m}\sum_{k} A_{m,k}(1-2p)^{k}\tanh^{m}\beta. \tag*{(6)} β [ f ξ μ ] = β f 0 − m ∑ k ∑ A m , k ( 1 − 2 p ) k tanh m β . (6)
Here, f 0 f_{0} f 0 is the nonsingular contribution from Z 0 ( β ) Z_{0}(\beta) Z 0 ( β ) , m m m is the expansion order, k ∈ { m , m − 2 , … , m m o d 2 } k \in\{m,m-2,\ldots,m\bmod2\} k ∈ { m , m − 2 , … , m mod 2 } arises from analytic disorder averaging, and A m , k A_{m,k} A m , k is the corresponding expansion coefficient. These coefficients are computed directly in the thermodynamic limit, so no finite-size extrapolation is required.
Moreover, retaining p p p symbolically makes the expansion reusable across disorder strengths, and analytic disorder averaging eliminates the need to sample individual realizations. See SM [34 ] for details.
This algebraic machinery overcomes key bottlenecks that conventional approaches face in model construction and computation, especially for structurally complex codes.
Optimal thresholds for representative codes— We compute previously unknown optimal thresholds for six codes spanning qLDPC, higher-dimensional topological, and fracton families; the results are summarized in Table I . The overall threshold of each code is set by the minimum threshold of the two CSS sectors, p t h = min ( p t h X , p t h Z ) p_{\mathrm{th}}=\min(p_{\mathrm{th}}^{X},p_{\mathrm{th}}^{Z}) p th = min ( p th X , p th Z ) . Details of the calculation and threshold extraction are provided in the SM [34 ] .
For benchmarking, we also reproduce the code-capacity thresholds of the 3D color and X-cube codes in the perfect-measurement limit. We obtain threshold values of 0.020(2) and 0.074(2), respectively, in excellent agreement with the parallel-tempering Monte Carlo estimates of 0.019 and 0.075(2) [21 , 22 , 34 ] .
Figure 1 illustrates threshold extraction for the BB code family BB( 1 ˉ , 1 ˉ , 3 , 3 ˉ ) (\bar{1},\bar{1},3,\bar{3}) ( 1 ˉ , 1 ˉ , 3 , 3 ˉ ) . The gross [ [ 144 , 12 , 12 ] ] [[144,12,12]] [[ 144 , 12 , 12 ]] and two-gross [ [ 288 , 12 , 18 ] ] [[288,12,18]] [[ 288 , 12 , 18 ]] codes featured in IBM’s fault-tolerant roadmap are specific finite-size realizations of this family and the BB( 1 ˉ , 1 ˉ , 3 , 3 ˉ ) (\bar{1},\bar{1},3,\bar{3}) ( 1 ˉ , 1 ˉ , 3 , 3 ˉ ) family, respectively [12 , 35 , 36 ] . Despite extensive searches for BB codes with favorable encoding rates and code distances, their optimal thresholds had remained undetermined. Our machinery gives p t h = 0.029 ( 2 ) p_{\mathrm{th}} = 0.029(2) p th = 0.029 ( 2 ) for both families, despite their notably different maximal logical-qubit counts, k max = 16 k_{\max} = 16 k m a x = 16 and 26 26 26 , respectively [35 ] . The shared threshold estimate shows that greater maximal logical capacity can coexist with comparable intrinsic noise tolerance.
Figure 1. Optimal threshold of the BB( 1 ˉ , 1 ˉ , 3 , 3 ˉ ) (\bar{1},\bar{1},3,\bar{3}) ( 1 ˉ , 1 ˉ , 3 , 3 ˉ ) code under spacetime decoherence. (a) The phase boundary is determined by Dlog–Padé analysis of the graph expansion through order N = 62 N=62 N = 62 . Its intersection with the Nishimori line (black dashed) locates the optimal threshold. The optimal threshold is p t h = 0.029 ( 2 ) p_{\mathrm{th}}=0.029(2) p th = 0.029 ( 2 ) , with its uncertainty range shown by the red shading. (b) Order dependence of the threshold estimates across expansion orders N = 52 , 54 , … , 62 N=52,54,\ldots,62 N = 52 , 54 , … , 62 , using 26 different Dlog–Padé approximants in total. At each order, the black bar spans the minimum and maximum estimates across the approximants. (c) Reconstruction of the next coefficient from lower-order series data through N = 60 N=60 N = 60 . The small deviation ϵ \epsilon ϵ from the coefficient directly computed at N = 62 N=62 N = 62 provides a consistency check on the extrapolation; see SM [34 ] for details.
Another important example in Table I is the 3D color code, which represents a paradigmatic construction for realizing fault-tolerant non-Clifford logical gates [2 ] . However, its intricate stabilizer structure and decoding difficulty have hindered determination of its optimal threshold beyond the code-capacity setting. Whether its threshold is too low for practical hardware is a critical concern. We obtain an optimal threshold p t h = 0.011 ( 1 ) p_{\mathrm{th}} = 0.011(1) p th = 0.011 ( 1 ) , establishing its intrinsic noise tolerance.
Among fracton codes, Haah’s type-II code poses a particular challenge for threshold determination. Its fractal symmetry leads to exponentially spaced finite-size sequences, such as L = 2 n L = 2^n L = 2 n [23 , 33 ] . Our algebraic machinery overcomes this finite-size barrier and yields p t h = 0.034 ( 2 ) p_{\mathrm{th}} = 0.034(2) p th = 0.034 ( 2 ) under spacetime decoherence. For the type-I checkerboard and X-cube codes, we obtain optimal thresholds p t h = 0.034 ( 1 ) p_{\mathrm{th}} = 0.034(1) p th = 0.034 ( 1 ) and 0.022 ( 1 ) 0.022(1) 0.022 ( 1 ) , respectively. The X-cube threshold is close to the 3D toric-code benchmark p t h ≈ 0.02 p_{\mathrm{th}} \approx0.02 p th ≈ 0.02 [37 ] , while Haah’s and checkerboard codes exhibit substantially higher thresholds.
Gauge structures and order parameters — The optimal-decoding models for the codes in Table I realize several new gauge theories with higher-form, translation-enriched, subsystem, and fractal structures. These theories capture the spacetime constraints on code excitations and are of fundamental interest to many-body physics. More generally, our framework determines the complete local gauge structure of
code-induced theories and makes the construction of their gauge-invariant order parameters transparent.
The construction is entirely algebraic and requires only local stabilizer data. Let Σ ∈ F 1 μ \Sigma\in F_1^\mu Σ ∈ F 1 μ denote a finite spin support in the optimal-decoding model and W Σ W_\Sigma W Σ the associated spin product. The chain condition □ 1 μ □ 2 μ = 0 \square_1^\mu\square_2^\mu= 0 □ 1 μ □ 2 μ = 0 ensures that the local transformations generated by □ 2 μ \square_2^\mu □ 2 μ preserve every interaction term, while the exactness relation im □ 2 μ = ker □ 1 μ \operatorname{im}\square_2^\mu= \ker\square_1^\mu im □ 2 μ = ker □ 1 μ establishes the completeness of these local gauge transformations. The adjoint map assigns the gauge-charge pattern ( □ 2 μ ) † Σ (\square_2^\mu)^\dagger\Sigma ( □ 2 μ ) † Σ , whose nonzero entries identify the gauge charges carried by W Σ W_\Sigma W Σ . Gauge invariance is therefore equivalent to charge neutrality, ( □ 2 μ ) † Σ = 0 (\square_2^\mu)^\dagger\Sigma= 0 ( □ 2 μ ) † Σ = 0 , and the adjoint exactness relation im ( □ 1 μ ) † = ker ( □ 2 μ ) † \operatorname{im}(\square_1^\mu)^\dagger= \ker(\square_2^\mu)^\dagger im ( □ 1 μ ) † = ker ( □ 2 μ ) † guarantees that elementary interactions generate all finite-support gauge-invariant observables.
An order parameter for the gauge theory must be gauge invariant and extend to arbitrary scales to probe long-distance charge behavior. Our framework constructs gauge-invariant order parameters by combining charge creation, propagation, and annihilation in spacetime, subject to overall charge neutrality. Given F ∙ = C ∙ ⊗ R s K ∙ F_\bullet= C_\bullet\otimes_{R_s} K_\bullet F ∙ = C ∙ ⊗ R s K ∙ , the order-parameter support can be decomposed into spatial and temporal components whose gauge charges mutually cancel. A convenient choice is to first solve for an extended spatial support w w w , then carry its excitation pattern to an arbitrary measurement round r ≥ 1 r \ge1 r ≥ 1 . The resulting spin support is
Σ ( w , r ) μ = ( □ 1 μ ) † ( ( t + ⋯ + t r ) w 0 ) = ( ( t + ⋯ + t r ) ( □ 1 μ ) † w ( 1 + t r ) w ) . (7) \Sigma_{(w,r)}^\mu= (\square_1^\mu)^\dagger
\begin{pmatrix}
(t+\cdots+t^r)w\\
0
\end{pmatrix}
=
\begin{pmatrix}
(t+\cdots+t^r)(\square_1^\mu)^\dagger w\\
(1+t^r)w
\end{pmatrix}. \tag*{(7)} Σ ( w , r ) μ = ( □ 1 μ ) † ( ( t + ⋯ + t r ) w 0 ) = ( ( t + ⋯ + t r ) ( □ 1 μ ) † w ( 1 + t r ) w ) . (7)
Here, the upper and lower components describe the temporal propagation and spatial creation and annihilation of the static excitation pattern ( □ 1 μ ) † w (\square_1^\mu)^\dagger w ( □ 1 μ ) † w , respectively. The propagation joins successive rounds by canceling their paired creation and annihilation terms, forming a gauge-invariant history rather than merely copying the pattern r r r times.
This charge-neutralization procedure is code-independent and does not require prescribing observable geometries or gauge-charge types. Figure 2 illustrates characteristic order parameters for the codes in Table I , with construction details given in the SM [34 ] . The 3D color code leads to more familiar order parameters in 4D spacetime: Wilson loops in its X sector and closed membranes in its Z sector, reflecting the latter’s two-form gauge structure. BB codes instead induce translation-enriched gauge theories with ribbon order parameters. Although effectively one-dimensional at large scales, these ribbons have a finite width and a microscopic structure that reflects the quasi-fractonic anyon hopping of BB codes.
Figure 2. Gauge-invariant order parameters for code-induced spacetime gauge theories. (a) 3D color code: a Wilson loop in the X sector (left) and a closed membrane in the Z sector (right). The tetrahedra illustrate local gauge-charge motifs. (b) BB code: Spatial ribbons of bounded width joined by temporal strands, illustrated for B B ‾ ( 1 ˉ , 1 ˉ , 3 , 3 ) \overline{\mathrm{BB}}(\bar{1},\bar{1},3,3) BB ( 1 ˉ , 1 ˉ , 3 , 3 ) . The microscopic pattern within each ribbon reflects quasi-fractonic charge transport. (c) X-cube code: a wireframe-like support in the Z sector (left) and an open-ended tube in the X sector (right). (d) Haah’s code: two spatial fractal patterns joined by temporal strands, forming a sparse, non-manifold support. Spins are represented by diamonds, with different colors distinguishing their types. Dashed circles and polygons indicate charge excitations.
The order parameters of fracton-code-induced gauge theories reveal a fundamental distinction between charge closure and geometric closure. The Z sector of the X-cube code yields wireframe-like order parameters, while its X sector and the checkerboard code yield geometrically open-ended tubes. Their corresponding gauge charges exhibit restricted spatial mobility, characterizing distinct 4D subsystem gauge theories. For Haah’s code, the induced 4D gauge theory has a fractal gauge structure that encodes the code’s spatial charge-creation rules and their temporal extension. The associated order parameter has a sparse, non-manifold geometry, with two spatial fractal patterns joined by temporal strands.
Summary and outlook — In this Letter, we established a constructive algebraic framework for assessing the intrinsic error resilience of topological CSS codes and characterizing the gauge theories they induce. Our framework connects the fault and interaction complexes through complete relation hierarchies generated from the same local stabilizer data, enabling systematic threshold computation and gauge structure analysis. We demonstrate this capability by determining previously unknown optimal thresholds and associated gauge structures for six prominent, structurally distinct quantum codes under spacetime decoherence. Each code presents a demanding problem in its own right, yet all six admit a common, direct treatment within our framework.
The framework can also be applied to a wider range of translation-invariant CSS codes that admit a topological description [35 , 38 , 39 , 40 , 41 ] . This allows error resilience to be a parallel criterion alongside non-Clifford gate capabilities and high encoding rates. In addition, recent work has developed statistical-mechanical mappings for noisy stabilizer circuits, with applications to the repetition and toric codes [30 , 42 ] . Extending our algebraic framework to encompass these circuit-level representations could open a route to assessing error resilience across different circuit implementations of structurally complex codes.
Acknowledgments. This work is supported by the Strategic Priority Research Program of Chinese Academy of Sciences (Grant No. XDB1680000) and the National Natural Science Foundation of China (Grants No. 12675032, 12522502, 12474145, 12447101, 12322403, 12347107), the CAS Project for Young Scientists in Basic Research (Grant No. YSBR-150), the National Key Research and Development Project of China (Grants No. 2024YFA1408604 and 2022YFA1403900).
Data availability — The series expansion coefficients and graph enumeration counts are available at Zenodo [43 ] , together with a description of the method for determining sufficient storage cutoffs.
Spacetime Fault Complex and Gauge Structure
This section develops the spacetime construction in the notation of the main text. The static differentials are denoted by ∂ i \partial_i ∂ i , the spacetime fault differentials by □ i \Box_i □ i , and the completed interaction-relation maps by □ ~ i \widetilde{\Box}_i □ i . Unless a finite quotient is specified, all configurations have finite Laurent support on the infinite spatial or spacetime lattice.
Static CSS complex and stabilizer relations
Let R s = F 2 [ x 1 ± 1 , … , x D ± 1 ] R_s = \mathbb{F}_2[x_1^{\pm1},\ldots,x_D^{\pm1}] R s = F 2 [ x 1 ± 1 , … , x D ± 1 ] be the translation ring of a D D D -dimensional lattice. A translation-invariant CSS code with q q q qubits, a a a X X X -check types, and b b b Z Z Z -check types per unit cell is specified by stabilizer matrices A : R s a → R s q A:R_s^a\to R_s^q A : R s a → R s q and B : R s b → R s q B:R_s^b\to R_s^q B : R s b → R s q [33 ] . We suppress overall Pauli phases and fix lattice bases, using the same qubit ordering in the two Pauli sectors. For a matrix M M M , the adjoint is M † = M ‾ T M^\dagger=\overline{M}^{T} M † = M T , with x ‾ j = x j − 1 \overline{x}_j=x_j^{-1} x j = x j − 1 ; these bases identify each free module with its coordinate dual.
The two static sector complexes are
C ∙ X : R s a → A R s q → B † R s b , C ∙ Z : R s b → B R s q → A † R s a , (8) C_\bullet^X:\quad R_s^a \xrightarrow{A} R_s^q \xrightarrow{B^\dagger} R_s^b,\qquad
C_\bullet^Z:\quad R_s^b \xrightarrow{B} R_s^q \xrightarrow{A^\dagger} R_s^a, \tag*{(8)} C ∙ X : R s a A R s q B † R s b , C ∙ Z : R s b B R s q A † R s a , (8)
in degrees 1 1 1 , 0 0 0 , − 1 -1 − 1 . A sector label specifies the Pauli fault: an X X X fault violates Z Z Z checks, and a Z Z Z fault violates X X X checks. Thus C ∙ = C ∙ X ⊕ C ∙ Z C_\bullet=C_\bullet^X\oplus C_\bullet^Z C ∙ = C ∙ X ⊕ C ∙ Z has check-label module C 1 = R s a ⊕ R s b C_1=R_s^a\oplus R_s^b C 1 = R s a ⊕ R s b , Pauli-support module C 0 = R s q ⊕ R s q C_0=R_s^q\oplus R_s^q C 0 = R s q ⊕ R s q , and syndrome module C − 1 = R s b ⊕ R s a C_{-1}=R_s^b\oplus R_s^a C − 1 = R s b ⊕ R s a , with
∂ 1 = ( A 0 0 B ) , ∂ 0 = ( B † 0 0 A † ) . (9) \partial_1=
\begin{pmatrix}
A & 0\\
0 & B
\end{pmatrix},
\qquad
\partial_0=
\begin{pmatrix}
B^\dagger& 0\\
0 & A^\dagger
\end{pmatrix}. \tag*{(9)} ∂ 1 = ( A 0 0 B ) , ∂ 0 = ( B † 0 0 A † ) . (9)
Check commutativity is ∂ 0 ∂ 1 = 0 \partial_0\partial_1=0 ∂ 0 ∂ 1 = 0 . The infinite-lattice topological condition is exactness at C 0 C_0 C 0 :
ker ∂ 0 = im ∂ 1 ⟺ ker B † = im A , ker A † = im B . (10) \ker\partial_0=\operatorname{im}\partial_1
\qquad\Longleftrightarrow\qquad
\ker B^\dagger=\operatorname{im}A,\qquad
\ker A^\dagger=\operatorname{im}B. \tag*{(10)} ker ∂ 0 = im ∂ 1 ⟺ ker B † = im A , ker A † = im B . (10)
It means that every finite-support Pauli operator with zero syndrome is a product of stabilizers. Both sector conditions are assumed below.
Choose a bounded finite-free extension by resolving the stabilizer relations and their successive relations separately in each sector:
C ∙ : ⋯ ⟶ C 2 → ∂ 2 C 1 → ∂ 1 C 0 → ∂ 0 C − 1 ⟶ 0 , ker ∂ i = im ∂ i + 1 ( i ≥ 1 ) . (11) C_\bullet:\quad\cdots\longrightarrow C_2\xrightarrow{\partial_2}C_1\xrightarrow{\partial_1}C_0\xrightarrow{\partial_0}C_{-1}\longrightarrow0,
\qquad
\ker\partial_i=\operatorname{im}\partial_{i+1}\quad(i\ge1). \tag*{(11)} C ∙ : ⋯ ⟶ C 2 ∂ 2 C 1 ∂ 1 C 0 ∂ 0 C − 1 ⟶ 0 , ker ∂ i = im ∂ i + 1 ( i ≥ 1 ) . (11)
The higher differentials encode successive syzygies, as in the static relation-layer framework in Ref. [44 ] . We set C i = 0 C_i=0 C i = 0 for i < − 1 i<-1 i < − 1 and do not assume that ∂ 0 \partial_0 ∂ 0 is surjective. The sector differentials are written ∂ i μ \partial_i^\mu ∂ i μ . For complementary sectors { μ , ν } = { X , Z } \{\mu,\nu\}=\{X,Z\} { μ , ν } = { X , Z } , the fixed bases give ∂ 0 ν = ( ∂ 1 μ ) † \partial_0^\nu=(\partial_1^\mu)^\dagger ∂ 0 ν = ( ∂ 1 μ ) † and ∂ 1 ν = ( ∂ 0 μ ) † \partial_1^\nu=(\partial_0^\mu)^\dagger ∂ 1 ν = ( ∂ 0 μ ) † . Here C 0 ν C_0^\nu C 0 ν and C 0 μ C_0^\mu C 0 μ have the same qubit-coordinate basis, while C 1 ν C_1^\nu C 1 ν and C − 1 μ C_{-1}^\mu C − 1 μ have the same check-coordinate basis. The higher relation modules are chosen independently in the two sectors.
Temporal tensor product and spacetime exactness
Let t t t translate by one measurement round and set R s t = R s [ t ± 1 ] R_{\mathrm{st}} = R_{\mathrm{s}}[t^{\pm1}] R st = R s [ t ± 1 ] . Repeated syndrome extraction is encoded by the one-generator temporal Koszul complex [29 , 44 ]
K ∙ = [ 0 ⟶ R s t → t − 1 R s t ⟶ 0 ] , (12) K_{\bullet}=\left[0\longrightarrow R_{\mathrm{st}}\xrightarrow{t-1}R_{\mathrm{st}}\longrightarrow0\right], \tag*{(12)} K ∙ = [ 0 ⟶ R st t − 1 R st ⟶ 0 ] , (12)
in degrees 1, 0. The spacetime fault complex is its total tensor product with the static complex:
F ∙ = C ∙ ⊗ R s K ∙ , F i = ( C i ⊕ C i − 1 ) ⊗ R s R s t . (13) F_{\bullet}=C_{\bullet}\otimes_{R_{\mathrm{s}}}K_{\bullet},\qquad F_i=(C_i\oplus C_{i-1})\otimes_{R_{\mathrm{s}}}R_{\mathrm{st}}. \tag*{(13)} F ∙ = C ∙ ⊗ R s K ∙ , F i = ( C i ⊕ C i − 1 ) ⊗ R s R st . (13)
The two summands have temporal degrees 0, 1, respectively. Over F 2 \mathbb{F}_2 F 2 , the tensor-product signs disappear, giving
∂ i = ( ∂ i ( t − 1 ) I 0 ∂ i − 1 ) ( i ≥ 1 ) , ∂ 0 = ( ∂ 0 ( t − 1 ) I ) . (14) \partial_i=\begin{pmatrix}\partial_i & (t-1)I\\ 0 & \partial_{i-1}\end{pmatrix}\quad(i\ge1),\qquad
\partial_0=\begin{pmatrix}\partial_0 & (t-1)I\end{pmatrix}. \tag*{(14)} ∂ i = ( ∂ i 0 ( t − 1 ) I ∂ i − 1 ) ( i ≥ 1 ) , ∂ 0 = ( ∂ 0 ( t − 1 ) I ) . (14)
All degrees of the tensor product are retained, including the last temporal summand above the highest nonzero static module. Scalar extension to R s t R_{\mathrm{st}} R st is implicit from now on: for example, A A A denotes A ⊗ R s id R s t A\otimes_{R_{\mathrm{s}}\!}\operatorname{id}_{R_{\mathrm{st}}} A ⊗ R s id R st as a map R s t q → R s t q R_{\mathrm{st}}^q\to R_{\mathrm{st}}^q R st q → R st q , with unchanged matrix entries. The same convention applies to the other static maps, and the adjoint also sends t ↦ t − 1 t\mapsto t^{-1} t ↦ t − 1 .
The relevant part of the fault complex is
F 2 → ∂ 2 F 1 → ∂ 1 F 0 → ∂ 0 F − 1 ⟶ 0. (15) F_2\xrightarrow{\partial_2}F_1\xrightarrow{\partial_1}F_0\xrightarrow{\partial_0}F_{-1}\longrightarrow0. \tag*{(15)} F 2 ∂ 2 F 1 ∂ 1 F 0 ∂ 0 F − 1 ⟶ 0. (15)
Each module is defined by Eq. (13) ; in particular, F − 1 = C − 1 ⊗ R s R s t F_{-1}=C_{-1}\otimes_{R_{\mathrm{s}}}R_{\mathrm{st}} F − 1 = C − 1 ⊗ R s R st because C − 2 = 0 C_{-2}=0 C − 2 = 0 . For a fault history ξ = ( e , m ) ∈ F 0 \xi=(e,m)\in F_0 ξ = ( e , m ) ∈ F 0 , the detector output is ∂ 0 ξ = ∂ 0 e + ( t − 1 ) m \partial_0\xi=\partial_0e+(t-1)m ∂ 0 ξ = ∂ 0 e + ( t − 1 ) m , where e e e records data faults and m m m records measurement faults. The map ∂ 1 \partial_1 ∂ 1 generates local fault-history deformations, and ∂ 2 \partial_2 ∂ 2 generates relations among those deformations. The chain identities ∂ 0 ∂ 1 = 0 \partial_0\partial_1=0 ∂ 0 ∂ 1 = 0 and ∂ 1 ∂ 2 = 0 \partial_1\partial_2=0 ∂ 1 ∂ 2 = 0 follow from ∂ i − 1 ∂ i = 0 \partial_{i-1}\partial_i=0 ∂ i − 1 ∂ i = 0 . In particular, all histories in [ ξ ] = ξ + im ∂ 1 [\xi]=\xi+\operatorname{im}\partial_1 [ ξ ] = ξ + im ∂ 1 have the same detector output.
The CSS splitting is preserved: F ∙ = F ∙ X ⊕ F ∙ Z F_{\bullet}=F_{\bullet}^{X}\oplus F_{\bullet}^{Z} F ∙ = F ∙ X ⊕ F ∙ Z , with F ∙ μ = C ∙ μ ⊗ R s K ∙ F_{\bullet}^{\mu}=C_{\bullet}^{\mu}\otimes_{R_{\mathrm{s}}}K_{\bullet} F ∙ μ = C ∙ μ ⊗ R s K ∙ and sector maps ∂ i μ \partial_i^\mu ∂ i μ . For example,
∂ 1 X = ( A ( t − 1 ) I q 0 B ∗ ) , ∂ 1 Z = ( B ( t − 1 ) I q 0 A † ) . (16) \partial_1^X=\begin{pmatrix}A & (t-1)I_q\\ 0 & B^{*}\end{pmatrix},\qquad
\partial_1^Z=\begin{pmatrix}B & (t-1)I_q\\ 0 & A^{\dagger}\end{pmatrix}. \tag*{(16)} ∂ 1 X = ( A 0 ( t − 1 ) I q B ∗ ) , ∂ 1 Z = ( B 0 ( t − 1 ) I q A † ) . (16)
This algebraic decomposition does not assume statistically independent noise in the two sectors.
Proposition 1 (Temporal homology preservation). For the Laurent-polynomial complexes above,
H i ( F ∙ ) ≅ H i ( C ∙ ) (17) H_i(F_{\bullet})\cong H_i(C_{\bullet}) \tag*{(17)} H i ( F ∙ ) ≅ H i ( C ∙ ) (17) as R s R_{\mathrm{s}} R s -modules, with temporal translation acting as the identity on the right-hand side. The same statement holds sectorwise.
Proof. Multiplication by t − 1 t-1 t − 1 is injective, so K ∙ K_{\bullet} K ∙ is a free resolution of R s t / ( t − 1 ) ≅ R s R_{\mathrm{st}}/(t-1)\cong R_{\mathrm{s}} R st / ( t − 1 ) ≅ R s ; this is the one-generator case of the Koszul-resolution property [45 Corollary 4.5.5] . Tensoring its augmentation with the bounded free complex C ∙ C_{\bullet} C ∙ preserves the quasi-isomorphism. The resulting chain map is ( u , v ) ↦ u ∣ t = 1 (u,v)\mapsto u|_{t=1} ( u , v ) ↦ u ∣ t = 1 and induces the stated homology isomorphism. □ \square □
Evaluation at t = 1 t=1 t = 1 sums temporal coefficients; it does not select a physical measurement slice. Static exactness therefore gives
ker ∂ 0 μ = im ∂ 1 μ , ker ∂ i μ = im ∂ i + 1 μ ( i ≥ 1 ) . (18) \ker\partial_0^\mu=\operatorname{im}\partial_1^\mu,\qquad
\ker\partial_i^\mu=\operatorname{im}\partial_{i+1}^\mu\quad(i\ge1). \tag*{(18)} ker ∂ 0 μ = im ∂ 1 μ , ker ∂ i μ = im ∂ i + 1 μ ( i ≥ 1 ) . (18)
Every finite-support detector-free history is consequently a finite combination of translated local deformations, and the higher maps generate all their finite-support relations. This statement does not bound the spatial extent of a filling. Periodic time can introduce wrapping classes, and finite open-time protocols require their own boundary maps.
Corollary 1 (Periodic-family fault distance). For periodic spacetime quotients with diverging injectivity radius, fixed finite-range maps, and an exact infinite-lattice sector complex,
d f , μ ( L ) : = min { ∣ ξ ∣ : ξ ∈ ker ∂ 0 , L μ ∖ im ∂ 1 , L μ } ⟶ ∞ . (19) d_{f,\mu}(L):=\min\left\{|\xi|:\xi\in\ker\partial_{0,L}^{\mu}\setminus\operatorname{im}\partial_{1,L}^{\mu}\right\}\longrightarrow\infty. \tag*{(19)} d f , μ ( L ) := min { ∣ ξ ∣ : ξ ∈ ker ∂ 0 , L μ ∖ im ∂ 1 , L μ } ⟶ ∞. (19) Here ∣ ξ ∣ |\xi| ∣ ξ ∣ counts sector fault locations, and an empty minimum is ∞ \infty ∞ .
Proof. Otherwise there are nontrivial detector-free histories of bounded weight. Connect two fault locations when their detector supports overlap. Each connected component has bounded diameter and is itself detector free; at least one component is nontrivial. Up to translation there are finitely many such patterns, so a subsequence lifts to a fixed finite-support history on the infinite lattice. Exactness supplies a finite-support filling, which fits in an injectivity ball for all sufficiently large quotients. Projecting that filling makes the chosen component trivial, a contradiction. □
The conclusion is distance divergence. Its scaling rate and the numerical decoding threshold require further information about the code family and the noise model.
Dual complex and gauge theory
The adjoint of the fault complex is the cochain complex
( F ∙ μ ) † : F − 1 μ → ( □ 0 μ ) † F 0 μ → ( □ 1 μ ) † F 1 μ → ( □ 2 μ ) † F 2 μ ⟶ ⋯ . (20) (F^\mu_\bullet)^\dagger:\quad F^\mu_{-1}\xrightarrow{(\square^\mu_0)^\dagger}F^\mu_0\xrightarrow{(\square^\mu_1)^\dagger}F^\mu_1\xrightarrow{(\square^\mu_2)^\dagger}F^\mu_2\longrightarrow\cdots. \tag*{(20)} ( F ∙ μ ) † : F − 1 μ ( □ 0 μ ) † F 0 μ ( □ 1 μ ) † F 1 μ ( □ 2 μ ) † F 2 μ ⟶ ⋯ . (20)
The maps ( □ 1 μ ) † (\square^\mu_1)^\dagger ( □ 1 μ ) † and ( □ 2 μ ) † (\square^\mu_2)^\dagger ( □ 2 μ ) † encode interaction supports and gauge-charge patterns, respectively. Finite freeness gives the tensor-product duality
( F ∙ μ ) † ≅ ( C ∙ μ ⊗ R s K ∙ ) † ≅ ( C ∙ μ ) † ⊗ R s K ∙ † , (21) (F^\mu_\bullet)^\dagger\cong(C^\mu_\bullet\otimes_{R_s}K_\bullet)^\dagger\cong(C^\mu_\bullet)^\dagger\otimes_{R_s}K^\dagger_\bullet, \tag*{(21)} ( F ∙ μ ) † ≅ ( C ∙ μ ⊗ R s K ∙ ) † ≅ ( C ∙ μ ) † ⊗ R s K ∙ † , (21)
with total tensor products and adjoints over R s R_s R s and R s t R_{st} R s t on the two factors on the right. The temporal adjoint has differential t − 1 − 1 t^{-1}-1 t − 1 − 1 and cohomology R s R_s R s only in degree 1, so Eq. (21) gives
H j ( ( F ∙ μ ) † ) ≅ H j − 1 ( ( C ∙ μ ) † ) , j ∈ Z , (22) H^j((F^\mu_\bullet)^\dagger)\cong H^{j-1}((C^\mu_\bullet)^\dagger),\qquad j\in\mathbb{Z}, \tag*{(22)} H j (( F ∙ μ ) † ) ≅ H j − 1 (( C ∙ μ ) † ) , j ∈ Z , (22)
on the infinite lattice, as R s R_s R s -modules with t t t acting as the identity on the right.
On a translation-invariant system, introduce auxiliary-spin coordinates s ∈ F 1 μ s\in F^\mu_1 s ∈ F 1 μ , with σ j = ( − 1 ) s j \sigma_j=(-1)^{s_j} σ j = ( − 1 ) s j . For a spin support Σ ∈ F 1 μ \Sigma\in F^\mu_1 Σ ∈ F 1 μ , set W Σ ( s ) = ( − 1 ) ⟨ Σ , s ⟩ W_\Sigma(s)=(-1)^{\langle\Sigma,s\rangle} W Σ ( s ) = ( − 1 ) ⟨ Σ , s ⟩ , where the pairing is the binary dot product. With unit coupling magnitude, the boundary-map construction gives
H ξ μ ( s ) = − ∑ ℓ J ℓ W ( □ 1 μ ) † ℓ ( s ) , J ℓ = ( − 1 ) ξ μ ( ℓ ) . (23) H_{\xi^\mu}(s)=-\sum_{\ell}J_\ell W_{(\square^\mu_1)^\dagger\ell}(s),\qquad J_\ell=(-1)^{\xi^\mu(\ell)}. \tag*{(23)} H ξ μ ( s ) = − ℓ ∑ J ℓ W ( □ 1 μ ) † ℓ ( s ) , J ℓ = ( − 1 ) ξ μ ( ℓ ) . (23)
Here ℓ \ell ℓ is a fault-location basis vector in F 0 μ F^\mu_0 F 0 μ , and ξ μ \xi_\mu ξ μ fixes the quenched signs. Since ⟨ ( □ 1 μ ) † ℓ , s ⟩ = ( □ 1 μ s ) ( ℓ ) \langle(\square^\mu_1)^\dagger\ell,s\rangle=(\square^\mu_1s)(\ell) ⟨( □ 1 μ ) † ℓ , s ⟩ = ( □ 1 μ s ) ( ℓ ) , the spins parametrize the fault histories ξ μ + □ 1 μ s \xi_\mu+\square^\mu_1s ξ μ + □ 1 μ s . For independent binary faults of common rate p p p , the partition function on the Nishimori line e − 2 β = p / ( 1 − p ) e^{-2\beta}=p/(1-p) e − 2 β = p / ( 1 − p ) is proportional to the probability of [ ξ μ ] [\xi_\mu] [ ξ μ ] . The normalization, including the uniform multiplicity ∣ ker □ 1 μ ∣ |\ker\square^\mu_1| ∣ ker □ 1 μ ∣ , is derived in Sec. S.II A.
The Hamiltonian in Eq. (23) defines a gauge theory with gauge transformations of the form s ↦ s + □ 2 μ χ s\mapsto s+\square^\mu_2\chi s ↦ s + □ 2 μ χ . These preserve every interaction because □ 1 μ □ 2 μ = 0 \square^\mu_1\square^\mu_2=0 □ 1 μ □ 2 μ = 0 . By Eq. (18) , these shifts generate all finite-support interaction-preserving spin flips on the infinite lattice. A monomial is invariant under these gauge transformations precisely when
( □ 2 μ ) † Σ = 0. (24) (\square^\mu_2)^\dagger\Sigma=0. \tag*{(24)} ( □ 2 μ ) † Σ = 0. (24)
The vector ( □ 2 μ ) † Σ (\square^\mu_2)^\dagger\Sigma ( □ 2 μ ) † Σ is its gauge-charge pattern. Neutral supports modulo supports generated by interactions form H 1 ( ( F ∙ μ ) † ) H^1((F^\mu_\bullet)^\dagger) H 1 (( F ∙ μ ) † ) . On the infinite lattice, the j = 1 j=1 j = 1 case of Eq. (22) and the CSS pairing identities identify this quotient with H 0 ( C ∙ ν ) H_0(C^\nu_\bullet) H 0 ( C ∙ ν ) for the complementary sector ν \nu ν . Static exactness therefore gives
H 1 ( ( F ∙ μ ) † ) = 0 , ker ( □ 2 μ ) † = im ( □ 1 μ ) † . (25) H^1((F^\mu_\bullet)^\dagger)=0,\qquad\ker(\square^\mu_2)^\dagger=\operatorname{im}(\square^\mu_1)^\dagger. \tag*{(25)} H 1 (( F ∙ μ ) † ) = 0 , ker ( □ 2 μ ) † = im ( □ 1 μ ) † . (25)
Thus ( □ 1 μ ) † (\square^\mu_1)^\dagger ( □ 1 μ ) † generates all finite-support neutral supports on the infinite lattice, so their monomials are products of interactions. Finite periodic quotients may retain additional global neutral classes.
See Section S.V for concrete examples of order-parameter construction.
Resolution of interaction relations
Summing over auxiliary spins selects products of interactions with zero total support. Such an interaction relation is specified by g ∈ F 0 μ g \in F^\mu_0 g ∈ F 0 μ satisfying ( □ 1 μ ) † g = 0 (\square^\mu_1)^\dagger g = 0 ( □ 1 μ ) † g = 0 . The detector adjoint ( □ 0 μ ) † (\square^\mu_0)^\dagger ( □ 0 μ ) † generates such graphs, but can miss classes. On the infinite lattice, Eq. (22) and CSS pairing identify the obstruction:
ker ( □ 1 μ ) † im ( □ 0 μ ) † ≅ H − 1 ( ( C ∙ μ ) † ) = ker R s ∂ 1 ν . (26) \frac{\ker(\square^\mu_1)^\dagger}{\operatorname{im}(\square^\mu_0)^\dagger} \cong H^{-1}((C^\mu_\bullet)^\dagger) = \ker_{R_s}\partial^\nu_1. \tag*{(26)} im ( □ 0 μ ) † ker ( □ 1 μ ) † ≅ H − 1 (( C ∙ μ ) † ) = ker R s ∂ 1 ν . (26)
The missing classes therefore come from static stabilizer relations in the complementary sector.
With the fixed coordinate bases, we identify C 0 ν = ( C 0 μ ) † C^\nu_0 = (C^\mu_0)^\dagger C 0 ν = ( C 0 μ ) † and C ± 1 ν = ( C ∓ 1 μ ) † C^\nu_{\pm1} = (C^\mu_{\mp1})^\dagger C ± 1 ν = ( C ∓ 1 μ ) † , with differentials related by the CSS pairing identities. The higher static relation modules are chosen independently.
To resolve the interaction relations, tensor C ∙ ν C^\nu_\bullet C ∙ ν with a temporal factor whose differential is t − 1 − 1 t^{-1}-1 t − 1 − 1 , in homological degrees 1, 0. Denote the resulting tensor-product complex by F ~ ∙ ν \widetilde{F}^\nu_\bullet F ∙ ν . Listing the temporal-degree-1 summand first gives the modules F ~ i ν = ( C i − 1 ν ⊕ C i ν ) ⊗ R s R s t \widetilde{F}^\nu_i = (C^\nu_{i-1} \oplus C^\nu_i) \otimes_{R_s} R_{st} F i ν = ( C i − 1 ν ⊕ C i ν ) ⊗ R s R s t and the differentials
□ ~ i ν : = ( ∂ i − 1 ν 0 ( t − 1 − 1 ) I ∂ i ν ) , i ≥ 1. (27) \widetilde{\square}^\nu_i := \begin{pmatrix} \partial^\nu_{i-1} & 0 \\ (t^{-1}-1)I & \partial^\nu_i \end{pmatrix}, \qquad i \ge1. \tag*{(27)} □ i ν := ( ∂ i − 1 ν ( t − 1 − 1 ) I 0 ∂ i ν ) , i ≥ 1. (27)
The CSS pairing identities give F ~ i ν ≅ ( F 1 − i μ ) † \widetilde{F}^\nu_i \cong(F^\mu_{1-i})^\dagger F i ν ≅ ( F 1 − i μ ) † for i = 0 , 1 i=0,1 i = 0 , 1 . Thus chain degrees 1, 0 correspond to adjoint cochain degrees 0, 1. Under the fixed coordinate-dual identifications, the central map is □ ~ 1 ν = ( □ 1 μ ) † \widetilde{\square}^\nu_1 = (\square^\mu_1)^\dagger □ 1 ν = ( □ 1 μ ) † . At i = 2 i=2 i = 2 , however, F ~ 2 ν ≅ ( F − 1 μ ) † ⊕ ( C 2 ν ⊗ R s R s t ) \widetilde{F}^\nu_2 \cong(F^\mu_{-1})^\dagger\oplus(C^\nu_2 \otimes_{R_s} R_{st}) F 2 ν ≅ ( F − 1 μ ) † ⊕ ( C 2 ν ⊗ R s R s t ) ; the additional summand supplies the static relation generators:
□ ~ 2 ν = ( ( □ 0 μ ) † ( 0 ∂ 2 ν ) ) . (28) \widetilde{\square}^\nu_2 = \left((\square^\mu_0)^\dagger\ \left(\begin{matrix} 0 \\ \partial^\nu_2 \end{matrix}\right)\right). \tag*{(28)} □ 2 ν = ( ( □ 0 μ ) † ( 0 ∂ 2 ν ) ) . (28)
Its source is F ~ 2 ν \widetilde{F}^\nu_2 F 2 ν , and its target is F ~ 1 ν ≅ F 0 μ \widetilde{F}^\nu_1 \cong F^\mu_0 F 1 ν ≅ F 0 μ . The completed interaction complex is
⋯ ⟶ F ~ 3 ν → □ ~ 3 ν F ~ 2 ν → □ ~ 2 ν ( F ~ 1 ν ≅ F 0 μ ) → □ ~ 1 ν = ( □ 1 μ ) † ( F ~ 0 ν ≅ F 1 μ ) → ( □ 2 μ ) † F 2 μ → ( □ 3 μ ) † ⋯ . (29) \cdots\longrightarrow\widetilde{F}^\nu_3 \xrightarrow{\widetilde{\square}^\nu_3} \widetilde{F}^\nu_2 \xrightarrow{\widetilde{\square}^\nu_2} (\widetilde{F}^\nu_1 \cong F^\mu_0) \xrightarrow{\widetilde{\square}^\nu_1=(\square^\mu_1)^\dagger} (\widetilde{F}^\nu_0 \cong F^\mu_1) \xrightarrow{(\square^\mu_2)^\dagger} F^\mu_2 \xrightarrow{(\square^\mu_3)^\dagger} \cdots. \tag*{(29)} ⋯ ⟶ F 3 ν □ 3 ν F 2 ν □ 2 ν ( F 1 ν ≅ F 0 μ ) □ 1 ν = ( □ 1 μ ) † ( F 0 ν ≅ F 1 μ ) ( □ 2 μ ) † F 2 μ ( □ 3 μ ) † ⋯ . (29)
Here, the complementary-sector resolution is spliced into the ordinary adjoint at F 0 μ F^\mu_0 F 0 μ , supplying the incoming relation maps while retaining ( □ 1 μ ) † (\square^\mu_1)^\dagger ( □ 1 μ ) † and the subsequent adjoint maps.
Proposition 2 (Complete graph generation and higher relations). For complementary CSS sectors on the infinite spacetime lattice,
im □ ~ i + 1 ν = ker □ ~ i ν , i ≥ 1. (30) \operatorname{im}\widetilde{\square}^\nu_{i+1} = \ker\widetilde{\square}^\nu_i, \qquad i \ge1. \tag*{(30)} im □ i + 1 ν = ker □ i ν , i ≥ 1. (30)
Proof. Since t − 1 − 1 = t − 1 ( t − 1 ) t^{-1}-1=t^{-1}(t-1) t − 1 − 1 = t − 1 ( t − 1 ) over F 2 \mathbb{F}_2 F 2 , the temporal factor is again a free resolution of R s R_s R s . The argument of Proposition 1 therefore gives H i ( F ~ ν ) ≅ H i ( C ν ) = 0 H_i(\widetilde{F}^\nu) \cong H_i(C^\nu)=0 H i ( F ν ) ≅ H i ( C ν ) = 0 for i ≥ 1. i \ge1. i ≥ 1. \square$
The case i = 1 i=1 i = 1 gives im □ ~ 2 ν = ker ( □ 1 μ ) † \operatorname{im}\widetilde{\square}^\nu_2 = \ker(\square^\mu_1)^\dagger im □ 2 ν = ker ( □ 1 μ ) † . Thus the complementary tail is a free resolution of the interaction-relation module, without requiring code self-duality. Higher cohomology of the ordinary adjoint may still be nonzero. On a finite periodic quotient, spin summation still selects the full kernel, but global graphs need not be images of the reduced local generator map.
Boundary-generated threshold computation
In this section, we review the standard statistical-mechanical mapping and the connection between code correctability and phase transitions [15 , 22 ] . We then present our algebraic machinery based on graph expansions, which operates directly on the boundary maps of the interaction complex, without requiring an explicit construction of the spin Hamiltonian.
Statistical-Mechanical Mapping
Recovering encoded quantum information requires identifying the correct fault-equivalence class. For independent data and measurement faults of rate p p p , a fault history ξ μ \xi_\mu ξ μ has probability Pr ( ξ μ ; p ) = p ∣ ξ μ ∣ ( 1 − p ) N f − ∣ ξ μ ∣ \Pr(\xi_\mu;p)=p^{|\xi_\mu|}(1-p)^{N_f-|\xi_\mu|} Pr ( ξ μ ; p ) = p ∣ ξ μ ∣ ( 1 − p ) N f − ∣ ξ μ ∣ , where N f N_f N f counts the fault locations. Optimal decoding compares the total probabilities of classes [ ξ μ ] = ξ μ + im □ 1 μ [\xi_\mu]=\xi_\mu+\operatorname{im}\square^\mu_1 [ ξ μ ] = ξ μ + im □ 1 μ ,
Pr ( [ ξ μ ] ; p ) = ∑ ξ μ ′ ∈ [ ξ μ ] Pr ( ξ μ ′ ; p ) . (31) \Pr([\xi_\mu];p)=\sum_{\xi'_\mu\in[\xi_\mu]}\Pr(\xi'_\mu;p). \tag*{(31)} Pr ([ ξ μ ] ; p ) = ξ μ ′ ∈ [ ξ μ ] ∑ Pr ( ξ μ ′ ; p ) . (31)
Let ρ \rho ρ be an arbitrary encoded state and E ξ μ E_{\xi_{\mu}} E ξ μ the accumulated data-error Pauli operator. Fault histories in one class have the same detector record and act identically on the code space. For a record d = □ 0 μ ξ μ \mathbf{d}=\square_{0}^{\mu}\xi_{\mu} d = □ 0 μ ξ μ , choose a reference history ξ d \xi_{\mathbf{d}} ξ d . The logical alternatives are [ ξ d + λ ] [\xi_{\mathbf{d}+\lambda}] [ ξ d + λ ] , where λ \lambda λ runs over detector-free histories representing inequivalent logical operators. The noisy state can therefore be grouped by fault class, or equivalently by record and logical label:
ρ 1 = ∑ ξ μ Pr ( ξ μ ; p ) E ξ μ ρ E ξ μ † = ∑ d , λ Pr ( [ ξ d + λ ] ; p ) E ξ d + λ ρ E ξ d + λ † . (32) \rho_1=\sum_{\xi_{\mu}}\Pr(\xi_{\mu};p)E_{\xi_{\mu}}\rho E_{\xi_{\mu}}^{\dagger}
=\sum_{\mathbf{d},\lambda}\Pr([\xi_{\mathbf{d}}+\lambda];p)E_{\xi_{\mathbf{d}}+\lambda}\rho E_{\xi_{\mathbf{d}}+\lambda}^{\dagger}. \tag*{(32)} ρ 1 = ξ μ ∑ Pr ( ξ μ ; p ) E ξ μ ρ E ξ μ † = d , λ ∑ Pr ([ ξ d + λ ] ; p ) E ξ d + λ ρ E ξ d + λ † . (32)
Optimal decoding chooses a class with the largest total probability for each record. Denote its representative by ξ d ∗ \xi_{\mathbf{d}}^{*} ξ d ∗ and take this class as the origin λ = 0 \lambda=0 λ = 0 . Applying E ξ d ∗ † E_{\xi_{\mathbf{d}}^{*}}^{\dagger} E ξ d ∗ † restores the encoded state if the selected class is correct; otherwise the residual action is the logical operator E λ E_{\lambda} E λ . Averaging over records, the recovered state is
ρ 2 = P s u c c ρ + ∑ d ∑ λ ≠ 0 Pr ( [ ξ d ∗ + λ ] ; p ) E λ ρ E λ † , \rho_2=P_{\mathrm{succ}}\rho+\sum_{\mathbf{d}}\sum_{\lambda\ne0}\Pr([\xi_{\mathbf{d}}^{*}+\lambda];p)E_{\lambda}\rho E_{\lambda}^{\dagger}, ρ 2 = P succ ρ + d ∑ λ = 0 ∑ Pr ([ ξ d ∗ + λ ] ; p ) E λ ρ E λ † ,
P s u c c = ∑ d Pr ( [ ξ d ∗ ] ; p ) . (33) P_{\mathrm{succ}}=\sum_{\mathbf{d}}\Pr([\xi_{\mathbf{d}}^{*}];p). \tag*{(33)} P succ = d ∑ Pr ([ ξ d ∗ ] ; p ) . (33)
The encoded information is recoverable if P s u c c → 1 P_{\mathrm{succ}}\to1 P succ → 1 as the code size grows, namely, the total probability of all other logical sectors vanish.
The histories in [ ξ μ ] [\xi_{\mu}] [ ξ μ ] are parametrized by ξ μ + □ 1 μ s \xi_{\mu}+\square_{1}^{\mu}s ξ μ + □ 1 μ s , with s ∈ F 1 μ s\in F_{1}^{\mu} s ∈ F 1 μ . Each history has ∣ ker □ 1 μ ∣ |\ker\square_{1}^{\mu}| ∣ ker □ 1 μ ∣ preimages, so summing over s s s counts every history with the same multiplicity. Introduce β \beta β through the Nishimori condition
e − 2 β = p 1 − p . (34) e^{-2\beta}=\frac{p}{1-p}. \tag*{(34)} e − 2 β = 1 − p p . (34)
Using p x ( 1 − p ) 1 − x = [ p ( 1 − p ) ] 1 / 2 e β ( 1 − x ) p^{x}(1-p)^{1-x}=[p(1-p)]^{1/2}e^{\beta(1-x)} p x ( 1 − p ) 1 − x = [ p ( 1 − p ) ] 1/2 e β ( 1 − x ) , we can rewrite the total class probability as
Pr ( [ ξ μ ] ; p ) ∝ Z ξ μ ( β ) = ∑ s ∈ F 1 μ exp [ β ∑ ℓ ( − 1 ) ξ μ ( ℓ ) + ( □ 1 μ s ) ( ℓ ) ] . (35) \Pr([\xi_{\mu}];p)\propto\mathcal{Z}_{\xi_{\mu}}(\beta)=\sum_{s\in F_{1}^{\mu}}\exp\left[\beta\sum_{\ell}(-1)^{\xi_{\mu}(\ell)+(\square_{1}^{\mu}s)(\ell)}\right]. \tag*{(35)} Pr ([ ξ μ ] ; p ) ∝ Z ξ μ ( β ) = s ∈ F 1 μ ∑ exp [ β ℓ ∑ ( − 1 ) ξ μ ( ℓ ) + ( □ 1 μ s ) ( ℓ ) ] . (35)
Here Z ξ μ ( β ) \mathcal{Z}_{\xi_{\mu}}(\beta) Z ξ μ ( β ) is the partition function. The proportionality factor [ p ( 1 − p ) ] N f / 2 / ∣ ker □ 1 μ ∣ [p(1-p)]^{N_f/2}/|\ker\square_{1}^{\mu}| [ p ( 1 − p ) ] N f /2 /∣ ker □ 1 μ ∣ is the same for every class and cancels in their probability ratios. Identifying the exponent in Eq. (35) as − β H ξ μ ( s ) -\beta H_{\xi_{\mu}}(s) − β H ξ μ ( s ) recovers the auxiliary-spin Hamiltonian in Eq. (23) .
Thus, the ratio between two classes compatible with the same record is given by
Pr ( [ ξ d ∗ + λ ] ; p ) Pr ( [ ξ d ∗ ] ; p ) = Z ξ d ∗ + λ ( β ) Z ξ d ∗ ( β ) = e − β Δ F d , λ . (36) \frac{\Pr([\xi_{\mathbf{d}}^{*}+\lambda];p)}{\Pr([\xi_{\mathbf{d}}^{*}];p)}
=\frac{\mathcal{Z}_{\xi_{\mathbf{d}}^{*}+\lambda}(\beta)}{\mathcal{Z}_{\xi_{\mathbf{d}}^{*}}(\beta)}
=e^{-\beta\Delta\mathcal{F}_{\mathbf{d},\lambda}}. \tag*{(36)} Pr ([ ξ d ∗ ] ; p ) Pr ([ ξ d ∗ + λ ] ; p ) = Z ξ d ∗ ( β ) Z ξ d ∗ + λ ( β ) = e − β Δ F d , λ . (36)
Here Δ F d , λ \Delta\mathcal{F}_{\mathbf{d},\lambda} Δ F d , λ is the free-energy cost of inserting a logical defect, without assuming a particular defect geometry. In the ordered phase, the relative probabilities of logical defects are exponentially suppressed. The code remains correctable when the total probability of nontrivial logical sectors vanishes as the code size grows, giving P s u c c → 1 P_{\mathrm{succ}}\to1 P succ → 1 .
Boundary-generated graph expansion
To locate the phase transition, we compute the quenched free energy through a graph expansion generated directly from the boundary maps. As quenched disorder leaves graph generation unchanged, we first derive the expansion at fixed disorder, then extract irreducible contributions and carry out the disorder average analytically.
For the partition function in Eq. (35) , set ν = tanh β \nu=\tanh\beta ν = tanh β and write S ℓ = ∏ i ∈ supp ( ( □ 1 μ ) † ℓ ) σ i S_{\ell}=\prod_{i\in\operatorname{supp}((\square_{1}^{\mu})^{\dagger}\ell)}\sigma_i S ℓ = ∏ i ∈ supp (( □ 1 μ ) † ℓ ) σ i . Expanding the product over the interaction set I μ \mathcal{I}_{\mu} I μ using e β J ℓ S ℓ = cosh β ( 1 + ν J ℓ S ℓ ) e^{\beta J_{\ell}S_{\ell}}=\cosh\beta(1+\nu J_{\ell}S_{\ell}) e β J ℓ S ℓ = cosh β ( 1 + ν J ℓ S ℓ ) labels each term by a selected interaction set g ⊆ I μ g\subseteq\mathcal{I}_{\mu} g ⊆ I μ . The spin sum retains a term precisely when ( □ 1 μ ) † g = 0 (\square_{1}^{\mu})^{\dagger}g=0 ( □ 1 μ ) † g = 0 , since every auxiliary spin must occur an even number of times. Hence
Z ξ μ ( β ) = Z 0 ( β ) ∑ g ⊆ I μ ( □ 1 μ ) † g = 0 ν ∣ g ∣ ∏ ℓ ∈ g J ℓ . (37) \mathcal{Z}_{\xi_{\mu}}(\beta)=\mathcal{Z}_{0}(\beta)\sum_{\substack{g\subseteq\mathcal{I}_{\mu}\\(\square_{1}^{\mu})^{\dagger}g=0}}\nu^{|g|}\prod_{\ell\in g}J_{\ell}. \tag*{(37)} Z ξ μ ( β ) = Z 0 ( β ) g ⊆ I μ ( □ 1 μ ) † g = 0 ∑ ν ∣ g ∣ ℓ ∈ g ∏ J ℓ . (37)
Here Z 0 ( β ) = 2 N σ ( cosh β ) N f Z_0(\beta)=2^{N_\sigma}(\cosh\beta)^{N_f} Z 0 ( β ) = 2 N σ ( cosh β ) N f , N σ N_\sigma N σ is the number of auxiliary spins, N f = ∣ I μ ∣ N_f=|\mathcal{I}_\mu| N f = ∣ I μ ∣ , and ∣ g ∣ |g| ∣ g ∣ counts selected interactions. Let N f r N_{\mathrm{fr}} N fr denote the number of unit cells.
We construct the filling expansion on the infinite lattice for a fixed CSS sector μ \mu μ and keep its complete generator set and maps fixed. A generator support γ \gamma γ is a finite set of generator placements, each labeled by position and type; ∣ γ ∣ |\gamma| ∣ γ ∣ counts its generators. We call γ \gamma γ a filling of its boundary g = ∂ ~ 2 γ g=\widetilde{\partial}_2\gamma g = ∂ 2 γ .
Equation (30) ensures that every admissible graph of finite support on this lattice has a finite filling. The map ∂ ~ 2 \widetilde{\partial}_2 ∂ 2 may have a nontrivial kernel, so a boundary can admit distinct fillings. These are retained as separate configurations.
To count each boundary once when summing over all its fillings, we distribute its graph weight uniformly over its global minimum fillings. For any boundary g ∈ im ∂ ~ 2 g\in\operatorname{im}\widetilde{\partial}_2 g ∈ im ∂ 2 , define
m min ( g ) = min ∂ ~ 2 γ = g ∣ γ ∣ , M ( g ) = { γ : ∂ ~ 2 γ = g , ∣ γ ∣ = m min ( g ) } . (38) m_{\min}(g)=\min_{\widetilde{\partial}_2\gamma=g}|\gamma|,\qquad\mathcal{M}(g)=\{\gamma:\widetilde{\partial}_2\gamma=g,\ |\gamma|=m_{\min}(g)\}. \tag*{(38)} m m i n ( g ) = ∂ 2 γ = g min ∣ γ ∣ , M ( g ) = { γ : ∂ 2 γ = g , ∣ γ ∣ = m m i n ( g )} . (38)
The minimum is taken over all finite fillings in the complete infinite system. In particular, m min ( 0 ) = 0 m_{\min}(0)=0 m m i n ( 0 ) = 0 and M ( 0 ) = { ∅ } \mathcal{M}(0)=\{\varnothing\} M ( 0 ) = { ∅ } .
For each boundary g ∈ im ∂ ~ 2 g\in\operatorname{im}\widetilde{\partial}_2 g ∈ im ∂ 2 , the set of global minimum fillings M ( g ) \mathcal{M}(g) M ( g ) is finite. We define the filling probabilities by
ρ ( γ ) = { ∣ M ( ∂ ~ 2 γ ) ∣ − 1 , γ ∈ M ( ∂ ~ 2 γ ) , 0 , otherwise . (39) \rho(\gamma)=
\begin{cases}
|\mathcal{M}(\widetilde{\partial}_2\gamma)|^{-1}, & \gamma\in\mathcal{M}(\widetilde{\partial}_2\gamma),\\
0, & \text{otherwise}.
\end{cases} \tag*{(39)} ρ ( γ ) = { ∣ M ( ∂ 2 γ ) ∣ − 1 , 0 , γ ∈ M ( ∂ 2 γ ) , otherwise . (39)
The probabilities are normalized separately for each boundary g ∈ im ∂ ~ 2 g\in\operatorname{im}\widetilde{\partial}_2 g ∈ im ∂ 2 , ∑ ∂ ~ 2 γ = g ρ ( γ ) = 1 \sum_{\widetilde{\partial}_2\gamma=g}\rho(\gamma)=1 ∑ ∂ 2 γ = g ρ ( γ ) = 1 .
These probabilities are independent of p p p , β \beta β , and the disorder realization. For γ ′ ⊆ γ \gamma'\subseteq\gamma γ ′ ⊆ γ , both minimality and the number of minimum fillings of ∂ ~ 2 γ ′ \widetilde{\partial}_2\gamma' ∂ 2 γ ′ are determined globally, including competing fillings outside γ \gamma γ . The same ρ ( γ ′ ) \rho(\gamma') ρ ( γ ′ ) is used on every support without local renormalization.
At fixed disorder, write ψ ( g ) = v ∣ g ∣ ∏ ℓ ∈ g J ℓ \psi(g)=v^{|g|}\prod_{\ell\in g}J_\ell ψ ( g ) = v ∣ g ∣ ∏ ℓ ∈ g J ℓ for the graph factor. For a finite generator support γ \gamma γ , define the local weighted polynomial
P ( γ ) = ∑ γ ′ ⊆ γ ρ ( γ ′ ) ψ ( ∂ ~ 2 γ ′ ) . (40) \mathcal{P}(\gamma)=\sum_{\gamma'\subseteq\gamma}\rho(\gamma')\psi(\widetilde{\partial}_2\gamma'). \tag*{(40)} P ( γ ) = γ ′ ⊆ γ ∑ ρ ( γ ′ ) ψ ( ∂ 2 γ ′ ) . (40)
Each boundary g g g contributes ψ ( g ) \psi(g) ψ ( g ) times the fraction of all its global minimum fillings contained in γ \gamma γ .
The polynomial P ( γ ) \mathcal{P}(\gamma) P ( γ ) has constant term 1 1 1 , arising from the empty filling. We define the local logarithm L ( γ ) = log P ( γ ) \mathcal{L}(\gamma)=\log\mathcal{P}(\gamma) L ( γ ) = log P ( γ ) as a formal power series in v v v .
We decompose the local logarithm into contributions associated with generator supports. Assigning an irreducible weight W ( γ ′ ) \mathcal{W}(\gamma') W ( γ ′ ) to each subset γ ′ ⊆ γ \gamma'\subseteq\gamma γ ′ ⊆ γ , we require L ( γ ) = ∑ γ ′ ⊆ γ W ( γ ′ ) \mathcal{L}(\gamma)=\sum_{\gamma'\subseteq\gamma}\mathcal{W}(\gamma') L ( γ ) = ∑ γ ′ ⊆ γ W ( γ ′ ) for every finite γ \gamma γ . The weight on γ \gamma γ is then the contribution remaining after those of its proper subsupports have been subtracted:
W ( γ ) = L ( γ ) − ∑ γ ′ ⊊ γ W ( γ ′ ) . (41) \mathcal{W}(\gamma)=\mathcal{L}(\gamma)-\sum_{\gamma'\subsetneq\gamma}\mathcal{W}(\gamma'). \tag*{(41)} W ( γ ) = L ( γ ) − γ ′ ⊊ γ ∑ W ( γ ′ ) . (41)
The sum runs over all proper subsets of γ \gamma γ , including disconnected ones.
To evaluate W ( γ ) \mathcal{W}(\gamma) W ( γ ) explicitly, we group products in the logarithmic expansion by unordered multisets of fillings A = { γ 1 , … , γ r } \mathcal{A}=\{\gamma_1,\ldots,\gamma_r\} A = { γ 1 , … , γ r } , r ≥ 1 r\ge1 r ≥ 1 , with γ i ⊆ γ \gamma_i\subseteq\gamma γ i ⊆ γ and ∂ ~ 2 γ i ≠ 0 \widetilde{\partial}_2\gamma_i\ne0 ∂ 2 γ i = 0 . Repetitions are allowed. Write r γ ′ r_{\gamma'} r γ ′ for the multiplicity of each distinct filling; products over γ ′ \gamma' γ ′ below run over these distinct fillings. Combining the logarithmic coefficient with the number of orderings gives c A = ( − 1 ) r + 1 ( r − 1 ) ! / ∏ γ ′ r γ ′ ! c_{\mathcal{A}}=(-1)^{r+1}(r-1)!/\prod_{\gamma'}r_{\gamma'}! c A = ( − 1 ) r + 1 ( r − 1 )! / ∏ γ ′ r γ ′ ! .
Define the occupied support by the ordinary union Occ ( A ) = ⋃ i = 1 r γ i \operatorname{Occ}(\mathcal{A})=\bigcup_{i=1}^r\gamma_i Occ ( A ) = ⋃ i = 1 r γ i . The term labeled by A \mathcal{A} A occurs in the local logarithm of every support containing this occupied support, with the same coefficient and filling probabilities. The recursion in Eq. (41) assigns this term to W ( Occ ( A ) ) \mathcal{W}(\operatorname{Occ}(\mathcal{A})) W ( Occ ( A )) and cancels its contribution to the weights of all proper supersets of this occupied support. Hence only multisets occupying all of γ \gamma γ contribute:
W ( γ ) = ∑ A Occ ( A ) = γ c A ∏ γ ′ [ ρ ( γ ′ ) ψ ( ∂ ~ 2 γ ′ ) ] r γ ′ . (42) \mathcal{W}(\gamma)=\sum_{\substack{\mathcal{A}\\\operatorname{Occ}(\mathcal{A})=\gamma}}c_{\mathcal{A}}\prod_{\gamma'}\left[\rho(\gamma')\psi(\widetilde{\partial}_2\gamma')\right]^{r_{\gamma'}}. \tag*{(42)} W ( γ ) = A Occ ( A ) = γ ∑ c A γ ′ ∏ [ ρ ( γ ′ ) ψ ( ∂ 2 γ ′ ) ] r γ ′ . (42)
Nonempty supports with ∂ ~ 2 γ = 0 \widetilde{\partial}_2\gamma=0 ∂ 2 γ = 0 are included: subfillings with nonzero boundaries may still cover γ \gamma γ .
For the disorder average, we sample physical fault histories from the independent noise model of Sec. S.II A, without conditioning on a fixed detection record. The signs at distinct interaction locations are independent, with Pr ( J ℓ = − 1 ) = p \Pr(J_\ell=-1)=p Pr ( J ℓ = − 1 ) = p and Pr ( J ℓ = + 1 ) = 1 − p \Pr(J_\ell=+1)=1-p Pr ( J ℓ = + 1 ) = 1 − p ; set q d i s = 1 − 2 p q_{\mathrm{dis}}=1-2p q dis = 1 − 2 p . The quenched average is taken after the local logarithm and the irreducible weights have been constructed at fixed disorder. The coefficients c A c_{\mathcal{A}} c A and filling probabilities ρ \rho ρ are independent of the disorder realization, so the average acts only on the product of graph factors in Eq. (42) .
For a multiset A \mathcal{A} A , boundaries of different fillings may overlap, and repeated fillings reuse the same interaction signs. Write the complete product as ∏ γ ′ ψ ( ∂ 2 γ ′ ‾ ) r γ ′ = ∏ ℓ ( J ℓ v ) n ℓ ( A ) \prod_{\gamma'}\psi(\overline{\partial^2\gamma'})^{r_{\gamma'}}=\prod_{\ell}(J_{\ell}v)^{n_{\ell}(\mathcal{A})} ∏ γ ′ ψ ( ∂ 2 γ ′ ) r γ ′ = ∏ ℓ ( J ℓ v ) n ℓ ( A ) , where n ℓ ( A ) = ∑ γ ′ r γ ′ ( ∂ 2 γ ′ ‾ ) ℓ n_{\ell}(\mathcal{A})=\sum_{\gamma'}r_{\gamma'}(\overline{\partial^2\gamma'})_{\ell} n ℓ ( A ) = ∑ γ ′ r γ ′ ( ∂ 2 γ ′ ) ℓ counts the occurrences of location ℓ \ell ℓ over all fillings, with the sum taken over the integers. These occurrences must be combined before averaging because they involve the same random sign. For example, two occurrences give [ J ℓ 2 ] d i s = 1 [J_{\ell}^{2}]_{\mathrm{dis}}=1 [ J ℓ 2 ] dis = 1 , while their temperature factor remains v 2 v^{2} v 2 .
For an integer multiplicity n ℓ n_{\ell} n ℓ , the single-sign moment is [ J ℓ n ℓ ] d i s = ( 1 − p ) + p ( − 1 ) n ℓ [J_{\ell}^{n_{\ell}}]_{\mathrm{dis}}=(1-p)+p(-1)^{n_{\ell}} [ J ℓ n ℓ ] dis = ( 1 − p ) + p ( − 1 ) n ℓ : it equals 1 1 1 for even n ℓ n_{\ell} n ℓ and q d i s q_{\mathrm{dis}} q dis for odd n ℓ n_{\ell} n ℓ . Let k ( A ) k(\mathcal{A}) k ( A ) count the locations with odd multiplicity, and let m ( A ) = ∑ ℓ n ℓ ( A ) = ∑ i = 1 r ∣ ∂ 2 γ i ‾ ∣ m(\mathcal{A})=\sum_{\ell}n_{\ell}(\mathcal{A})=\sum_{i=1}^{r}|\overline{\partial^2\gamma_i}| m ( A ) = ∑ ℓ n ℓ ( A ) = ∑ i = 1 r ∣ ∂ 2 γ i ∣ be the total interaction multiplicity. Independence between distinct locations then gives
[ ∏ ℓ ( J ℓ v ) n ℓ ( A ) ] d i s = v m ( A ) ∏ ℓ [ J ℓ n ℓ ( A ) ] d i s = q d i s k ( A ) v m ( A ) . (43) \left[\prod_{\ell}(J_{\ell}v)^{n_{\ell}(\mathcal{A})}\right]_{\mathrm{dis}}=v^{m(\mathcal{A})}\prod_{\ell}\left[J_{\ell}^{n_{\ell}(\mathcal{A})}\right]_{\mathrm{dis}}=q_{\mathrm{dis}}^{k(\mathcal{A})}v^{m(\mathcal{A})}. \tag*{(43)} [ ℓ ∏ ( J ℓ v ) n ℓ ( A ) ] dis = v m ( A ) ℓ ∏ [ J ℓ n ℓ ( A ) ] dis = q dis k ( A ) v m ( A ) . (43)
Substituting this result into Eq. (42) gives the quenched irreducible weight W a v ( γ ; q d i s , v ) = [ W ( γ ) ] d i s W_{\mathrm{av}}(\gamma;q_{\mathrm{dis}},v)=[W(\gamma)]_{\mathrm{dis}} W av ( γ ; q dis , v ) = [ W ( γ ) ] dis :
W a v ( γ ; q d i s , v ) = ∑ A : O c c ( A ) = γ c A [ ∏ γ ′ ρ ( γ ′ ) r γ ′ ] q d i s k ( A ) v m ( A ) . (44) W_{\mathrm{av}}(\gamma;q_{\mathrm{dis}},v)=\sum_{\mathcal{A}:\,\mathrm{Occ}(\mathcal{A})=\gamma}c_{\mathcal{A}}\left[\prod_{\gamma'}\rho(\gamma')^{r_{\gamma'}}\right]q_{\mathrm{dis}}^{k(\mathcal{A})}v^{m(\mathcal{A})}. \tag*{(44)} W av ( γ ; q dis , v ) = A : Occ ( A ) = γ ∑ c A γ ′ ∏ ρ ( γ ′ ) r γ ′ q dis k ( A ) v m ( A ) . (44)
For the periodic finite-range maps above, with finitely many types per unit cell and the exactness in Eq. (30) , the global minimum fillings of any boundary g g g with ∣ g ∣ ≤ N |g|\le N ∣ g ∣ ≤ N have bounded size and lie within a bounded neighborhood of g g g . Both bounds depend only on N N N and the fixed lattice maps. Each filling in a nonzero multiset term contributes at least one power of v v v , so a term through order v N v^N v N contains at most N N N global minimum fillings. Their union has bounded size, so supports containing sufficiently many generators make no contribution through order v N v^N v N . For each fixed finite support, computing its weight through this order requires only finitely many multiset terms.
A bound on support size still allows its parts to be arbitrarily far apart, so their separation must also be controlled. If a support splits into two nonempty parts separated by more than a distance depending on N N N , all global minimum fillings of a relevant boundary with ∣ g ∣ ≤ N |g|\le N ∣ g ∣ ≤ N are obtained by choosing a minimum filling independently for each boundary part and taking their union. The numbers of choices multiply, so the uniform filling probabilities also multiply. Through order v N v^N v N , the local polynomial on the full support or any of its subsets is therefore the product of the corresponding polynomials on the two sides. Taking the logarithm turns these products into sums, and the recursion in Eq. (41) cancels the weight of the full support through this order. Together, these size and separation restrictions leave only finitely many contributing supports up to translation.
Let Θ t r \Theta_{\mathrm{tr}} Θ tr contain one representative of each translation class of nonempty finite generator supports and define the coefficients per unit cell by
A m , k = ∑ γ ∈ Θ t r [ q d i s k v m ] W a v ( γ ; q d i s , v ) . (45) A_{m,k}=\sum_{\gamma\in\Theta_{\mathrm{tr}}}[q_{\mathrm{dis}}^{k}v^{m}]W_{\mathrm{av}}(\gamma;q_{\mathrm{dis}},v). \tag*{(45)} A m , k = γ ∈ Θ tr ∑ [ q dis k v m ] W av ( γ ; q dis , v ) . (45)
Since the filling probabilities sum to one for each boundary, summing over all global minimum fillings of an admissible finite graph counts its graph factor exactly once. The local logarithms and irreducible weights are constructed at fixed disorder before averaging. Together with the finite spatial extent of the contributions at each fixed order, this identifies A m , k A_{m,k} A m , k as the coefficients of [ log ( Z ξ / Z 0 ) ] d i s [\log(Z_{\xi}/Z_{0})]_{\mathrm{dis}} [ log ( Z ξ / Z 0 ) ] dis per unit cell in the thermodynamic limit. Restoring the prefactor Z 0 Z_{0} Z 0 gives the following expansion of the quenched free-energy density, understood coefficientwise about v = 0 v=0 v = 0 :
β [ f ξ ] d i s : = − lim N f r → ∞ 1 N f r [ log Z ξ ( β ) ] d i s = β f 0 − ∑ m = 1 ∞ ∑ k = 0 m A m , k q d i s k v m . (46) \begin{aligned}
\beta[f_{\xi}]_{\mathrm{dis}}:=-\lim_{N_{\mathrm{fr}}\to\infty}\frac{1}{N_{\mathrm{fr}}}\left[\log Z_{\xi}(\beta)\right]_{\mathrm{dis}} \\
&=\beta f_{0}-\sum_{m=1}^{\infty}\sum_{k=0}^{m}A_{m,k}q_{\mathrm{dis}}^{k}v^{m}. \tag*{(46)}
\end{aligned} β [ f ξ ] dis := − N fr → ∞ lim N fr 1 [ log Z ξ ( β ) ] dis = β f 0 − m = 1 ∑ ∞ k = 0 ∑ m A m , k q dis k v m . (46)
Here β f 0 = − lim N f r → ∞ N f r − 1 log Z 0 ( β ) \beta f_{0}=-\lim_{N_{\mathrm{fr}}\to\infty}N_{\mathrm{fr}}^{-1}\log Z_{0}(\beta) β f 0 = − lim N fr → ∞ N fr − 1 log Z 0 ( β ) is the contribution of the disorder-independent prefactor Z 0 Z_{0} Z 0 and is analytic at finite positive temperature.
Code Examples and Stabilizer Maps
We specify the six code examples using the conventions of Sec. S.I, writing R = R S R=R_{S} R = R S . For a Laurent polynomial h h h , h ∗ = h ( x 1 − 1 , … , x D − 1 ) h^{*}=h(x_{1}^{-1},\ldots,x_{D}^{-1}) h ∗ = h ( x 1 − 1 , … , x D − 1 ) denotes spatial inversion. The columns of the complete stabilizer map list the Z Z Z -checks followed by the X X X -checks. Its first q q q rows record Z Z Z -type Pauli support and its last q q q rows record X X X -type support:
S c o d e = ( B 0 0 A ) . (47) S_{\mathrm{code}}=\begin{pmatrix}B&0\\0&A\end{pmatrix}. \tag*{(47)} S code = ( B 0 0 A ) . (47)
The stabilizer group is generated by the Pauli operators encoded by these columns and all their lattice translates.
Fracton codes
We consider three prominent fracton codes: Haah’s code, the checkerboard code, and the X-cube code.
Haah’s cubic code. Haah’s code has two qubits at each vertex of a simple-cubic lattice, with one X-check and one Z-check per primitive unit cell [3 , 7 ] . We denote unit translations by x , y , z x,y,z x , y , z and order the qubit species as ( 1 , 2 ) (1,2) ( 1 , 2 ) . With f = 1 + x + y + z f=1+x+y+z f = 1 + x + y + z and g = 1 + x y + y z + z x g=1+xy+yz+zx g = 1 + x y + y z + z x , the complete stabilizer map is
S H a a h ( g ∗ f ∗ 0 g ) = ( 1 + x ˉ y ˉ + y ˉ z ˉ + z ˉ x ˉ 0 1 + x ˉ + y ˉ + z ˉ 0 0 1 + x + y + z 0 1 + x y + y z + z x ) . (48) S_{\mathrm{Haah}}\begin{pmatrix}g^*\\ f^*\\ 0\\ g\end{pmatrix}
=
\begin{pmatrix}
1+\bar{x}\bar{y}+\bar{y}\bar{z}+\bar{z}\bar{x} & 0\\
1+\bar{x}+\bar{y}+\bar{z} & 0\\
0 & 1+x+y+z\\
0 & 1+xy+yz+zx
\end{pmatrix}. \tag*{(48)} S Haah g ∗ f ∗ 0 g = 1 + x ˉ y ˉ + y ˉ z ˉ + z ˉ x ˉ 1 + x ˉ + y ˉ + z ˉ 0 0 0 0 1 + x + y + z 1 + x y + y z + z x . (48)
Both X- and Z-type checks have weight eight.
Haah’s code has point excitations created at the corners of fractal Pauli operators. No finite-width string operator can create an isolated pair of widely separated excitations, a hallmark of Type-II fracton order.
Checkerboard code. The checkerboard code has one qubit at each vertex of a simple-cubic lattice [7 ] . Each cube with lower corner ( i , j , k ) (i,j,k) ( i , j , k ) and even i + j + k i+j+k i + j + k carries one X-check and one Z-check, both acting on its eight vertices.
The selected lower corners form a face-centered cubic (FCC) lattice. In units of the cubic-lattice spacing, let u , v , w u,v,w u , v , w denote translations by ( 1 , 1 , 0 ) (1,1,0) ( 1 , 1 , 0 ) , ( 1 , 0 , 1 ) (1,0,1) ( 1 , 0 , 1 ) , and ( 0 , 1 , 1 ) (0,1,1) ( 0 , 1 , 1 ) , respectively. We order the two qubit orbits by their representatives ( 1 , 1 , 1 ) (1,1,1) ( 1 , 1 , 1 ) and ( 0 , 0 , 0 ) (0,0,0) ( 0 , 0 , 0 ) , the opposite vertices of the reference cube anchored at the origin. Each primitive cell contains two qubits and one check of each type. With h = 1 + u + v + w h=1+u+v+w h = 1 + u + v + w , the complete stabilizer map is
S C B = ( h ∗ 0 h 0 0 h ∗ 0 h ) = ( 1 + u ˉ + v ˉ + w ˉ 0 1 + u + v + w 0 0 1 + u ˉ + v ˉ + w ˉ 0 1 + u + v + w ) . (49) S_{\mathrm{CB}}=
\begin{pmatrix}
h^* & 0\\
h & 0\\
0 & h^*\\
0 & h
\end{pmatrix}
=
\begin{pmatrix}
1+\bar{u}+\bar{v}+\bar{w} & 0\\
1+u+v+w & 0\\
0 & 1+\bar{u}+\bar{v}+\bar{w}\\
0 & 1+u+v+w
\end{pmatrix}. \tag*{(49)} S CB = h ∗ h 0 0 0 0 h ∗ h = 1 + u ˉ + v ˉ + w ˉ 1 + u + v + w 0 0 0 0 1 + u ˉ + v ˉ + w ˉ 1 + u + v + w . (49)
The checkerboard code has Type-I fracton order. Applying Pauli-X or Pauli-Z operators across a rectangular patch leaves four corner defects. Although individually immobile, these defects can form composites that move along a line or within a plane.
X-cube code. The X-cube code has one qubit on each edge of a simple-cubic lattice [7 , 22 ] . Each cube carries an X-check acting on its twelve edges, while each vertex carries three Z-checks, each acting on the four incident edges in one coordinate plane. The three Z-checks at each vertex multiply to the identity, leaving two independent generators.
Let x , y , z x,y,z x , y , z denote unit translations. At a reference vertex, we order the qubit species by the positive x , y , z x,y,z x , y , z edges and choose ( b x , b y ) (b_x,b_y) ( b x , b y ) as the y z yz y z - and x z xz x z -plane Z-checks. With f = 1 + x f=1+x f = 1 + x , g = 1 + y g=1+y g = 1 + y , and h = 1 + z h=1+z h = 1 + z , the complete stabilizer map is
S X C = ( 0 f ∗ 0 g ∗ 0 0 h ∗ h ∗ 0 0 0 g h 0 0 f h 0 0 f g ) = ( 0 1 + x ˉ 0 1 + y ˉ 0 0 1 + z ˉ 1 + z ˉ 0 0 0 ( 1 + y ) ( 1 + z ) 0 0 ( 1 + x ) ( 1 + z ) 0 0 ( 1 + x ) ( 1 + y ) ) . (50) S_{\mathrm{XC}}=
\begin{pmatrix}
0 & f^* & 0\\
g^* & 0 & 0\\
h^* & h^* & 0\\
0 & 0 & gh\\
0 & 0 & fh\\
0 & 0 & fg
\end{pmatrix}
=
\begin{pmatrix}
0 & 1+\bar{x} & 0\\
1+\bar{y} & 0 & 0\\
1+\bar{z} & 1+\bar{z} & 0\\
0 & 0 & (1+y)(1+z)\\
0 & 0 & (1+x)(1+z)\\
0 & 0 & (1+x)(1+y)
\end{pmatrix}. \tag*{(50)} S XC = 0 g ∗ h ∗ 0 0 0 f ∗ 0 h ∗ 0 0 0 0 0 0 g h f h f g = 0 1 + y ˉ 1 + z ˉ 0 0 0 1 + x ˉ 0 1 + z ˉ 0 0 0 0 0 0 ( 1 + y ) ( 1 + z ) ( 1 + x ) ( 1 + z ) ( 1 + x ) ( 1 + y ) . (50)
The X-cube code has Type-I fracton order: rectangular Pauli-Z membranes create four immobile fractons at their corners, while straight Pauli-X strings create lineon pairs at their endpoints. Each lineon moves only along the string direction.
Three-dimensional color codes
The three-dimensional color code is defined on a tetrahedralization of the body-centered cubic (bcc) lattice [2 , 46 ] . Each tetrahedron carries one qubit and has one vertex of each of four colors. Each vertex supports one X-check and each edge one Z-check, acting on the qubits in the incident tetrahedra: S X ( v ) = ∏ Π ∋ v X Π S_X(v)=\prod_{\Pi\ni v}X_\Pi S X ( v ) = ∏ Π ∋ v X Π and S Z ( e ) = ∏ Π ∋ e Z Π S_Z(e)=\prod_{\Pi\ni e}Z_\Pi S Z ( e ) = ∏ Π ∋ e Z Π .
Let R = F 2 [ x ± 1 , y ± 1 , z ± 1 ] R=\mathbb{F}_2[x^{\pm1},y^{\pm1},z^{\pm1}] R = F 2 [ x ± 1 , y ± 1 , z ± 1 ] . Taking the conventional cubic lattice constant to be unity, we let x , y , z x,y,z x , y , z denote translations by the displacement vectors
x ↦ 1 2 ( 1 , 1 , − 1 ) , y ↦ 1 2 ( 1 , − 1 , 1 ) , z ↦ 1 2 ( − 1 , 1 , 1 ) . (51) x\mapsto\frac{1}{2}(1,1,-1),\qquad y\mapsto\frac{1}{2}(1,-1,1),\qquad z\mapsto\frac{1}{2}(-1,1,1). \tag*{(51)} x ↦ 2 1 ( 1 , 1 , − 1 ) , y ↦ 2 1 ( 1 , − 1 , 1 ) , z ↦ 2 1 ( − 1 , 1 , 1 ) . (51)
It follows that x y xy x y , x z xz x z , and y z yz y z are unit translations along the three Cartesian axes of the conventional cubic cell. Anchoring a primitive parallelepiped at the reference vertex 1, its eight vertices are 1 , x , y , z , x y , x z , y z , x y z 1,x,y,z,xy,xz,yz,xyz 1 , x , y , z , x y , x z , y z , x y z . Using the diagonal from 1 to x y z xyz x y z , the Freudenthal triangulation partitions this parallelepiped according to the 3! orderings of the three primitive-coordinate steps, yielding six translation orbits of tetrahedra,
q x y = ( 1 , x , x y , x y z ) , q x z = ( 1 , x , x z , x y z ) , q y x = ( 1 , y , x y , x y z ) , q y z = ( 1 , y , y z , x y z ) , q z x = ( 1 , z , x z , x y z ) , q z y = ( 1 , z , y z , x y z ) . (52) \begin{aligned}
q_{xy} &= (1,x,xy,xyz), & q_{xz} &= (1,x,xz,xyz),\\
q_{yx} &= (1,y,xy,xyz), & q_{yz} &= (1,y,yz,xyz),\\
q_{zx} &= (1,z,xz,xyz), & q_{zy} &= (1,z,yz,xyz). \tag*{(52)}
\end{aligned} q x y q y x q z x = ( 1 , x , x y , x y z ) , = ( 1 , y , x y , x y z ) , = ( 1 , z , x z , x y z ) , q x z q y z q z y = ( 1 , x , x z , x y z ) , = ( 1 , y , y z , x y z ) , = ( 1 , z , y z , x y z ) . (52)
Assigning the vertex x i y j z k x^{i}y^{j}z^{k} x i y j z k the color i + j + k ( m o d 4 ) i+j+k\pmod{4} i + j + k ( mod 4 ) gives the four vertices of every tetrahedron distinct colors, explicitly realizing the four-coloring above. Each subscript specifies the first two steps along the ordered path from 1 1 1 to x y z xyz x y z ; the omitted primitive direction is the final step. We use these orbit representatives as the ordered qubit basis B q = ( q x y , q x z , q y x , q y z , q z x , q z y ) \mathcal{B}_{q}=(q_{xy},q_{xz},q_{yx},q_{yz},q_{zx},q_{zy}) B q = ( q x y , q x z , q y x , q y z , q z x , q z y ) . Under lattice translations, the edges in this triangulation form seven orbits, represented by the ordered Z Z Z -check basis B e = ( e x , e y , e z , e x y , e x z , e y z , e x y z ) \mathcal{B}_{e}=(e_{x},e_{y},e_{z},e_{xy},e_{xz},e_{yz},e_{xyz}) B e = ( e x , e y , e z , e x y , e x z , e y z , e x y z ) , where e u = ( 1 , u ) e_{u}=(1,u) e u = ( 1 , u ) denotes the edge joining the reference vertex 1 1 1 to u u u . Thus, each primitive unit cell contains six qubit types, one vertex X-check type, and seven edge Z-check types.
The X- and Z-type stabilizer maps are
A = ( 1 + x ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 1 + x ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 1 + y ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 1 + y ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ 1 + z ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 1 + z ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ ) , B = ( 1 x ˉ x ˉ y ˉ 1 0 x ˉ 1 1 x ˉ z ˉ x ˉ 0 1 x ˉ 1 y ˉ 1 x ˉ y ˉ 1 y ˉ 0 1 y ˉ z ˉ 1 y ˉ 0 y ˉ 1 1 z ˉ x ˉ z ˉ 1 1 0 0 1 y ˉ z ˉ z ˉ 1 z ˉ 0 1 1 ) . (53) A=\begin{pmatrix}
1+\bar{x}+\bar{x}\bar{y}+\bar{x}\bar{y}\bar{z}\\
1+\bar{x}+\bar{x}\bar{z}+\bar{x}\bar{y}\bar{z}\\
1+\bar{y}+\bar{x}\bar{y}+\bar{x}\bar{y}\bar{z}\\
1+\bar{y}+\bar{y}\bar{z}+\bar{x}\bar{y}\bar{z}\\
1+\bar{z}+\bar{x}\bar{z}+\bar{x}\bar{y}\bar{z}\\
1+\bar{z}+\bar{y}\bar{z}+\bar{x}\bar{y}\bar{z}
\end{pmatrix},
\qquad
B=\begin{pmatrix}
1&\bar{x}&\bar{x}\bar{y}&1&0&\bar{x}&1\\
1&\bar{x}\bar{z}&\bar{x}&0&1&\bar{x}&1\\
\bar{y}&1&\bar{x}\bar{y}&1&\bar{y}&0&1\\
\bar{y}\bar{z}&1&\bar{y}&0&\bar{y}&1&1\\
\bar{z}&\bar{x}\bar{z}&1&1&0&0&1\\
\bar{y}\bar{z}&\bar{z}&1&\bar{z}&0&1&1
\end{pmatrix}. \tag*{(53)} A = 1 + x ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 1 + x ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 1 + y ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 1 + y ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ 1 + z ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 1 + z ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ , B = 1 1 y ˉ y ˉ z ˉ z ˉ y ˉ z ˉ x ˉ x ˉ z ˉ 1 1 x ˉ z ˉ z ˉ x ˉ y ˉ x ˉ x ˉ y ˉ y ˉ 1 1 1 0 1 0 1 z ˉ 0 1 y ˉ y ˉ 0 0 x ˉ x ˉ 0 1 0 1 1 1 1 1 1 1 . (53)
The complete stabilizer map is S c o l o r = diag ( B , A ) S_{\mathrm{color}}=\operatorname{diag}(B,A) S color = diag ( B , A ) .
The maps A A A and B B B specify the tetrahedra incident on each vertex and edge, respectively. Each vertex X-check has weight 24. The edge Z-checks have weight six for e x , e y , e z e_x,e_y,e_z e x , e y , e z and weight four for e x y , e x z , e y z e_{xy},e_{xz},e_{yz} e x y , e x z , e y z .
Bivariate bicycle codes
Each unit cell of a bivariate bicycle code contains two qubits, one on a horizontal link and one on a vertical link, together with one X-check and one Z-check [12 ] . We can label BB codes with a toric layout as B B ( α ˉ , β ˉ , a , b ) \mathrm{BB}(\bar{\alpha},\bar{\beta},a,b) BB ( α ˉ , β ˉ , a , b ) [35 ] , where α ˉ = − α \bar{\alpha}=-\alpha α ˉ = − α , β ˉ = − β \bar{\beta}=-\beta β ˉ = − β , α ≥ β ≥ 0 \alpha\geq\beta\geq0 α ≥ β ≥ 0 , and a , b ∈ Z a,b\in\mathbb{Z} a , b ∈ Z . With f = 1 + x + x α ˉ y b f=1+x+x^{\bar{\alpha}}y^{b} f = 1 + x + x α ˉ y b and g = 1 + y + y β ˉ x a g=1+y+y^{\bar{\beta}}x^{a} g = 1 + y + y β ˉ x a , the complete stabilizer map is
S B B = ( g ∗ 0 f ∗ 0 0 f 0 g ) = ( 1 + y ˉ + β ˉ x − a 0 1 + x ˉ + x α ˉ y − b 0 0 1 + x + x α ˉ y b 0 1 + y + y β ˉ x a ) . (54) S_{\mathrm{BB}}=
\begin{pmatrix}
g^{*}&0\\
f^{*}&0\\
0&f\\
0&g
\end{pmatrix}
=
\begin{pmatrix}
1+\bar{y}+\bar{\beta}x^{-a}&0\\
1+\bar{x}+x^{\bar{\alpha}}y^{-b}&0\\
0&1+x+x^{\bar{\alpha}}y^{b}\\
0&1+y+y^{\bar{\beta}}x^{a}
\end{pmatrix}. \tag*{(54)} S BB = g ∗ f ∗ 0 0 0 0 f g = 1 + y ˉ + β ˉ x − a 1 + x ˉ + x α ˉ y − b 0 0 0 0 1 + x + x α ˉ y b 1 + y + y β ˉ x a . (54)
BB codes feature symmetry-enriched topological (SET) order, in which lattice translations permute anyon types. The anyon period along each lattice direction is the smallest positive number of unit translations that restores every anyon type [35 ] . The families B B ( 1 ˉ , 1 , 3 , 3 ) \mathrm{BB}(\bar{1},1,3,3) BB ( 1 ˉ , 1 , 3 , 3 ) and B B ( 1 ˉ , 1 , 3 , 3 ˉ ) \mathrm{BB}(\bar{1},1,3,\bar{3}) BB ( 1 ˉ , 1 , 3 , 3 ˉ ) are the parent classes of the gross [ [ 144 , 12 , 12 ] ] [[144,12,12]] [[ 144 , 12 , 12 ]] and two-gross [ [ 288 , 12 , 18 ] ] [[288,12,18]] [[ 288 , 12 , 18 ]] codes, respectively [12 , 35 ] . These families have maximal logical-qubit counts k max = 16 k_{\max}=16 k m a x = 16 and 26 26 26 , with respective anyon periods ( 12 , 12 ) (12,12) ( 12 , 12 ) and ( 762 , 762 ) (762,762) ( 762 , 762 ) along the two lattice directions [35 ] .
Threshold results
The optimal threshold is determined by the intersection of the phase boundary with the Nishimori line. The overall threshold of each code is the lower of its two CSS-sector thresholds. Self-duality of Haah’s, checkerboard, and BB codes enforces identical X- and Z-sector thresholds, whereas the overall thresholds of the X-cube and 3D color codes are set by the Z sector.
Identification of the phase transition
We probe the phase transition through the singularity of the specific heat. For the models considered here, the quenched free-energy expansion in Eq. (46) contains only even powers of ν = tanh β \nu=\tanh\beta ν = tanh β , so we use u = ν 2 u=\nu^{2} u = ν 2 . For even N N N , truncating the series at v N v^N v N retains terms through u N / 2 u^{N/2} u N /2 . At fixed p p p , we write
β [ f ξ μ ] d i s = β f 0 − Φ p ( u ) , \beta[f_{\xi\mu}]_{\mathrm{dis}}=\beta f_0-\Phi_p(u), β [ f ξ μ ] dis = β f 0 − Φ p ( u ) ,
Φ p ( u ) = ∑ i = 0 N / 2 f i ( p ) u i + O ( u N / 2 + 1 ) , f i ( p ) = ∑ k A 2 i , k ( 1 − 2 p ) k . (55) \Phi_p(u)=\sum_{i=0}^{N/2}f_i(p)u^i+O(u^{N/2+1}),\qquad f_i(p)=\sum_k A_{2i,k}(1-2p)^k. \tag*{(55)} Φ p ( u ) = i = 0 ∑ N /2 f i ( p ) u i + O ( u N /2 + 1 ) , f i ( p ) = k ∑ A 2 i , k ( 1 − 2 p ) k . (55)
Evaluating f i ( p ) f_i(p) f i ( p ) at a different disorder rate gives the corresponding thermal series without repeating the disorder average.
At fixed p p p , the specific heat per unit cell can be expressed as
C v ( p , β ) k B = − β 2 ∂ β 2 [ β f ξ μ ] d i s = C v , 0 ( β ) k B + β 2 ∂ β 2 Φ p ( u ) . (56) \frac{C_v(p,\beta)}{k_B}=-\beta^2\partial_\beta^2[\beta f_{\xi\mu}]_{\mathrm{dis}}=\frac{C_{v,0}(\beta)}{k_B}+\beta^2\partial_\beta^2\Phi_p(u). \tag*{(56)} k B C v ( p , β ) = − β 2 ∂ β 2 [ β f ξ μ ] dis = k B C v , 0 ( β ) + β 2 ∂ β 2 Φ p ( u ) . (56)
Here C v , 0 C_{v,0} C v , 0 is the analytic background from β f 0 \beta f_0 β f 0 ; neither it nor the nonzero factor β 2 \beta^2 β 2 changes the singularity location at finite positive temperature.
The derivative is evaluated term by term using ∂ β = ( 1 − v 2 ) ∂ v \partial_\beta=(1-v^2)\partial_v ∂ β = ( 1 − v 2 ) ∂ v . Each monomial contributes
∂ β 2 ( f i u i ) = f i [ 2 i ( 2 i − 1 ) u i − 1 − 8 i 2 u i + 2 i ( 2 i + 1 ) u i + 1 ] . (57) \partial_\beta^2(f_i u^i)=f_i\left[2i(2i-1)u^{i-1}-8i^2u^i+2i(2i+1)u^{i+1}\right]. \tag*{(57)} ∂ β 2 ( f i u i ) = f i [ 2 i ( 2 i − 1 ) u i − 1 − 8 i 2 u i + 2 i ( 2 i + 1 ) u i + 1 ] . (57)
The uncomputed O ( u N / 2 + 1 ) O(u^{N/2+1}) O ( u N /2 + 1 ) remainder can contribute to the second derivative starting at u N / 2 u^{N/2} u N /2 . We therefore retain the derivative series only through u N / 2 − 1 u^{N/2-1} u N /2 − 1 , discarding the u N / 2 u^{N/2} u N /2 and u N / 2 + 1 u^{N/2+1} u N /2 + 1 terms generated from the retained free-energy polynomial.
Let s s s denote the lowest exponent with a nonzero coefficient in the retained derivative series. Factoring out u s u^s u s gives a series with a nonzero constant term:
C p ( u ) : = u − s ∂ β 2 Φ p ( u ) = ∑ n = 0 n max b n ( p ) u n + O ( u n max + 1 ) , n max = N / 2 − 1 − s . (58) C_p(u):=u^{-s}\partial_\beta^2\Phi_p(u)=\sum_{n=0}^{n_{\max}}b_n(p)u^n+O(u^{n_{\max}+1}),\qquad n_{\max}=N/2-1-s. \tag*{(58)} C p ( u ) := u − s ∂ β 2 Φ p ( u ) = n = 0 ∑ n m a x b n ( p ) u n + O ( u n m a x + 1 ) , n m a x = N /2 − 1 − s . (58)
The auxiliary series C p ( u ) C_p(u) C p ( u ) retains the specific heat’s physical singularity at 0 < u c < 1 0<u_c<1 0 < u c < 1 .
We use Dlog–Padé analysis to locate the singularities of the series C p ( u ) C_p(u) C p ( u ) . This method is widely used to extract critical points from finite-order series [47 , 48 ] . For each p p p , we construct the [L / M L/M L / M ] Padé approximant to the logarithmic derivative of C p ( u ) C_p(u) C p ( u ) ,
d d u log C p ( u ) = C p ′ ( u ) C p ( u ) ≃ A L ( u ) B M ( u ) , B M ( 0 ) = 1 , (59) \frac{d}{du}\log C_p(u)=\frac{C'_p(u)}{C_p(u)}\simeq\frac{A_L(u)}{B_M(u)},\qquad B_M(0)=1, \tag*{(59)} d u d log C p ( u ) = C p ( u ) C p ′ ( u ) ≃ B M ( u ) A L ( u ) , B M ( 0 ) = 1 , (59)
where A L A_L A L and B M B_M B M are polynomials of degrees L L L and M M M , respectively. Coefficient matching determines the approximant from the first J = L + M + 2 J = L + M + 2 J = L + M + 2 coefficients b 0 ( p ) , … , b J − 1 ( p ) b_0(p), \ldots, b_{J-1}(p) b 0 ( p ) , … , b J − 1 ( p ) of C p C_p C p , subject to J ≤ N / 2 − s J \le N/2 - s J ≤ N /2 − s .
We track the poles u ⋆ ( p ) u_\star(p) u ⋆ ( p ) by matching roots of B M B_M B M at neighboring values of p p p . For a real pole u ⋆ ∈ ( 0 , 1 ) u_\star\in(0,1) u ⋆ ∈ ( 0 , 1 ) , we use u = tanh 2 β u = \tanh^2 \beta u = tanh 2 β and T = 1 / β T = 1/\beta T = 1/ β to obtain the corresponding reduced temperature,
T ⋆ = 1 arctanh ( u ⋆ ) . (60) T_\star= \frac{1}{\operatorname{arctanh}(\sqrt{u_\star})}. \tag*{(60)} T ⋆ = arctanh ( u ⋆ ) 1 . (60)
As p p p varies, the temperature curve T ⋆ ( p ) T_\star(p) T ⋆ ( p ) of each tracked pole defines a branch in the ( p , T ) (p,T) ( p , T ) plane. The order–disorder boundary is traced by comparing these branches across Padé approximants.
The optimal threshold p t h p_{\mathrm{th}} p th is determined by the intersection of this order–disorder phase boundary with the Nishimori line, as illustrated with the B B ( 1 ˉ , 1 ˉ , 3 , 3 ) \mathrm{BB}(\bar{1},\bar{1},3,3) BB ( 1 ˉ , 1 ˉ , 3 , 3 ) code under noisy measurements in Figure S1 . A descending branch that crosses the line from above as p p p increases gives a direct estimate of p t h p_{\mathrm{th}} p th . When the relevant branches instead end in real-pole collisions above the line, we use the collision region and its stability across N N N and [ L / M ] [L/M] [ L / M ] to estimate the crossing.
Figure S1. Phase boundary of the BB(1 ˉ \bar{1} 1 ˉ , 1 ˉ \bar{1} 1 ˉ , 3, 3) code under spacetime decoherence. The colored curves correspond to different Dlog–Padé approximants labeled by [L / M L/M L / M ] and N N N , while the black dashed line denotes the Nishimori line. Four approximants are shown for illustration; a larger set is used for threshold estimation. The displayed phase boundaries and their intersections with the Nishimori line agree closely.
At a given expansion order N N N , threshold estimates are obtained from different [ L / M ] [L/M] [ L / M ] approximants. The threshold value is inferred from the clustering of those individual estimates. The smallest and largest estimates define an interval for the inferred threshold at a fixed order. Convergence is assessed over the highest available orders by checking for residual drift with N N N . The reported threshold and its uncertainty range are determined on a conservative basis, with the range covering the spread across both N N N and [ L / M ] [L/M] [ L / M ] at highest orders.
As a further consistency check, we withhold the highest-order computed coefficient b J ( p ) b_J(p) b J ( p ) and reconstruct C p ( u ) C_p(u) C p ( u ) from the lower-order coefficients b 0 ( p ) , … , b J − 1 ( p ) b_0(p), \ldots, b_{J-1}(p) b 0 ( p ) , … , b J − 1 ( p ) . The reconstructed series is re-expanded through u J u^J u J to obtain the prediction b ^ J ( p ) \widehat{b}_J(p) b J ( p ) . Comparing the predicted coefficient b ^ J ( p ) \widehat{b}_J(p) b J ( p ) with the directly computed b J ( p ) b_J(p) b J ( p ) gives the deviation
ε J ( p ) = b ^ J ( p ) − b J ( p ) ∣ b ^ J ( p ) ∣ + ∣ b J ( p ) ∣ . (61) \varepsilon_J(p) = \frac{\widehat{b}_J(p) - b_J(p)}{\lvert\widehat{b}_J(p)\rvert+ \lvert b_J(p)\rvert}. \tag*{(61)} ε J ( p ) = ∣ b J ( p )∣ + ∣ b J ( p )∣ b J ( p ) − b J ( p ) . (61)
A very small ∣ ε J ( p ) ∣ \lvert\varepsilon_J(p)\rvert ∣ ε J ( p )∣ indicates that the approximants already capture the next-order series contribution. This predictive agreement provides further evidence for the convergence of the threshold estimates.
We illustrate the procedure with the B B ( 1 ˉ , 1 ˉ , 3 , 3 ) \mathrm{BB}(\bar{1}, \bar{1}, 3, 3) BB ( 1 ˉ , 1 ˉ , 3 , 3 ) code under noisy syndrome measurements. The free-energy series is computed through order v 62 v^{62} v 62 , providing 28 coefficients of C p ( u ) C_p(u) C p ( u ) . The four representative phase-boundary branches in Figure S1 agree closely near their intersections with the Nishimori line. Figure S2 compares threshold estimates across expansion orders from N = 52 N = 52 N = 52 to N = 62 N = 62 N = 62 . We estimate the central threshold value from the tight clustering at the highest three orders and its uncertainty conservatively from the spread across all examined orders and Padé approximants. Moreover, Figure S3 compares predictions from lower-order input with the additional coefficient computed at N = 62 N = 62 N = 62 , showing deviations typically of order 10 − 5 10^{-5} 1 0 − 5 or smaller that further support convergence of the threshold estimates. We thus determine its optimal threshold, p t h = 0.029 ( 2 ) p_{\mathrm{th}} = 0.029(2) p th = 0.029 ( 2 ) .
Figure S2. Order dependence and spread of the threshold estimates for the B B ( 1 ˉ , 1 ˉ , 3 , 3 ) \mathrm{BB}(\bar{1},\bar{1},3,3) BB ( 1 ˉ , 1 ˉ , 3 , 3 ) code under spacetime decoherence. We use 26 Dlog–Padé approximants across six expansion orders, N = 52 , 54 , … , 62 N = 52, 54, \ldots, 62 N = 52 , 54 , … , 62 . At each order, the vertical bar spans the minimum and maximum estimates across the different approximants. The clustering supports a stable threshold estimate, while the spread across these orders informs its conservative uncertainty.
Figure S3. Prediction deviation for the B B ( 1 ˉ , 1 ˉ , 3 , 3 ) \mathrm{BB}(\bar{1},\bar{1},3,3) BB ( 1 ˉ , 1 ˉ , 3 , 3 ) code. The colored curves show ε J \varepsilon_J ε J with J = 27 J = 27 J = 27 [Eq. (61) ] for four different N = 60 N = 60 N = 60 Dlog–Padé approximants. The reference coefficient b J ( p ) b_J(p) b J ( p ) is computed from the N = 62 N = 62 N = 62 expansion and excluded from the prediction input. (a) Full error-rate range; (b) enlargement near the threshold. Despite local spikes near the threshold, the plotted deviations remain of order 10 − 5 10^{-5} 1 0 − 5 or smaller.
We apply the same procedure to the benchmark cases (Figure S4 ) and to the other codes considered here (Figure S5 ). At finite expansion order, some pole branches terminate above the Nishimori line when two real poles of a Dlog–Padé approximant coalesce. The collision points remain stable in p p p across expansion orders and Padé approximants.
Figure S4. Optimal thresholds of (a) the X-cube code and (b) the 3D color code under perfect measurements. The displayed calculations use free-energy expansion orders N = 36 N = 36 N = 36 for the X-cube code and N = 148 N = 148 N = 148 for the 3D color code. Blue solid curves correspond to representative [4/7] and [30/31] Dlog–Padé approximants, respectively, while black dashed curves denote the Nishimori line. Shaded bands indicate the threshold uncertainty ranges. For the X-cube code, the intersection of the phase boundary with the Nishimori line gives p t h = 0.074 ( 2 ) p_{\mathrm{th}} = 0.074(2) p th = 0.074 ( 2 ) . For the 3D color code, the collision point lies above the Nishimori line. The vertical blue dashed line connects this point to its projection on the p p p axis. We estimate p t h = 0.020 ( 2 ) p_{\mathrm{th}} = 0.020(2) p th = 0.020 ( 2 ) from the collision region. These values agree with Monte Carlo estimates of 0.075(2) [22 ] and 0.019 [21 ] , respectively.
Figure S5. Optimal thresholds for six codes under spacetime decoherence, including the BB( 1 ˉ , 1 ˉ , 3 , 3 ) (\bar{1},\bar{1},3,3) ( 1 ˉ , 1 ˉ , 3 , 3 ) code used to illustrate the procedure. The phase boundaries shown are computed using expansion orders N = 60 N = 60 N = 60 for the two BB codes, N = 178 N = 178 N = 178 for the 3D color code, N = 68 N = 68 N = 68 for Haah’s code, N = 68 N = 68 N = 68 for the checkerboard code, and N = 88 N = 88 N = 88 for the X-cube code. Blue solid curves correspond to representative Dlog–Padé approximants [13/12] in (a,b), [35/40] in (c), [14/14] in (d,e), and [18/18] in (f), while black dashed curves denote the Nishimori line. Vertical blue dashed lines in (c)–(f) connect the collision points to their projections on the p p p axis. Shaded bands indicate threshold uncertainty ranges. The two BB codes have nearly identical optimal thresholds, p t h = 0.029 ( 2 ) p_{\mathrm{th}} = 0.029(2) p th = 0.029 ( 2 ) , despite their different maximal logical-qubit counts, k max = 16 k_{\max} = 16 k m a x = 16 and 26 [35 ] . The optimal thresholds for the 3D color, Haah’s, checkerboard, and X-cube codes are p t h = 0.011 ( 1 ) p_{\mathrm{th}} = 0.011(1) p th = 0.011 ( 1 ) , 0.034 ( 2 ) 0.034(2) 0.034 ( 2 ) , 0.034 ( 1 ) 0.034(1) 0.034 ( 1 ) , and 0.022 ( 1 ) 0.022(1) 0.022 ( 1 ) , respectively.
Graph enumeration
We compute the free-energy coefficients A m , k A_{m,k} A m , k by exhaustive enumeration of connected generator supports [Eq. (45) ], with the achieved expansion orders and enumerated counts summarized in Table S1 .
Table S1. Expansion orders and graph-enumeration counts for the codes studied. Here N N N is the highest computed free-energy expansion order in v v v . The counts include only connected generator configurations and their isomorphism classes with nonzero disorder-averaged contributions through v N v^N v N . Configurations are counted up to lattice translation; isomorphism classes group configurations with the same generator–interaction incidence structure. Evaluating one representative per class substantially reduces the number of weight calculations.
For the sectors of the codes studied here, each admissible finite-support graph has a unique filling. Each calculation uses one elementary graph generator per primitive cell: the complementary stabilizer map ∂ γ 1 \partial^1_\gamma ∂ γ 1 is B B B for the X X X sectors of the two BB codes, Haah’s code, and the checkerboard code, and A A A for the Z Z Z sectors of the 3D color and X-cube codes. These maps are single nonzero columns over the integral domain R s R_s R s and are therefore injective on finite-support configurations (Sec. S.III). The spacetime graph-generator maps retain this injectivity through their spatial components [Eq. (27) ]. Spatial and spacetime exactness [Eqs. (10) and (30) ] ensure that these fillings exist on the infinite lattice. Their uniqueness then gives ρ ( γ ) = 1 \rho(\gamma) = 1 ρ ( γ ) = 1 by Eq. (39) .
Only connected generator supports contribute to the series coefficients. Let g c g_c g c denote the set of interaction locations in the elementary boundary of a generator placement c c c . Two placements c c c and d d d are adjacent if g c ∩ g d ≠ ∅ g_c \cap g_d \ne\varnothing g c ∩ g d = ∅ . A support γ \gamma γ is disconnected precisely when it admits a partition γ = γ 1 ⊔ γ 2 \gamma= \gamma_1 \sqcup\gamma_2 γ = γ 1 ⊔ γ 2 into two nonempty parts such that ( ⋃ c ∈ γ 1 g c ) ∩ ( ⋃ d ∈ γ 2 g d ) = ∅ \left(\bigcup_{c\in\gamma_1} g_c\right) \cap\left(\bigcup_{d\in\gamma_2} g_d\right) = \varnothing ( ⋃ c ∈ γ 1 g c ) ∩ ( ⋃ d ∈ γ 2 g d ) = ∅ . These unions retain interaction locations that cancel modulo two in the boundary of the full configuration. Each subfilling splits uniquely into two pieces whose boundaries lie in the two disjoint unions above, so their graph factors multiply at fixed disorder. With ρ = 1 \rho= 1 ρ = 1 , Eq. (40) therefore gives P ( γ 1 ∪ γ 2 ) = P ( γ 1 ) P ( γ 2 ) \mathcal{P}(\gamma_1 \cup\gamma_2) = \mathcal{P}(\gamma_1)\mathcal{P}(\gamma_2) P ( γ 1 ∪ γ 2 ) = P ( γ 1 ) P ( γ 2 ) for any γ i ′ ⊆ γ i \gamma_i' \subseteq\gamma_i γ i ′ ⊆ γ i . Taking the logarithm and applying Eq. (41) gives W ( γ ) = 0 \mathcal{W}(\gamma) = 0 W ( γ ) = 0 for every disconnected support γ \gamma γ and every disorder realization.
The cover expansion in Eq. (44) , with ρ = 1 \rho= 1 ρ = 1 , determines the finite-order contributions of each connected support γ \gamma γ . It sums over all multisets of nonempty subfillings whose union is γ \gamma γ ; these subfillings may overlap, repeat, or be disconnected. A cover A \mathcal{A} A contributes at degree m ( A ) = ∑ i ∣ g i ∣ m(\mathcal{A}) = \sum_i |g_i| m ( A ) = ∑ i ∣ g i ∣ , where g i g_i g i is the boundary of its i i i th subfilling. Thus a support can contribute through γ N \gamma^N γ N only if it admits a cover with m ( A ) ≤ N m(\mathcal{A}) \le N m ( A ) ≤ N . The cover consisting of γ \gamma γ alone has degree ∣ γ ∣ |\gamma| ∣ γ ∣ , where g g g is the boundary of γ \gamma γ , whereas overlapping subfillings can cover the same support at a lower total degree. Cancellations between cover contributions can also raise the first nonzero order of the disorder-averaged weight above ∣ γ ∣ |\gamma| ∣ γ ∣ .
We enumerate connected generator supports up to translation by adapting Redelmeier’s method for fixed polyominoes [49 ] to the graph of generator placements defined above. We order placements lexicographically in primitive lattice coordinates and translate the least placement of each support to the origin. This selects a unique representative of each translation class. Starting with the generator at the origin, we grow a support γ \gamma γ by trying its eligible neighbors in turn. These are unoccupied placements that follow the origin in the chosen order, are adjacent to at least one generator in γ \gamma γ , and have not been excluded. The branch that adds a placement c c c inherits the remaining candidates and exclusions and gains any new eligible neighbors of c c c . On returning to γ \gamma γ , we restore its search state and exclude c c c from all later sibling branches and their descendants.
For any finite bound on generator count, this search visits each connected support within that bound exactly once up to translation. At the first divergence of two search paths, the earlier branch retains its chosen placement in every descendant, whereas the later branch excludes it. The same support therefore cannot be generated by both paths. To reach a connected target support Γ \Gamma Γ rooted as above, choose at each step the first candidate belonging to Γ \Gamma Γ . Every earlier candidate lies outside Γ \Gamma Γ , so excluding it does not prevent reaching the target. Connectivity guarantees an eligible neighbor in Γ ∖ γ \Gamma\setminus\gamma Γ ∖ γ until γ = Γ \gamma= \Gamma γ = Γ .
For each model at its target order N N N , we used the lattice geometry to derive a sufficient storage cutoff B s a v e ( N ) B_{\mathrm{save}}(N) B save ( N ) : every support admitting a cover with m ( A ) ≤ N m(\mathcal{A}) \le N m ( A ) ≤ N has ∣ γ ∣ ≤ B s a v e ( N ) |\gamma| \le B_{\mathrm{save}}(N) ∣ γ ∣ ≤ B save ( N ) . We therefore restrict graph-isomorphism tests to supports within this bound. During growth, we allow the boundary size to exceed B s a v e ( N ) B_{\mathrm{save}}(N) B save ( N ) , since adding a generator can cancel locations on the current boundary and bring its size back within the bound. The support data for each model are provided in the accompanying Zenodo repository [43 ] .
For each code and target order N N N , we numerically verify that the restricted search includes all contributions through v N v^N v N . We repeated the enumeration with progressively looser restrictions on boundary growth and obtained unchanged coefficients A m , k A_{m,k} A m , k for m ≤ N m \le N m ≤ N . Separate enumerations for the same model at different target orders, with the corresponding storage cutoffs, also yielded identical coefficients over their common range of orders.
We group retained supports by isomorphism of their generator–interaction incidence graphs. For each support, we form this bipartite graph by joining each generator c c c to the interaction locations in g c g_c g c . Two such graphs are isomorphic if they coincide after relabeling vertices within each of the two types. Supports with isomorphic incidence graphs have the same disorder-averaged weight W a v W_{\mathrm{av}} W av when the couplings have a common magnitude and independent, identically distributed signs. The isomorphism preserves all subfilling boundaries up to relabeling, so corresponding covers contribute equally after disorder averaging.
We evaluate this weight for one representative γ a \gamma_a γ a of each class and obtain the coefficients per unit cell as
A m , k = ∑ a M a [ q d i s k v m ] W a v ( γ a ; q d i s , v ) , m ≤ N , (62) A_{m,k} = \sum_a M_a [q_{\mathrm{dis}}^k v^m] \mathcal{W}_{\mathrm{av}}(\gamma_a;q_{\mathrm{dis}},v), \qquad m \le N, \tag*{(62)} A m , k = a ∑ M a [ q dis k v m ] W av ( γ a ; q dis , v ) , m ≤ N , (62)
where the embedding multiplicity M a M_a M a counts the distinct generator supports in class a a a up to lattice translation. The operator [ q d i s k v m ] [q_{\mathrm{dis}}^k v^m] [ q dis k v m ] extracts the coefficient of q d i s k v m q_{\mathrm{dis}}^k v^m q dis k v m from the representative weight. In Table S1 , we include a class a a a if the coefficient of v m v^m v m in its disorder-averaged weight is a nonzero polynomial in q d i s q_{\mathrm{dis}} q dis for some m ≤ N m \le N m ≤ N . Each contributing isomorphism class adds M a M_a M a to the configuration count and one to the class count.
Gauge-invariant order parameters
We construct generalized Wilson observables using the gauge structure of Sec. S.I C and the code matrices and bases of Sec. S.III, suppressing model subscripts on A A A , B B B . We retain R s t = R s [ t ± 1 ] R_{\mathrm{st}}=R_{\mathrm{s}}[t^{\pm1}] R st = R s [ t ± 1 ] , with t t t translating by one measurement round, and write δ t : = t − 1 \delta_t:=t-1 δ t := t − 1 and δ ˉ t : = t − 1 − 1 \bar{\delta}_t:=t^{-1}-1 δ ˉ t := t − 1 − 1 ; bars on Laurent polynomials denote inversion. For a translation λ \lambda λ and integer n ≥ 1 n\ge1 n ≥ 1 , set
[ n ] λ : = 1 + λ + ⋯ + λ n − 1 . (63) [n]_{\lambda}:=1+\lambda+\cdots+\lambda^{n-1}. \tag*{(63)} [ n ] λ := 1 + λ + ⋯ + λ n − 1 . (63)
For a spacetime spin support Σ ∈ F 1 μ \Sigma\in F_1^\mu Σ ∈ F 1 μ , write its gauge-charge pattern as q μ [ Σ ] : = ( ∂ 2 μ ) † Σ q_\mu[\Sigma]:=(\partial_2^\mu)^\dagger\Sigma q μ [ Σ ] := ( ∂ 2 μ ) † Σ . We use p ∈ R s q p\in R_s^q p ∈ R s q for a spatial spin support, embedded at round 0 as Σ = ( 0 , p ) \Sigma=(0,p) Σ = ( 0 , p ) . Its spatial gauge-charge pattern is A † p A^\dagger p A † p in the X X X -sector and B † p B^\dagger p B † p in the Z Z Z -sector.
General construction
A spin monomial W Σ W_\Sigma W Σ is gauge invariant precisely when q μ [ Σ ] = 0 q_\mu[\Sigma]=0 q μ [ Σ ] = 0 [Eq. (24) ]. On the infinite lattice, Eq. (25) gives every finite-support solution in the form Σ = □ 1 ν g = ( □ 1 μ ) † g \Sigma=\square_1^\nu g=(\square_1^\mu)^\dagger g Σ = □ 1 ν g = ( □ 1 μ ) † g , with finite-support g ∈ F ~ 1 ν ≅ F 0 μ g\in\widetilde{F}_1^\nu\cong F_0^\mu g ∈ F 1 ν ≅ F 0 μ and complementary sector ν \nu ν . Thus W Σ W_\Sigma W Σ is a product of interaction monomials, giving the discrete Stokes relation
W Σ ( s ) = ∏ ℓ W ( □ 1 μ ) † ℓ ( s ) g ℓ . (64) W_\Sigma(s)=\prod_\ell W_{(\square_1^\mu)^\dagger\ell}(s)^{g^\ell}. \tag*{(64)} W Σ ( s ) = ℓ ∏ W ( □ 1 μ ) † ℓ ( s ) g ℓ . (64)
By Eq. (30) , two choices g , g ′ g,g' g , g ′ give the same support precisely when g ′ − g = □ ~ 2 ν h g'-g=\widetilde{\square}_2^\nu h g ′ − g = □ 2 ν h for some h ∈ F ~ 2 ν h\in\widetilde{F}_2^\nu h ∈ F 2 ν . The quenched coupling signs are not part of these spin monomials.
For Σ X = ( u , v ) ∈ F 1 X \Sigma_X=(u,v)\in F_1^X Σ X = ( u , v ) ∈ F 1 X , the gauge-invariance condition reads
q X [ Σ X ] = ( ( ∂ 2 X ) † u δ ˉ t u + A † v ) = 0. (65) q_X[\Sigma_X]=
\begin{pmatrix}
(\partial_2^X)^\dagger u\\
\bar{\delta}_t u+A^\dagger v
\end{pmatrix}=0. \tag*{(65)} q X [ Σ X ] = ( ( ∂ 2 X ) † u δ ˉ t u + A † v ) = 0. (65)
The two components impose the static stabilizer-relation constraint and temporal closure.
For a spatial support p ∈ R s q p\in R_s^q p ∈ R s q with X X X -check syndrome A † p A^\dagger p A † p , temporal extension over n ≥ 1 n\ge1 n ≥ 1 rounds gives
Σ X ( p ; n ) = ( [ t ] n A † p ( 1 + t n ) p ) = ( □ 1 X ) † ( [ t ] n p 0 ) . (66) \Sigma_X(p;n)=
\begin{pmatrix}
[t]_n A^\dagger p\\
(1+t^n)p
\end{pmatrix}
=(\square_1^X)^\dagger
\begin{pmatrix}
[t]_n p\\
0
\end{pmatrix}. \tag*{(66)} Σ X ( p ; n ) = ( [ t ] n A † p ( 1 + t n ) p ) = ( □ 1 X ) † ( [ t ] n p 0 ) . (66)
Here δ ˉ t [ t ] n = 1 + t n \bar{\delta}_t[t]_n=1+t^n δ ˉ t [ t ] n = 1 + t n over F 2 \mathbb{F}_2 F 2 , and gauge invariance follows from □ 1 X □ 2 X = 0 \square_1^X\square_2^X=0 □ 1 X □ 2 X = 0 . Exchanging X , A X,A X , A with Z , B Z,B Z , B gives the complementary construction.
Copies of p p p at rounds 0, n n n create and annihilate the syndrome A † p A^\dagger p A † p ; the upper component supplies its history at rounds 1 , … , n 1,\ldots,n 1 , … , n . A string creating endpoint anyons therefore yields loop-type spacetime support, while a membrane creating a boundary loop of excitations yields surface-type support. The same formula uses the actual excitation patterns of wireframe and fractal supports, without requiring a smooth boundary or spatial mobility of individual excitations. Varying p p p and n n n to obtain growing supports gives generalized Wilson families.
Generalized Wilson observables can also be supported within a single time slice. Such purely spatial supports arise by combining spatial support vectors whose excitation patterns cancel, as in the loop, wireframe, and tube constructions of Secs. S.V C–S.V E.
The cohomological degree shift in Eq. (22) connects this construction to the Ext classification of code excitation sectors [44 , 50 ] . These sector labels can organize generalized Wilson families; their thermodynamic scaling determines whether they distinguish phases.
Bivariate bicycle codes
BB codes are self-dual, so we study the X X X -sector. For B B ( α ˉ , β ˉ , a , b ) \mathrm{BB}(\bar{\alpha},\bar{\beta},a,b) BB ( α ˉ , β ˉ , a , b ) , with α ˉ = − α \bar{\alpha}=-\alpha α ˉ = − α and β ˉ = − β \bar{\beta}=-\beta β ˉ = − β , the check maps are A = ( f , g ) T A=(f,g)^T A = ( f , g ) T and B = ( g ˉ , f ˉ ) T B=(\bar{g},\bar{f})^T B = ( g ˉ , f ˉ ) T , where f = 1 + x + x ˉ y b f=1+x+\bar{x}y^b f = 1 + x + x ˉ y b and g = 1 + y + y ˉ x a g=1+y+\bar{y}x^a g = 1 + y + y ˉ x a .
Auxiliary spins occupy the links of a cubic spacetime lattice with two spatial directions and one temporal direction. The interaction map is
( □ 1 X ) † = ( f ˉ g ˉ 0 δ ˉ t 0 g ˉ 0 δ ˉ t f ˉ ) . (67) (\square_1^X)^\dagger=
\begin{pmatrix}
\bar{f} & \bar{g} & 0\\
\bar{\delta}_t & 0 & \bar{g}\\
0 & \bar{\delta}_t & \bar{f}
\end{pmatrix}. \tag*{(67)} ( □ 1 X ) † = f ˉ δ ˉ t 0 g ˉ 0 δ ˉ t 0 g ˉ f ˉ . (67)
The first two columns combine the three-site support of f ˉ \bar{f} f ˉ or g ˉ \bar{g} g ˉ with δ ˉ i \bar{\delta}_i δ ˉ i : each gives a five-body interaction between adjacent time slices, with one non-nearest-neighbor spatial term. The third combines g ˉ \bar{g} g ˉ and f ˉ \bar{f} f ˉ in one slice, giving a six-body interaction with two non-nearest-neighbor spatial terms.
Since ker A = ker B = 0 \ker A = \ker B = 0 ker A = ker B = 0 , we take C 2 X = C 2 Z = 0 C_2^X = C_2^Z = 0 C 2 X = C 2 Z = 0 . The gauge map □ 2 X \square_2^X □ 2 X and its adjoint are therefore
□ 2 X ( δ ˉ t f ˉ g ˉ ) , ( □ 2 X ) † = ( δ ˉ t f ˉ g ˉ ) . (68) \square_2^X
\begin{pmatrix}
\bar{\delta}_t \\
\bar{f} \\
\bar{g}
\end{pmatrix},
\qquad
(\square_2^X)^\dagger= (\bar{\delta}_t\ \bar{f}\ \bar{g}). \tag*{(68)} □ 2 X δ ˉ t f ˉ g ˉ , ( □ 2 X ) † = ( δ ˉ t f ˉ g ˉ ) . (68)
A gauge-invariant spin support Σ X = ( u , v , w ) T \Sigma_X = (u,v,w)^T Σ X = ( u , v , w ) T satisfies
q X [ Σ X ] = ( □ 2 X ) † Σ X = δ ˉ t u + f ˉ v + g ˉ w = 0. (69) q_X[\Sigma_X] = (\square_2^X)^\dagger\Sigma_X = \bar{\delta}_t u + \bar{f}v + \bar{g}w = 0. \tag*{(69)} q X [ Σ X ] = ( □ 2 X ) † Σ X = δ ˉ t u + f ˉ v + g ˉ w = 0. (69)
The ideal of charge patterns generated by ( □ 2 X ) † (\square_2^X)^\dagger ( □ 2 X ) † is
I s t : = im ( □ 2 X ) † = ( δ ˉ t , f ˉ , g ˉ ) ⊂ R s t . (70) \mathcal{I}_{\mathrm{st}} := \operatorname{im}(\square_2^X)^\dagger= (\bar{\delta}_t,\bar{f},\bar{g}) \subset R_{\mathrm{st}}. \tag*{(70)} I st := im ( □ 2 X ) † = ( δ ˉ t , f ˉ , g ˉ ) ⊂ R st . (70)
For BB(1 ˉ , 1 ˉ , 3 , 3 \bar{1},\bar{1},3,3 1 ˉ , 1 ˉ , 3 , 3 ), we lift the Laurent ideal I s t \mathcal{I}_{\mathrm{st}} I st to the ordinary polynomial ring S = F 2 [ t ˉ , t , y ˉ , x ˉ , y , x ] S = \mathbb{F}_2[\bar{t},t,\bar{y},\bar{x},y,x] S = F 2 [ t ˉ , t , y ˉ , x ˉ , y , x ] to compute a reduced Gröbner basis. Here the barred variables are independent indeterminates. The quotient map π : S → R s t \pi:S\to R_{\mathrm{st}} π : S → R st leaves t , x , y t,x,y t , x , y unchanged and sends ( t ˉ , x ˉ , y ˉ ) (\bar{t},\bar{x},\bar{y}) ( t ˉ , x ˉ , y ˉ ) to ( t − 1 , x − 1 , y − 1 ) (t^{-1},x^{-1},y^{-1}) ( t − 1 , x − 1 , y − 1 ) . The lifted ideal is
J s t : = π − 1 ( I s t ) = ( 1 + t ˉ , 1 + t t ˉ , 1 + x ˉ + x y ˉ 3 , 1 + y ˉ + x ˉ 3 y , 1 + x x ˉ , 1 + y y ˉ ) ⊂ S . (71) \mathcal{J}_{\mathrm{st}} := \pi^{-1}(\mathcal{I}_{\mathrm{st}}) = (1+\bar{t},\ 1+t\bar{t},\ 1+\bar{x}+x\bar{y}^{3},\ 1+\bar{y}+\bar{x}^{3}y,\ 1+x\bar{x},\ 1+y\bar{y}) \subset S. \tag*{(71)} J st := π − 1 ( I st ) = ( 1 + t ˉ , 1 + t t ˉ , 1 + x ˉ + x y ˉ 3 , 1 + y ˉ + x ˉ 3 y , 1 + x x ˉ , 1 + y y ˉ ) ⊂ S . (71)
With the lexicographic order t ˉ > t > y ˉ > x ˉ > y > x \bar{t} > t > \bar{y} > \bar{x} > y > x t ˉ > t > y ˉ > x ˉ > y > x , the reduced Gröbner basis of J s t \mathcal{J}_{\mathrm{st}} J st is
G s t = { h 1 , … , h 7 } , h 1 = 1 + t ˉ , h 2 = 1 + t , h 3 = 1 + x + x 3 + x 5 + x 6 , h 4 = 1 + x 3 + y + x y + x 2 y , h 5 = 1 + x + x 4 + y + y 2 , h 6 = 1 + x 2 + x 4 + x 5 + x ˉ , h 7 = 1 + x + x 2 + x 3 + y + y ˉ . (72) \begin{aligned}
\mathcal{G}_{\mathrm{st}} &= \{h_1,\ldots,h_7\},\\
h_1 &= 1+\bar{t},\\
h_2 &= 1+t,\\
h_3 &= 1+x+x^3+x^5+x^6,\\
h_4 &= 1+x^3+y+xy+x^2y,\\
h_5 &= 1+x+x^4+y+y^2,\\
h_6 &= 1+x^2+x^4+x^5+\bar{x},\\
h_7 &= 1+x+x^2+x^3+y+\bar{y}. \tag*{(72)}
\end{aligned} G st h 1 h 2 h 3 h 4 h 5 h 6 h 7 = { h 1 , … , h 7 } , = 1 + t ˉ , = 1 + t , = 1 + x + x 3 + x 5 + x 6 , = 1 + x 3 + y + x y + x 2 y , = 1 + x + x 4 + y + y 2 , = 1 + x 2 + x 4 + x 5 + x ˉ , = 1 + x + x 2 + x 3 + y + y ˉ . (72)
Their images under π \pi π , denoted by the same symbols h i h_i h i , generate I s t \mathcal{I}_{\mathrm{st}} I st .
Choose finite spin supports Σ i \Sigma_i Σ i with q X [ Σ i ] = h i q_X[\Sigma_i] = h_i q X [ Σ i ] = h i . Every allowed charge move Δ q ∈ I s t \Delta q \in\mathcal{I}_{\mathrm{st}} Δ q ∈ I st is realized by a finite R s t R_{\mathrm{st}} R st -linear combination:
q X [ ∑ i = 1 7 α i Σ i ] = ∑ i = 1 7 α i h i = Δ q , α i ∈ R s t . (73) q_X\left[\sum_{i=1}^{7}\alpha_i\Sigma_i\right] = \sum_{i=1}^{7}\alpha_i h_i = \Delta q,\qquad\alpha_i \in R_{\mathrm{st}}. \tag*{(73)} q X [ i = 1 ∑ 7 α i Σ i ] = i = 1 ∑ 7 α i h i = Δ q , α i ∈ R st . (73)
For example, h 3 h_3 h 3 describes the charge move 1 ⟼ 1 + h 3 = x + x 3 + x 5 + x 6 1 \longmapsto1+h_3=x+x^3+x^5+x^6 1 ⟼ 1 + h 3 = x + x 3 + x 5 + x 6 along the x x x direction. One realization is ( 0 , p 3 ) (0,p_3) ( 0 , p 3 ) , with q X [ ( 0 , p 3 ) ] = A † p 3 = h 3 q_X[(0,p_3)] = A^\dagger p_3 = h_3 q X [( 0 , p 3 )] = A † p 3 = h 3 , where
p 3 : = ( x 2 y + x 3 y + x 5 x 3 y − 1 + x 4 y − 1 + x 4 + x 6 y − 2 + x 6 y − 1 + x 6 ) . (74) p_3 :=
\begin{pmatrix}
x^2y+x^3y+x^5\\
x^3y^{-1}+x^4y^{-1}+x^4+x^6y^{-2}+x^6y^{-1}+x^6
\end{pmatrix}. \tag*{(74)} p 3 := ( x 2 y + x 3 y + x 5 x 3 y − 1 + x 4 y − 1 + x 4 + x 6 y − 2 + x 6 y − 1 + x 6 ) . (74)
The support spans lattice coordinates − 2 -2 − 2 to 1 1 1 in the y y y direction, so ( 0 , p 3 ) (0,p_3) ( 0 , p 3 ) is an open charged ribbon of finite width. Combining translated supports Σ i \Sigma_i Σ i realizes the charge moves above. Two allowed transport supports with the same endpoint charge patterns have a gauge-invariant sum. Choosing them along paths that stay a bounded distance apart gives closed ribbons whose length can grow while their width remains finite.
Three-dimensional color code
The three-dimensional color code induces two distinct gauge theories on the four-dimensional spacetime extension of the tetrahedral lattice.
We first consider the Z-sector. Its interaction map is
( □ 1 Z ) † = ( 1 1 y y z z y z 0 x x z 1 1 x z z 0 x y x x y y 1 1 0 1 0 1 0 z z 0 0 1 y y 1 0 0 x x 0 1 0 1 0 1 1 1 1 1 1 0 δ ˉ t 0 0 0 0 0 1 + x ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 0 δ ˉ t 0 0 0 0 1 + x ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 0 0 δ ˉ t 0 0 0 1 + y ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 0 0 0 δ ˉ t 0 0 1 + y ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ 0 0 0 0 δ ˉ t 0 1 + z ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 0 0 0 0 0 δ ˉ t 1 + z ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ ) . (75) \left(\square_1^Z\right)^\dagger=
\left(
\begin{array}{ccccccc|c}
1 & 1 & y & yz & z & yz & & 0 \\
x & xz & 1 & 1 & xz & z & & 0 \\
xy & x & xy & y & 1 & 1 & & 0 \\
1 & 0 & 1 & 0 & z & z & & 0 \\
0 & 1 & y & y & 1 & 0 & & 0 \\
x & x & 0 & 1 & 0 & 1 & & 0 \\
1 & 1 & 1 & 1 & 1 & 1 & & 0 \\
\hline
\bar{\delta}_t & 0 & 0 & 0 & 0 & 0 & & 1+\bar{x}+\bar{x}\bar{y}+\bar{x}\bar{y}\bar{z} \\
0 & \bar{\delta}_t & 0 & 0 & 0 & 0 & & 1+\bar{x}+\bar{x}\bar{z}+\bar{x}\bar{y}\bar{z} \\
0 & 0 & \bar{\delta}_t & 0 & 0 & 0 & & 1+\bar{y}+\bar{x}\bar{y}+\bar{x}\bar{y}\bar{z} \\
0 & 0 & 0 & \bar{\delta}_t & 0 & 0 & & 1+\bar{y}+\bar{y}\bar{z}+\bar{x}\bar{y}\bar{z} \\
0 & 0 & 0 & 0 & \bar{\delta}_t & 0 & & 1+\bar{z}+\bar{x}\bar{z}+\bar{x}\bar{y}\bar{z} \\
0 & 0 & 0 & 0 & 0 & \bar{\delta}_t & & 1+\bar{z}+\bar{y}\bar{z}+\bar{x}\bar{y}\bar{z}
\end{array}
\right). \tag*{(75)} ( □ 1 Z ) † = 1 x x y 1 0 x 1 δ ˉ t 0 0 0 0 0 1 x z x 0 1 x 1 0 δ ˉ t 0 0 0 0 y 1 x y 1 y 0 1 0 0 δ ˉ t 0 0 0 y z 1 y 0 y 1 1 0 0 0 δ ˉ t 0 0 z x z 1 z 1 0 1 0 0 0 0 δ ˉ t 0 y z z 1 z 0 1 1 0 0 0 0 0 δ ˉ t 0 0 0 0 0 0 0 1 + x ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 1 + x ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 1 + y ˉ + x ˉ y ˉ + x ˉ y ˉ z ˉ 1 + y ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ 1 + z ˉ + x ˉ z ˉ + x ˉ y ˉ z ˉ 1 + z ˉ + y ˉ z ˉ + x ˉ y ˉ z ˉ . (75)
The relations among the B B B checks are generated by the injective map ∂ 2 Z \partial_2^Z ∂ 2 Z :
∂ 2 Z = ( 1 + x ˉ x ˉ 1 + y ˉ y ˉ 1 + z ˉ z ˉ 0 1 + x ˉ y ˉ 0 1 + x ˉ z ˉ 0 1 + y ˉ z ˉ 1 + x ˉ y ˉ z ˉ 1 ) : R s t 2 ⟶ R s t 7 . (76) \partial_2^Z =
\left(
\begin{array}{cc}
1+\bar{x} & \bar{x} \\
1+\bar{y} & \bar{y} \\
1+\bar{z} & \bar{z} \\
0 & 1+\bar{x}\bar{y} \\
0 & 1+\bar{x}\bar{z} \\
0 & 1+\bar{y}\bar{z} \\
1+\bar{x}\bar{y}\bar{z} & 1
\end{array}
\right):R_{\mathrm{st}}^2 \longrightarrow R_{\mathrm{st}}^7. \tag*{(76)} ∂ 2 Z = 1 + x ˉ 1 + y ˉ 1 + z ˉ 0 0 0 1 + x ˉ y ˉ z ˉ x ˉ y ˉ z ˉ 1 + x ˉ y ˉ 1 + x ˉ z ˉ 1 + y ˉ z ˉ 1 : R st 2 ⟶ R st 7 . (76)
The map for gauge transformations is
□ 2 Z = ( ∂ 2 Z δ 1 I 7 0 B ) . (77) \square_2^Z =
\left(
\begin{array}{cc}
\partial_2^Z & \delta_1 I_7 \\
0 & B
\end{array}
\right). \tag*{(77)} □ 2 Z = ( ∂ 2 Z 0 δ 1 I 7 B ) . (77)
A finite spin support Σ Z = ( u , v ) ∈ R s t 7 ⊕ R s t 6 \Sigma_Z=(u,v)\in R_{\mathrm{st}}^7\oplus R_{\mathrm{st}}^6 Σ Z = ( u , v ) ∈ R st 7 ⊕ R st 6 has charge pattern
\begin{pmatrix}
q_1\\
q_2
\end{pmatrix}
:=q_Z[\Sigma_Z]=\left(\square_2^Z\right)^\dagger\Sigma_Z=
\begin{pmatrix}
\left(\partial_2^Z\right)^\dagger u\\
\bar{\delta}_1u+B^\dagger v
\end{pmatrix}. \tag*{(78)}\end{pmatrix}
Since ∂ 2 Z \partial_2^Z ∂ 2 Z is injective, we take C 3 Z = 0 C_3^Z=0 C 3 Z = 0 . The gauge resolution then terminates with □ 3 Z = ( δ 1 I 2 ∂ 2 Z ) \square_3^Z=\left(\begin{smallmatrix}\delta_1 I_2\\ \partial_2^Z\end{smallmatrix}\right) □ 3 Z = ( δ 1 I 2 ∂ 2 Z ) , whose adjoint imposes the higher constraint
( □ 3 Z ) † ( q 1 q 2 ) = δ ˉ 1 q 1 + ( ∂ 2 Z ) † q 2 = 0. (79) \left(\square_3^Z\right)^\dagger
\begin{pmatrix}
q_1\\
q_2
\end{pmatrix}
=\bar{\delta}_1q_1+\left(\partial_2^Z\right)^\dagger q_2=0. \tag*{(79)} ( □ 3 Z ) † ( q 1 q 2 ) = δ ˉ 1 q 1 + ( ∂ 2 Z ) † q 2 = 0. (79)
For a support Σ Z = ( 0 , v ) \Sigma_Z=(0,v) Σ Z = ( 0 , v ) confined to one time slice, q 1 = 0 q_1=0 q 1 = 0 and q 2 = B † v q_2=B^\dagger v q 2 = B † v , so Eq. (79) reduces to ( ∂ 2 Z ) † q 2 = 0 \left(\partial_2^Z\right)^\dagger q_2=0 ( ∂ 2 Z ) † q 2 = 0 . We choose a spatial support p 1 x y , x z ∈ R s 6 p_1^{xy,xz}\in R_{\mathrm{s}}^6 p 1 x y , x z ∈ R s 6 , with spacetime embedding ( 0 , p 1 x y , x z ) (0,p_1^{xy,xz}) ( 0 , p 1 x y , x z ) , where
p 1 x y , x z = ( 1 1 0 x 0 x ) . (80) p_1^{xy,xz}=
\begin{pmatrix}
1\\
1\\
0\\
x\\
0\\
x
\end{pmatrix}. \tag*{(80)} p 1 x y , x z = 1 1 0 x 0 x . (80)
B † p 1 x y , x z = ( 1 + x z ) e x y + ( 1 + x y ) e x z B^\dagger p_1^{xy,xz}=(1+xz)e_{xy}+(1+xy)e_{xz} B † p 1 x y , x z = ( 1 + x z ) e x y + ( 1 + x y ) e x z .
The four tetrahedra q x y q_{xy} q x y , q x z q_{xz} q x z , x q y z xq_{yz} x q y z , x q z y xq_{zy} x q z y share the edge ( x , x y z ) (x,xyz) ( x , x y z ) and form the octahedron illustrated in the main text. This membrane patch has a rectangular charge boundary: its two e x y e_{xy} e x y edges are separated by x z xz x z , and its two e x z e_{xz} e x z edges by x y xy x y .
The L × M L \times M L × M family of spatial supports is p L , M x y , x z : = [ L ] x y [ M ] x z p 1 x y , x z p_{L,M}^{xy,xz}:=[L]_{xy}[M]_{xz}p_{1}^{xy,xz} p L , M x y , x z := [ L ] x y [ M ] x z p 1 x y , x z . Its charge is q L , M x y , x z : = B † p L , M x y , x z = ( 1 + ( x z ) M ) [ L ] x y e x y + ( 1 + ( x y ) L ) [ M ] x z e x z q_{L,M}^{xy,xz}:=B^{\dagger}p_{L,M}^{xy,xz}=(1+(xz)^{M})[L]_{xy}e_{xy}+(1+(xy)^{L})[M]_{xz}e_{xz} q L , M x y , x z := B † p L , M x y , x z = ( 1 + ( x z ) M ) [ L ] x y e x y + ( 1 + ( x y ) L ) [ M ] x z e x z . Its charge is confined to the one-dimensional boundary and satisfies ( ∂ 2 Z ) † q L , M x y , x z = 0 (\partial_{2}^{Z})^{\dagger}q_{L,M}^{xy,xz}=0 ( ∂ 2 Z ) † q L , M x y , x z = 0 , as required by Eq. (79) .
In Eq. (78) , B † v B^{\dagger}v B † v deforms a line charge within a slice, while δ ˉ t u \bar{\delta}_{tu} δ ˉ t u propagates a closed line satisfying ( ∂ 2 Z ) † u = 0 (\partial_{2}^{Z})^{\dagger}u=0 ( ∂ 2 Z ) † u = 0 between adjacent slices. Applying the temporal construction of Eq. (66) in the Z-sector to p L , M x y , x z p_{L,M}^{xy,xz} p L , M x y , x z gives, for T ≥ 1 T \ge1 T ≥ 1 ,
Σ Z x y , x z ( L , M ; T ) : = ( t [ T ] q L , M x y , x z , ( 1 + t T ) p L , M x y , x z ) ∈ R s t 7 ⊕ R s t 6 . (81) \Sigma_{Z}^{xy,xz}(L,M;T):=\left(t[T]q_{L,M}^{xy,xz},(1+t^{T})p_{L,M}^{xy,xz}\right)\in R_{\mathrm{st}}^{7}\oplus R_{\mathrm{st}}^{6}. \tag*{(81)} Σ Z x y , x z ( L , M ; T ) := ( t [ T ] q L , M x y , x z , ( 1 + t T ) p L , M x y , x z ) ∈ R st 7 ⊕ R st 6 . (81)
Equation (S71) gives q Z [ Σ Z x y , x z ( L , M ; T ) ] = 0 q_{Z}[\Sigma_{Z}^{xy,xz}(L,M;T)]=0 q Z [ Σ Z x y , x z ( L , M ; T )] = 0 .
The two copies of p L , M x y , x z p_{L,M}^{xy,xz} p L , M x y , x z form the caps, joined by the temporal side wall t [ T ] q L , M x y , x z t[T]q_{L,M}^{xy,xz} t [ T ] q L , M x y , x z . Together they form a closed two-dimensional surface in spacetime, as in a two-form gauge theory. Varying L L L , M M M , T T T gives gauge-invariant membranes of arbitrary size.
In the X-sector, the interaction map is
( □ 1 X ) † = ( A † 0 δ ˉ t I 6 B ) . (82) (\Box_{1}^{X})^{\dagger}=
\begin{pmatrix}
A^{\dagger} & 0\\
\bar{\delta}_{t}I_{6} & B
\end{pmatrix}. \tag*{(82)} ( □ 1 X ) † = ( A † δ ˉ t I 6 0 B ) . (82)
Since ker A = 0 \ker A=0 ker A = 0 , we take C 2 X = 0 C_{2}^{X}=0 C 2 X = 0 , giving the gauge map
□ 2 X = ( δ t A ) . (83) \Box_{2}^{X}=
\begin{pmatrix}
\delta_{t}\\
A
\end{pmatrix}. \tag*{(83)} □ 2 X = ( δ t A ) . (83)
For Σ X = ( u , v ) ∈ R s t ⊕ R s t 6 \Sigma_{X}=(u,v)\in R_{\mathrm{st}}\oplus R_{\mathrm{st}}^{6} Σ X = ( u , v ) ∈ R st ⊕ R st 6 , the charge is q X [ Σ X ] = δ ˉ t u + A † v ∈ R s t q_{X}[\Sigma_{X}]=\bar{\delta}_{t}u+A^{\dagger}v\in R_{\mathrm{st}} q X [ Σ X ] = δ ˉ t u + A † v ∈ R st , with no higher adjoint constraint. Each Laurent monomial in R s t R_{\mathrm{st}} R st represents a point charge. For example, let
ρ 0 = x ˉ y ˉ , p ρ 0 = x ˉ ( 1 , 0 , 1 , 0 , 0 , 0 ) T . (84) \rho_{0}=\bar{x}\bar{y},\qquad p_{\rho_{0}}=\bar{x}(1,0,1,0,0,0)^{T}. \tag*{(84)} ρ 0 = x ˉ y ˉ , p ρ 0 = x ˉ ( 1 , 0 , 1 , 0 , 0 , 0 ) T . (84)
The tetrahedra x ˉ q x y \bar{x}q_{xy} x ˉ q x y and x ˉ q y x \bar{x}q_{yx} x ˉ q y x share a triangular face and form the bipyramid illustrated in the main text. The identity A † p ρ 0 = 1 + ρ 0 A^{\dagger}p_{\rho_{0}}=1+\rho_{0} A † p ρ 0 = 1 + ρ 0 shows that ( 0 , p ρ 0 ) (0,p_{\rho_{0}}) ( 0 , p ρ 0 ) transports a charge by ρ 0 \rho_{0} ρ 0 . Concatenating translated copies gives strings of arbitrary length and fixed transverse extent. Applying Eq. (66) to [ N ] ρ 0 p ρ 0 [N]_{\rho_{0}}p_{\rho_{0}} [ N ] ρ 0 p ρ 0 , for N ≥ 1 N\ge1 N ≥ 1 , gives the spacetime loop illustrated in the main text. More generally, every spatial translation ρ \rho ρ preserving vertex color admits a finite spatial support p ρ ∈ R s 6 p_{\rho}\in R_{\mathrm{s}}^{6} p ρ ∈ R s 6 with A † p ρ = 1 + ρ A^{\dagger}p_{\rho}=1+\rho A † p ρ = 1 + ρ . Combining these supports along closed paths preserving vertex color cancels the endpoint charges, yielding gauge-invariant loops of arbitrarily large extent.
X-cube code
The X-cube code induces distinct Z- and X-sector gauge theories on the four-dimensional spacetime extension of the simple-cubic lattice.
We first consider the Z-sector. Its interaction map is
( □ 1 Z ) † = ( 0 1 + y 1 + z 0 1 + x 0 1 + z 0 δ ˉ t 0 0 ( 1 + y ) ( 1 + z ) 0 δ ˉ t 0 ( 1 + x ) ( 1 + z ) 0 0 δ ˉ t ( 1 + x ) ( 1 + y ) ) . (85) (\Box_{1}^{Z})^{\dagger}=
\begin{pmatrix}
0 & 1+y & 1+z & 0\\
1+x & 0 & 1+z & 0\\
\bar{\delta}_{t} & 0 & 0 & (1+y)(1+z)\\
0 & \bar{\delta}_{t} & 0 & (1+x)(1+z)\\
0 & 0 & \bar{\delta}_{t} & (1+x)(1+y)
\end{pmatrix}. \tag*{(85)} ( □ 1 Z ) † = 0 1 + x δ ˉ t 0 0 1 + y 0 0 δ ˉ t 0 1 + z 1 + z 0 0 δ ˉ t 0 0 ( 1 + y ) ( 1 + z ) ( 1 + x ) ( 1 + z ) ( 1 + x ) ( 1 + y ) . (85)
The X-cube map B B B is injective, so we take C 2 Z = 0 C_{2}^{Z}=0 C 2 Z = 0 . The gauge map and its adjoint are
□ 2 Z = ( δ ˉ t I 2 B ) , ( □ 2 Z ) † = ( δ ˉ t I 2 B † ) . (86) \Box_{2}^{Z}=
\begin{pmatrix}
\bar{\delta}_{t}I_{2}\\
B
\end{pmatrix},
\qquad
(\Box_{2}^{Z})^{\dagger}=\left(\bar{\delta}_{t}I_{2}\ \ B^{\dagger}\right). \tag*{(86)} □ 2 Z = ( δ ˉ t I 2 B ) , ( □ 2 Z ) † = ( δ ˉ t I 2 B † ) . (86)
A gauge-invariant spin support Σ Z = ( u , v ) ∈ R s t 2 ⊕ R s t 3 \Sigma_{Z}=(u,v)\in R_{\mathrm{st}}^{2}\oplus R_{\mathrm{st}}^{3} Σ Z = ( u , v ) ∈ R st 2 ⊕ R st 3 satisfies q Z [ Σ Z ] = δ ˉ t u + B † v = 0 q_{Z}[\Sigma_{Z}]=\bar{\delta}_{t}u+B^{\dagger}v=0 q Z [ Σ Z ] = δ ˉ t u + B † v = 0 . For a spatial support p ∈ R s 3 p\in R_{\mathrm{s}}^{3} p ∈ R s 3 , its embedding ( 0 , p ) (0,p) ( 0 , p ) has charge B † p B^{\dagger}p B † p , while δ ˉ t u \bar{\delta}_{t}u δ ˉ t u connects charge patterns on adjacent time slices. For L ≥ 1 L\ge1 L ≥ 1 , define the three string supports
Σ x ( L ) : = ( 0 , [ L ] x e x ) , Σ y ( L ) : = ( 0 , [ L ] y e y ) , Σ z ( L ) : = ( 0 , [ L ] z e z ) . (87) \Sigma_{x}(L):=(0,[L]_{x}e_{x}),\qquad\Sigma_{y}(L):=(0,[L]_{y}e_{y}),\qquad\Sigma_{z}(L):=(0,[L]_{z}e_{z}). \tag*{(87)} Σ x ( L ) := ( 0 , [ L ] x e x ) , Σ y ( L ) := ( 0 , [ L ] y e y ) , Σ z ( L ) := ( 0 , [ L ] z e z ) . (87)
Their charge patterns are
q Z [ Σ X ( L ) ] = B † [ L ] x e X = ( 0 1 + x L ) , q Z [ Σ Y ( L ) ] = B † [ L ] y e Y = ( 1 + y L 0 ) , q Z [ Σ Z ( L ) ] = B † [ L ] z e Z = ( 1 + z L 1 + z L ) . (88) \begin{aligned}
q_Z[\Sigma_X(L)] &= B^\dagger[L]_x e_X = \begin{pmatrix} 0 \\ 1+x^L \end{pmatrix},\\
q_Z[\Sigma_Y(L)] &= B^\dagger[L]_y e_Y = \begin{pmatrix} 1+y^L \\ 0 \end{pmatrix},\\
q_Z[\Sigma_Z(L)] &= B^\dagger[L]_z e_Z = \begin{pmatrix} 1+z^L \\ 1+z^L \end{pmatrix}. \tag*{(88)}
\end{aligned} q Z [ Σ X ( L )] q Z [ Σ Y ( L )] q Z [ Σ Z ( L )] = B † [ L ] x e X = ( 0 1 + x L ) , = B † [ L ] y e Y = ( 1 + y L 0 ) , = B † [ L ] z e Z = ( 1 + z L 1 + z L ) . (88)
In the independent ( b x , b y ) (b_x,b_y) ( b x , b y ) basis, the endpoint vectors ( 0 , 1 ) T (0,1)^T ( 0 , 1 ) T , ( 1 , 0 ) T (1,0)^T ( 1 , 0 ) T , and ( 1 , 1 ) T (1,1)^T ( 1 , 1 ) T are the three lineon types, restricted to motion along x x x , y y y , and z z z , respectively. Each string creates a pair separated by L L L .
We join translated copies of the three strings along the edges of a cuboid. For L , M , N ≥ 1 L,M,N \ge1 L , M , N ≥ 1 , set Q L , M , N : = [ L ] x [ M ] y [ N ] z Q_{L,M,N}:=[L]_x[M]_y[N]_z Q L , M , N := [ L ] x [ M ] y [ N ] z and define
Σ w i r e ( L , M , N ) : = ( 0 , A Q L , M , N ) = ( 0 , ( [ L ] x ( 1 + y M ) ( 1 + z N ) [ M ] y ( 1 + x L ) ( 1 + z N ) [ N ] z ( 1 + x L ) ( 1 + y M ) ) ) . (89) \begin{aligned}
\Sigma_{\mathrm{wire}}(L,M,N)&:=(0,AQ_{L,M,N})\\
&=\left(0,\begin{pmatrix}
[L]_x(1+y^M)(1+z^N)\\
[M]_y(1+x^L)(1+z^N)\\
[N]_z(1+x^L)(1+y^M)
\end{pmatrix}\right). \tag*{(89)}
\end{aligned} Σ wire ( L , M , N ) := ( 0 , A Q L , M , N ) = 0 , [ L ] x ( 1 + y M ) ( 1 + z N ) [ M ] y ( 1 + x L ) ( 1 + z N ) [ N ] z ( 1 + x L ) ( 1 + y M ) . (89)
Each component occupies the four cuboid edges parallel to its axis. At every corner, ( 0 , 1 ) T + ( 1 , 0 ) T + ( 1 , 1 ) T = 0 (0,1)^T+(1,0)^T+(1,1)^T=0 ( 0 , 1 ) T + ( 1 , 0 ) T + ( 1 , 1 ) T = 0 , so the charges cancel. Thus Σ w i r e \Sigma_{\mathrm{wire}} Σ wire is a gauge-invariant wireframe supported only on the cuboid edges.
We next consider the X-sector. Its interaction map is
( □ 1 X ) † = ( A † 0 δ t I 3 B ) . (90) (\square_1^X)^\dagger=\begin{pmatrix} A^\dagger& 0 \\ \delta_t I_3 & B \end{pmatrix}. \tag*{(90)} ( □ 1 X ) † = ( A † δ t I 3 0 B ) . (90)
The X-cube map A A A is injective, so we take C 2 X = 0 C_2^X=0 C 2 X = 0 . The gauge map and its adjoint are
□ 2 X = ( δ t A ) , ( □ 2 X ) † = ( δ t A † ) . (91) \square_2^X=\begin{pmatrix}\delta_t\\A\end{pmatrix},\qquad
(\square_2^X)^\dagger=\begin{pmatrix}\delta_t&A^\dagger\end{pmatrix}. \tag*{(91)} □ 2 X = ( δ t A ) , ( □ 2 X ) † = ( δ t A † ) . (91)
A gauge-invariant spin support Σ X = ( u , v ) ∈ R s t ⊕ R s t 3 \Sigma_X=(u,v)\in R_{\mathrm{st}}\oplus R_{\mathrm{st}}^3 Σ X = ( u , v ) ∈ R st ⊕ R st 3 satisfies q X [ Σ X ] = δ ˉ t u + A † v = 0 q_X[\Sigma_X]=\bar{\delta}_t u+A^\dagger v=0 q X [ Σ X ] = δ ˉ t u + A † v = 0 . For a spatial support p ∈ R s t 3 p\in R_{\mathrm{st}}^3 p ∈ R st 3 , gauge invariance of ( 0 , p ) (0,p) ( 0 , p ) reduces to A † p = 0 A^\dagger p=0 A † p = 0 .
An open membrane carries point charges at its four corners. For L , M ≥ 1 L,M\ge1 L , M ≥ 1 , consider the L × M L\times M L × M support in the x z xz x z plane
Σ x z ( L , M ) : = ( 0 , x z [ L ] x [ M ] z e y ) , q X [ Σ x z ( L , M ) ] = A † x z [ L ] x [ M ] z e y = ( 1 + x L ) ( 1 + z M ) . (92) \begin{aligned}
\Sigma_{xz}(L,M)&:=(0,xz[L]_x[M]_z e_y),\\
q_X[\Sigma_{xz}(L,M)]&=A^\dagger xz[L]_x[M]_z e_y\\
&=(1+x^L)(1+z^M). \tag*{(92)}
\end{aligned} Σ x z ( L , M ) q X [ Σ x z ( L , M )] := ( 0 , x z [ L ] x [ M ] z e y ) , = A † x z [ L ] x [ M ] z e y = ( 1 + x L ) ( 1 + z M ) . (92)
The image of A † A^\dagger A † contains no binomial 1 + ρ 1+\rho 1 + ρ for a nontrivial spatial translation ρ \rho ρ . Thus no finitely supported spatial operator transports an isolated point charge to a distinct spatial site.
We form a rectangular tube from four membrane faces and choose its open ends to be normal to the x x x axis. Using the same Q L , M , N = [ L ] x [ M ] y [ N ] z Q_{L,M,N}=[L]_x[M]_y[N]_z Q L , M , N = [ L ] x [ M ] y [ N ] z , let Σ x y ( L , M ) : = ( 0 , x y [ L ] x [ M ] y e z ) \Sigma_{xy}(L,M):=(0,xy[L]_x[M]_y e_z) Σ x y ( L , M ) := ( 0 , x y [ L ] x [ M ] y e z ) be an L × M L\times M L × M membrane in the x y xy x y plane. The spin support of this tube is
Σ t u b e ( x ) ( L , M , N ) : = ( 1 + y M ) Σ x z ( L , N ) + ( 1 + z N ) Σ x y ( L , M ) = ( 0 , B ( x y z Q L , M , N 0 ) ) . (93) \begin{aligned}
\Sigma_{\mathrm{tube}}^{(x)}(L,M,N)&:=(1+y^M)\Sigma_{xz}(L,N)+(1+z^N)\Sigma_{xy}(L,M)\\
&=\left(0,B\begin{pmatrix} xyzQ_{L,M,N}\\0\end{pmatrix}\right). \tag*{(93)}
\end{aligned} Σ tube ( x ) ( L , M , N ) := ( 1 + y M ) Σ x z ( L , N ) + ( 1 + z N ) Σ x y ( L , M ) = ( 0 , B ( x y z Q L , M , N 0 ) ) . (93)
The two x z xz x z faces and two x y xy x y faces have canceling corner charges, so the tube is gauge invariant with both y z yz y z ends open. Varying L , M , N L,M,N L , M , N gives generalized Wilson families with wireframe support in the Z-sector and open-ended tube support in the X-sector.
Checkerboard code
The checkerboard code is self-dual, so we study the X X X -sector. We use A = B = ( h ˉ , h ) T A=B=(\bar{h},h)^T A = B = ( h ˉ , h ) T , where h = 1 + u + v + w h=1+u+v+w h = 1 + u + v + w and h ˉ = 1 + u − 1 + v − 1 + w − 1 \bar{h}=1+u^{-1}+v^{-1}+w^{-1} h ˉ = 1 + u − 1 + v − 1 + w − 1 . The induced gauge theory lives on the four-dimensional spacetime extension of the FCC lattice. Its interactions are specified by
( □ 1 X ) † = ( h h ˉ 0 δ ˉ t 0 h ˉ 0 δ ˉ t h ) (94) (\Box^{X}_{1})^\dagger=
\begin{pmatrix}
h & \bar{h} & 0 \\
\bar{\delta}_{t} & 0 & \bar{h} \\
0 & \bar{\delta}_{t} & h
\end{pmatrix} \tag*{(94)} ( □ 1 X ) † = h δ ˉ t 0 h ˉ 0 δ ˉ t 0 h ˉ h (94)
Since ker A = ker B = 0 \ker A=\ker B=0 ker A = ker B = 0 , we take C 2 X = C 2 Z = 0 C^{X}_{2}=C^{Z}_{2}=0 C 2 X = C 2 Z = 0 . The gauge map □ 2 X \Box^{X}_{2} □ 2 X and its adjoint are
□ 2 X = ( δ t h ˉ h ) , ( □ 2 X ) † = ( δ ˉ t h h ˉ ) . (95) \Box^{X}_{2} =
\begin{pmatrix}
\delta_{t}\\
\bar{h}\\
h
\end{pmatrix},
\qquad
(\Box^{X}_{2})^\dagger=
\begin{pmatrix}
\bar{\delta}_{t} & h & \bar{h}
\end{pmatrix}. \tag*{(95)} □ 2 X = δ t h ˉ h , ( □ 2 X ) † = ( δ ˉ t h h ˉ ) . (95)
A gauge-invariant spin support Σ X ∈ R s t ⊕ R s t 2 \Sigma_{X}\in R_{\mathrm{st}}\oplus R_{\mathrm{st}}^{2} Σ X ∈ R st ⊕ R st 2 satisfies q X [ Σ X ] = ( □ 2 X ) † Σ X = 0 q_{X}[\Sigma_{X}]=(\Box^{X}_{2})^\dagger\Sigma_{X}=0 q X [ Σ X ] = ( □ 2 X ) † Σ X = 0 . For a purely spatial support ( 0 , p ) (0,p) ( 0 , p ) with p ∈ R s 2 p\in R_{s}^{2} p ∈ R s 2 , this condition becomes A † p = 0 A^\dagger p=0 A † p = 0 .
Let e 1 = ( 1 , 0 ) T e_{1}=(1,0)^{T} e 1 = ( 1 , 0 ) T and e 2 = ( 0 , 1 ) T e_{2}=(0,1)^{T} e 2 = ( 0 , 1 ) T label the odd- and even-parity FCC orbits, represented by ( 1 , 1 , 1 ) (1,1,1) ( 1 , 1 , 1 ) and ( 0 , 0 , 0 ) (0,0,0) ( 0 , 0 , 0 ) , respectively. Translation by one simple-cubic spacing exchanges the orbits. In this basis of R s 2 R_{s}^{2} R s 2 , the one-step translation maps are
T x = ( 0 w − 1 u v 0 ) , T y = ( 0 v − 1 u w 0 ) , T z = ( 0 u − 1 v w 0 ) , T_{x}=
\begin{pmatrix}
0 & w^{-1}\\
uv & 0
\end{pmatrix},
\qquad
T_{y}=
\begin{pmatrix}
0 & v^{-1}\\
uw & 0
\end{pmatrix},
\qquad
T_{z}=
\begin{pmatrix}
0 & u^{-1}\\
vw & 0
\end{pmatrix}, T x = ( 0 uv w − 1 0 ) , T y = ( 0 u w v − 1 0 ) , T z = ( 0 v w u − 1 0 ) ,
T α 2 = λ α I 2 , λ x = u v w − 1 , λ y = u w v − 1 , λ z = v w u − 1 . (96) T_{\alpha}^{2}=\lambda_{\alpha}I_{2},
\qquad
\lambda_{x}=uvw^{-1},
\qquad
\lambda_{y}=uwv^{-1},
\qquad
\lambda_{z}=vwu^{-1}. \tag*{(96)} T α 2 = λ α I 2 , λ x = uv w − 1 , λ y = u w v − 1 , λ z = v w u − 1 . (96)
The three maps commute, and λ α \lambda_{\alpha} λ α translates the support by two lattice spacings along direction α \alpha α .
For distinct coordinate directions α , β \alpha,\beta α , β and positive integers ℓ α , ℓ β \ell_{\alpha},\ell_{\beta} ℓ α , ℓ β , define the spatial membrane support
p α β ( ℓ α , ℓ β ) : = ∑ a = 0 ℓ α − 1 ∑ b = 0 ℓ β − 1 T α a T β b e 1 . (97) p_{\alpha\beta}(\ell_{\alpha},\ell_{\beta})
:=
\sum_{a=0}^{\ell_{\alpha}-1}\sum_{b=0}^{\ell_{\beta}-1}
T_{\alpha}^{a}T_{\beta}^{b}e_{1}. \tag*{(97)} p α β ( ℓ α , ℓ β ) := a = 0 ∑ ℓ α − 1 b = 0 ∑ ℓ β − 1 T α a T β b e 1 . (97)
This support fills an ℓ α × ℓ β \ell_{\alpha}\times\ell_{\beta} ℓ α × ℓ β rectangle in the coordinate α β \alpha\beta α β plane, with its two components alternating under successive one-step translations.
Let γ \gamma γ denote the direction transverse to the supporting α β \alpha\beta α β plane, so that { α , β , γ } = { x , y , z } \{\alpha,\beta,\gamma\}=\{x,y,z\} { α , β , γ } = { x , y , z } . The corresponding unit displacements are α ^ , β ^ , γ ^ \hat{\alpha},\hat{\beta},\hat{\gamma} α ^ , β ^ , γ ^ . Applying the spatial charge map to the rectangular membrane produces four gauge charges at
r a b = a ℓ α α ^ + b ℓ β β ^ + [ ( a ℓ α + b ℓ β ) m o d 2 ] γ ^ , a , b ∈ { 0 , 1 } , (98) \mathbf{r}_{ab}
=
a\ell_{\alpha}\hat{\alpha}
+
b\ell_{\beta}\hat{\beta}
+
\left[(a\ell_{\alpha}+b\ell_{\beta})\bmod2\right]\hat{\gamma},
\qquad
a,b\in\{0,1\}, \tag*{(98)} r ab = a ℓ α α ^ + b ℓ β β ^ + [ ( a ℓ α + b ℓ β ) mod 2 ] γ ^ , a , b ∈ { 0 , 1 } , (98)
where the transverse offset keeps every charge representative on the even-parity FCC sublattice. The four charges form a rectangle parallel to the supporting plane for even–even side lengths, a tilted rectangle when exactly one length is odd, and an irregular tetrahedron when both are odd. The membrane itself remains planar.
To construct a gauge-invariant order parameter, we use the even–even subfamily, whose charge pattern factorizes as
A † p α β ( 2 L , 2 M ) = ( 1 + λ α L ) ( 1 + λ β M ) . (99) A^\dagger p_{\alpha\beta}(2L,2M)
=
(1+\lambda_{\alpha}^{L})(1+\lambda_{\beta}^{M}). \tag*{(99)} A † p α β ( 2 L , 2 M ) = ( 1 + λ α L ) ( 1 + λ β M ) . (99)
For L , M , N ≥ 1 L,M,N\geq1 L , M , N ≥ 1 , two pairs of parallel membranes define the purely spatial tube support
Σ t u b e ( L , M , N ) : = ( 0 ( 1 + λ z N ) p x y ( 2 L , 2 M ) + ( 1 + λ x L ) p y z ( 2 M , 2 N ) ) . (100) \Sigma_{\mathrm{tube}}(L,M,N)
:=
\begin{pmatrix}
0\\
(1+\lambda_{z}^{N})p_{xy}(2L,2M)
+
(1+\lambda_{x}^{L})p_{yz}(2M,2N)
\end{pmatrix}. \tag*{(100)} Σ tube ( L , M , N ) := ( 0 ( 1 + λ z N ) p x y ( 2 L , 2 M ) + ( 1 + λ x L ) p y z ( 2 M , 2 N ) ) . (100)
Equation (S92) makes the two boundary patterns cancel, so q X [ Σ t u b e ( L , M , N ) ] = 0 q_{X}[\Sigma_{\mathrm{tube}}(L,M,N)]=0 q X [ Σ tube ( L , M , N )] = 0 . The four membranes form an open-ended rectangular tube; varying L , M , N L,M,N L , M , N gives a generalized Wilson family.
Haa’s code
Haa’s cubic code is self-dual under spatial inversion and exchange of the two qubit species, so we study the X X X -sector. In the conventions of Eq. (48) , A = ( f , g ) T A=(f,g)^{T} A = ( f , g ) T and B = ( g ˉ , f ˉ ) T B=(\bar{g},\bar{f})^{T} B = ( g ˉ , f ˉ ) T , with f = 1 + x + y + z f=1+x+y+z f = 1 + x + y + z and g = 1 + x y + y z + z x g=1+xy+yz+zx g = 1 + x y + y z + z x . The induced gauge theory lives on four-dimensional spacetime, with interaction map
( □ 1 X ) † = ( f ˉ g ˉ 0 δ ˉ t 0 g ˉ 0 δ ˉ t f ˉ ) . (101) (\Box^{X}_{1})^\dagger=
\begin{pmatrix}
\bar{f} & \bar{g} & 0\\
\bar{\delta}_{t} & 0 & \bar{g}\\
0 & \bar{\delta}_{t} & \bar{f}
\end{pmatrix}. \tag*{(101)} ( □ 1 X ) † = f ˉ δ ˉ t 0 g ˉ 0 δ ˉ t 0 g ˉ f ˉ . (101)
Since ker A = ker B = 0 \ker A = \ker B = 0 ker A = ker B = 0 , we take C 2 X = C 2 Z = 0 C^X_2 = C^Z_2 = 0 C 2 X = C 2 Z = 0 , giving
□ 2 X = ( δ t f g ) , ( □ 2 X ) † = ( δ ˉ t f ˉ g ˉ ) . (102) \square^X_2 =
\begin{pmatrix}
\delta_t\\
f\\
g
\end{pmatrix},
\qquad
(\square^X_2)^\dagger= (\bar{\delta}_t\ \bar{f}\ \bar{g}). \tag*{(102)} □ 2 X = δ t f g , ( □ 2 X ) † = ( δ ˉ t f ˉ g ˉ ) . (102)
Thus a support Σ X = ( u , v 1 , v 2 ) T \Sigma_X = (u,v_1,v_2)^T Σ X = ( u , v 1 , v 2 ) T is gauge invariant when q X [ Σ X ] = δ ˉ t u + f ˉ v 1 + g ˉ v 2 = 0 q_X[\Sigma_X] = \bar{\delta}_t u + \bar{f}v_1 + \bar{g}v_2 = 0 q X [ Σ X ] = δ ˉ t u + f ˉ v 1 + g ˉ v 2 = 0 . Here u u u is the temporal component, while v 1 , v 2 v_1,v_2 v 1 , v 2 are the two spatial spin components.
To construct an explicit fractal family, let L = 2 m L = 2^m L = 2 m , m ≥ 1 m \ge1 m ≥ 1 , and choose a support on the first spatial spin component:
p m : = ( f ˉ L − 1 0 ) . (103) p_m := \begin{pmatrix} \bar{f}^{L-1} \\ 0 \end{pmatrix}. \tag*{(103)} p m := ( f ˉ L − 1 0 ) . (103)
Over F 2 \mathbb{F}_2 F 2 , its nonzero component factorizes at successively doubled scales:
f ˉ L − 1 = ∏ j = 0 m − 1 ( 1 + x ˉ 2 j + y ˉ 2 j + z ˉ 2 j ) . (104) \bar{f}^{L-1} = \prod_{j=0}^{m-1} \left(1+\bar{x}^{2^j}+\bar{y}^{2^j}+\bar{z}^{2^j}\right). \tag*{(104)} f ˉ L − 1 = j = 0 ∏ m − 1 ( 1 + x ˉ 2 j + y ˉ 2 j + z ˉ 2 j ) . (104)
This gives a sparse, self-similar pattern of 4 m = L 2 4^m = L^2 4 m = L 2 spins with spatial gauge-charge pattern
q m : = A † p m = f ˉ L = 1 + x ˉ L + y ˉ L + z ˉ L . (105) q_m := A^\dagger p_m = \bar{f}^L = 1+\bar{x}^L+\bar{y}^L+\bar{z}^L. \tag*{(105)} q m := A † p m = f ˉ L = 1 + x ˉ L + y ˉ L + z ˉ L . (105)
The four charges lie at the tetrahedral corners 0 , − L x ^ , − L y ^ , − L z ^ 0,-L\hat{x},-L\hat{y},-L\hat{z} 0 , − L x ^ , − L y ^ , − L z ^ .
For r ≥ 1 r \ge1 r ≥ 1 measurement rounds, the suspension (S59) gives
Σ H ( m , r ) : = ( t [ r ] q m ( 1 + t r ) p m ) = ( □ 1 X ) † ( t [ r ] p m 0 ) , q X [ Σ H ( m , r ) ] = ( 1 + t r ) q m + ( 1 + t r ) q m = 0. (106) \Sigma_{\mathrm{H}}(m,r) := \begin{pmatrix} t^{[r]}q_m \\ (1+t^r)p_m \end{pmatrix}
= (\square^X_1)^\dagger\begin{pmatrix} t^{[r]}p_m \\ 0 \end{pmatrix},
\qquad
q_X[\Sigma_{\mathrm{H}}(m,r)] = (1+t^r)q_m+(1+t^r)q_m=0. \tag*{(106)} Σ H ( m , r ) := ( t [ r ] q m ( 1 + t r ) p m ) = ( □ 1 X ) † ( t [ r ] p m 0 ) , q X [ Σ H ( m , r )] = ( 1 + t r ) q m + ( 1 + t r ) q m = 0. (106)
This support consists of two identical spatial fractal patterns at rounds 0 , r 0,r 0 , r , joined by four temporal strands at the charge positions. The strands carry charges through time at fixed spatial positions; they do not describe spatial motion of isolated fractons.
Let P m = supp f ˉ L − 1 P_m = \operatorname{supp}\bar{f}^{L-1} P m = supp f ˉ L − 1 and Q m = supp q m Q_m = \operatorname{supp}q_m Q m = supp q m . Writing σ t , σ 1 ∈ { ± 1 } \sigma_t,\sigma_1 \in\{\pm1\} σ t , σ 1 ∈ { ± 1 } for the temporal and first spatial Ising-spin components, respectively, the corresponding generalized Wilson observable is
W H ( m , r ) = ∏ a ∈ P m σ 1 ( a , 0 ) σ 1 ( a , r ) ∏ b ∈ Q m ∏ τ = 1 r σ t ( b , τ ) . (107) W_{\mathrm{H}}(m,r) = \prod_{a\in P_m}\sigma_1(a,0)\sigma_1(a,r)\prod_{b\in Q_m}\prod_{\tau=1}^{r}\sigma_t(b,\tau). \tag*{(107)} W H ( m , r ) = a ∈ P m ∏ σ 1 ( a , 0 ) σ 1 ( a , r ) b ∈ Q m ∏ τ = 1 ∏ r σ t ( b , τ ) . (107)
Increasing m m m and r r r gives a gauge-invariant family with sparse, non-manifold support at arbitrarily large spatial and temporal scales. As in the general construction, whether this family distinguishes phases is determined by its thermodynamic scaling.
Remark (planar realization). Although the support p m p_m p m above extends in all three spatial directions, a planar alternative is available. The planar fractional moves in Eq. (18) and Fig. 5(b) of [51 ] give, after relabeling the spatial axes,
h : = ( x + y ) f + g = 1 + x + x 2 + y + x y + y 2 , h := (x+y)f+g = 1+x+x^2+y+xy+y^2, h := ( x + y ) f + g = 1 + x + x 2 + y + x y + y 2 ,
p m x y : = h ˉ L − 1 ( x ˉ + y ˉ 1 ) , A † p m x y = h ˉ L = 1 + x ˉ L + x ˉ 2 L + y ˉ L + x ˉ L y ˉ L + y ˉ 2 L , L = 2 m . (108) p_m^{xy} := \bar{h}^{L-1}\begin{pmatrix}\bar{x}+\bar{y}\\1\end{pmatrix},
\qquad
A^\dagger p_m^{xy} = \bar{h}^L = 1+\bar{x}^L+\bar{x}^{2L}+\bar{y}^L+\bar{x}^L\bar{y}^L+\bar{y}^{2L},
\qquad
L=2^m. \tag*{(108)} p m x y := h ˉ L − 1 ( x ˉ + y ˉ 1 ) , A † p m x y = h ˉ L = 1 + x ˉ L + x ˉ 2 L + y ˉ L + x ˉ L y ˉ L + y ˉ 2 L , L = 2 m . (108)
Both p m x y p_m^{xy} p m x y and its six-charge pattern h ˉ L \bar{h}^L h ˉ L involve only x , y x,y x , y . Their suspension by Eq. (66) therefore gives two planar fractal patterns joined by six temporal strands, entirely within the x y xy x y plane times time. Thus the support illustrated in Figure 2 (d) of the main text can be realized within a ( 2 + 1 ) (2+1) ( 2 + 1 ) -dimensional subspace—two spatial directions and one temporal direction—of the four-dimensional gauge theory.