Quantum low-density parity-check (qLDPC) codes have opened a new route toward scalable quantum computing, allowing high encoding rates and growing code distance to coexist with sparse parity checks [1 , 2 , 3 , 4 , 5 , 6 ] . As experiments advance toward reliable logical processors [7 , 8 , 9 ] , this combination offers a path to protecting large logical registers with substantially reduced physical-qubit overhead. Among these codes, bivariate bicycle (BB) codes combine sparse stabilizer checks with high encoding rates in finite instances [10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 ] . They can store more logical qubits than surface codes [19 , 20 , 21 ] at comparable distance [10 ] , motivating a number of proposals for their implementation and logical operations [22 , 23 , 24 , 25 , 26 ] . Turning these memories into computational architectures requires logical operations that manipulate and entangle logical qubits while preserving the advantages of sparse error correction [27 , 28 ] . Existing strategies include transversal gates [29 ] , measurement-based schemes [30 , 31 , 32 , 33 , 34 ] , and so on. The Abelian topological order [35 , 36 , 37 ] associated with BB codes [38 ] offers an alternative perspective, where the stabilizer algebra encodes emergent charge sectors with well-defined fusion and braiding. For BB codes with multiple independent electric and magnetic charge generators, this richer charge structure provides a natural basis for engineering defect degrees of freedom beyond those of a single toric-code layer. A natural question is how non-Abelian twist defects and coherent operations on their fusion spaces can be realized within the original Pauli stabilizer framework of BB codes.
Non-Abelian twist defects arise at the endpoints of domain walls that permute topological charges, allowing an Abelian topological medium to support collective fusion spaces [39 ] . Quantum information is encoded non-locally in these spaces, while braiding implements noncommuting logical transformations whose action depends on the topology of the exchange paths [40 , 41 , 42 , 43 ] . In the toric code, an electric-magnetic wall exchanges electric and magnetic charges and terminates at defects with Ising fusion rules [39 , 44 , 45 ] , which enables the logical-gate implementations [46 , 47 , 48 , 49 ] . On the other hand, measurement-only protocols based on pair-charge projections can also reproduce non-Abelian braiding transformations without moving the defects [50 , 51 ] . This connection between defects, fusion, and logical operations has motivated further theoretical explorations on topological phases and quantum codes [52 , 53 , 54 , 55 , 56 , 57 , 58 , 59 , 60 , 61 , 62 , 63 , 64 , 65 , 66 , 67 , 68 , 69 , 70 ] , as well as experimental studies of non-Abelian operations [71 , 73 ] [72]. For BB codes, however, an anyon permutation does not itself specify a wall in the sparse stabilizer Hamiltonian. One needs to construct mutually commuting checks that enforce the prescribed conversion of every charge type while removing accidental local modes, so that the surviving degeneracy belongs to the intended defect fusion space. Furthermore, to implement the non-Abelian braiding for logical operations,
one should demonstrate how the protocol reproduces the braiding transformation while preserving the coherence of the encoded quantum information.
In this paper, we develop a general framework for constructing non-Abelian twist defects in arbitrary BB code with finite anyon content. We build electric-magnetic walls through defining composite checks, interblock checks, and patch checks. This converts the Q Q Q independent generators in each charge space while removing all accidental local modes. For sufficiently long and well-separated walls, we show that each additional twist pair encodes Q Q Q logical qubits and obtain a twist quantum dimension of 2 Q / 2 2^{Q/2} 2 Q /2 . For Q = 3 Q=3 Q = 3 , we construct three families of pair-charge measurements and derive their logical action directly from microscopic Pauli operators. Under the correspondence between microscopic measurements and defect transport, the protocol realizes measurement-only braiding.
Charge algebra and the duality wall —We consider the BB code B B ( α , β , a , b ) \mathrm{BB}(\alpha,\beta,a,b) BB ( α , β , a , b ) with f = 1 + x + x − α y b f=1+x+x^{-\alpha}y^b f = 1 + x + x − α y b , g = 1 + y + x a y − β g=1+y+x^ay^{-\beta} g = 1 + y + x a y − β over R = F 2 [ x ± 1 , y ± 1 ] R=\mathbb{F}_2[x^{\pm1},y^{\pm1}] R = F 2 [ x ± 1 , y ± 1 ] [10 ] . Electric (magnetic) excitations violate X (Z) checks, with x i y j x^iy^j x i y j recording a violation at ( i , j ) (i,j) ( i , j ) . Excitation patterns related by finite-support Pauli operations carry the same topological charge. Identifying such patterns gives the electric and magnetic charge spaces
V e = R / ⟨ f ∗ , g ∗ ⟩ , V m = R / ⟨ f , g ⟩ , V_e=R/\langle f^*,g^*\rangle,\qquad V_m=R/\langle f,g\rangle, V e = R / ⟨ f ∗ , g ∗ ⟩ , V m = R / ⟨ f , g ⟩ ,
dim F 2 V e = dim F 2 V m = Q , (1) \dim_{\mathbb{F}_2}V_e=\dim_{\mathbb{F}_2}V_m=Q, \tag*{(1)} dim F 2 V e = dim F 2 V m = Q , (1)
where h ∗ ( x , y ) = h ( x − 1 , y − 1 ) h^*(x,y)=h(x^{-1},y^{-1}) h ∗ ( x , y ) = h ( x − 1 , y − 1 ) and 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ . Fusion adds charge classes. Each space has Q Q Q independent generators and 2 Q 2^Q 2 Q charge types, including the vacuum. The bulk corresponds to Q Q Q toric-code copies in the local classification [74 , 75 , 76 ] . Finite period ribbons obtained by polynomial division [77 ] transport these charges. The commutation phases of intersecting magnetic and electric period ribbons define the nondegenerate mutual braiding pairing B : V m × V e → { ± 1 } \mathcal{B}:V_m\times V_e\to\{\pm1\} B : V m × V e → { ± 1 } [78 ] .
We construct the wall along a strip of blocks of size l 0 × m 0 l_0\times m_0 l 0 × m 0 . The block dimensions are chosen so that translating an excitation by l 0 l_0 l 0 lattice spacings along x x x or m 0 m_0 m 0 along y y y leaves its topological charge unchanged. These common charge periods satisfy 1 + x l 0 , 1 + y m 0 ∈ ⟨ f , g ⟩ 1+x^{l_0},1+y^{m_0}\in\langle f,g\rangle 1 + x l 0 , 1 + y m 0 ∈ ⟨ f , g ⟩ . Within each block, reflection about its center pairs the position u = ( i , j ) u=(i,j) u = ( i , j ) with ι ( u ) = ( l 0 − 1 − i , m 0 − 1 − j ) \iota(u)=(l_0-1-i,m_0-1-j) ι ( u ) = ( l 0 − 1 − i , m 0 − 1 − j ) . For an excitation pattern represented by r r r , the reflected pattern is r ι = κ r ∗ r^\iota=\kappa r^* r ι = κ r ∗ , where κ = x l 0 − 1 y m 0 − 1 \kappa=x^{l_0-1}y^{m_0-1} κ = x l 0 − 1 y m 0 − 1 accounts for the position of the block center. One can then define the electric-magnetic charge duality
D ( e r ) = m r ι , D ( m s ) = e s ι , (2) \mathcal{D}(e_r)=m_{r^\iota},\qquad\mathcal{D}(m_s)=e_{s^\iota}, \tag*{(2)} D ( e r ) = m r ι , D ( m s ) = e s ι , (2)
which preserves fusion, mutual braiding, and topological spin. Microscopically, this duality is realized by a Hadamard-type fold symmetry that exchanges X X X and Z Z Z checks at reflected positions [26 ] .
In the wall, the original checks are replaced by the three types of checks: the composite checks C C C , the interblock checks T T T , and the patch checks M M M (Figure 1 ). The composite check on the position u u u takes the form C u = S X ( u ) S Z ( ι ( u ) ) C_u=S_X^{(u)}S_Z^{(\iota(u))} C u = S X ( u ) S Z ( ι ( u )) , where S X ( u ) S_X^{(u)} S X ( u ) and S Z ( ι ( u ) ) S_Z^{(\iota(u))} S Z ( ι ( u )) denote the original checks on the position u u u and ι ( u ) \iota(u) ι ( u ) respectively. Consequently, the eigenvalues of ( S X ( u ) , S Z ( ι ( u ) ) ) (S_X^{(u)},S_Z^{(\iota(u))}) ( S X ( u ) , S Z ( ι ( u )) ) can flip together, while leaving C u C_u C u unchanged.
Figure 1. Electric-magnetic duality wall constructed from mutually commuting Pauli checks. Blue and green lines denote X X X and Z Z Z support, respectively. (a) Within an l 0 × m 0 l_0 \times m_0 l 0 × m 0 block, original checks at reflected positions form the composite check C u = S X ( u ) S Z ( l ( u ) ) C_u = S_X^{(u)} S_Z^{(l(u))} C u = S X ( u ) S Z ( l ( u )) . (b) The wall consists of a strip of these blocks. Double lines represent ribbons. A crossing ribbon changes Pauli type at the wall, and an interblock check T T T combines electric and magnetic ribbons between adjacent blocks. Patch checks M M M remove the remaining charge-neutral local logical modes. The operator supports are schematic.
Interblock checks combine a Z Z Z -type electric period ribbon with its X X X -type magnetic dual shifted forward by one block [78 ] . Let R j , v e \mathcal{R}_{j,v}^{e} R j , v e and R j , v m \mathcal{R}_{j,v}^{m} R j , v m denote the electric and magnetic ribbons connecting position v v v in block j j j to the corresponding position in block j + 1 j+1 j + 1 , respectively. We define T j , u = R j , ι ( u ) e R j , u m T_{j,u}=\mathcal{R}_{j,\iota(u)}^{e}\mathcal{R}_{j,u}^{m} T j , u = R j , ι ( u ) e R j , u m . This ribbon-dual construction yields Hermitian, mutually commuting interblock checks. The only original checks that anticommute with T j , u T_{j,u} T j , u are S X ( ι ( u ) ) S_X^{(\iota(u))} S X ( ι ( u )) and S Z ( u ) S_Z^{(u)} S Z ( u ) in each of the two blocks. The two minus signs cancel in their composite C j , u C_{j,u} C j , u , so T j , u T_{j,u} T j , u commutes with all composite checks and all original checks retained in the bulk.
A contractible closed ribbon crossing the wall twice without leaving excitations should preserve the encoded information. It must therefore be a product of stabilizers up to an overall phase. However, the composite and interblock checks alone leave local logical modes along the wall. To characterize these modes, we define the quantity ℓ ( P ) = ∑ j w j ( m o d 2 ) \ell(P)=\sum_j w_j\pmod2 ℓ ( P ) = ∑ j w j ( mod 2 ) , where P P P is a Pauli operator, w j w_j w j denotes the pattern of removed original X X X checks flipped by P P P in block j j j . Multiplication by an interblock stabilizer preserves P P P 's action on the code space but flips corresponding bits in two neighboring blocks. These changes leave ℓ ( P ) \ell(P) ℓ ( P ) unchanged. Aligning corresponding positions across blocks gives a single l 0 × m 0 l_0\times m_0 l 0 × m 0 pattern in A = R / ⟨ 1 + x l 0 , 1 + y m 0 ⟩ A=R/\langle1+x^{l_0},1+y^{m_0}\rangle A = R / ⟨ 1 + x l 0 , 1 + y m 0 ⟩ . For any finite-support P P P commuting with the retained bulk, composite, and interblock checks, ℓ ( P ) \ell(P) ℓ ( P ) lies in the subspace L e = ( f ∗ , g ∗ ) A \mathcal{L}_e=(f^*,g^*)A L e = ( f ∗ , g ∗ ) A . The quotient space A / L e ≅ V e A/\mathcal{L}_e\cong V_e A / L e ≅ V e records the total topological charge with Q Q Q binary coordinates, leaving l 0 m 0 − Q l_0m_0-Q l 0 m 0 − Q independent charge-neutral patterns.
We remove these modes with patch checks. For each charge-neutral basis pattern h ∈ L e h\in\mathcal{L}_e h ∈ L e , we construct a finite-support Pauli that flips some X X X and Z Z Z checks in reflected pairs ( h , h ∗ ) (h,h^*) ( h , h ∗ ) . The two sign changes cancel in each affected composite, and no retained bulk check is flipped. Multiplying by suitable removed original checks then cancels any interblock-check flips without altering these paired patterns. This yields the patch check M ( h ) M(h) M ( h ) . For a fixed code, their weights and interaction ranges remain bounded independently of wall length. With the patch checks added, every finite-support Pauli that leaves no excitations on the infinite wall is a product of stabilizers up to an overall phase [78 ] . Thus, a contractible closed ribbon crossing the wall twice cannot change the encoded information if it leaves no excitations.
Ribbon operators can transport any charge across the infinite wall in either direction without exciting the wall. For such a crossing, commutation with the interblock checks requires the electric charge on one side and the electric dual of the magnetic charge on the other to have identical braiding phases with every magnetic charge. Since these phases distinguish all electric charge types, they fix the conversion from magnetic to electric charge. At the same time, the composite checks require the electric and magnetic syndromes on the removed original checks to form reflected pairs. Charge conservation, including both the bulk endpoint charges and these paired wall syndromes, then fixes the conversion from electric to magnetic charge, establishing the duality in Eq. (2) . Furthermore, we show that crossing-wall ribbons with identical bulk endpoint syndromes differ only by a product of stabilizers and an overall phase [SM, Theorem S8]. These conclusions also hold for finite walls when the crossing region lies sufficiently far from both endpoints [SM, Corollary S5]. In the toric-code limit, our wall implements the same electric-magnetic exchange e ↔ m e \leftrightarrow m e ↔ m as the dislocation line [39 , 44 ] .
Endpoint sectors and fusion —Terminating the duality wall at block boundaries creates a pair of non-Abelian twist defects of type σ \sigma σ in the Abelian bulk [52 ] . We retain the composite checks within the finite strip and the interblock checks between its blocks, with patch checks selected according to the natural termination rule [78 ] . For sufficiently long walls, any Pauli operator confined to a prescribed endpoint neighborhood either excites a check or leaves every encoded state unchanged up to an overall phase [SM, Theorem S6]. An individual endpoint therefore carries no local logical degree of freedom.
Quantum information is encoded collectively in the joint charge states of separated endpoint pairs. To describe this space, we consider n n n long, well-separated parallel walls on a torus whose side lengths are integer multiples of the corresponding charge periods. A translation represented by the monomial o o o moves each block’s reflection center. The reflected image of a fixed point then shifts by twice the displacement, changing κ \kappa κ in Eq. (2) to o 2 κ o^2\kappa o 2 κ . We therefore choose relative wall displacements of whole charge periods so that all walls implement the same electric-magnetic duality. In this arrangement, loops enclosing a pair read its charge, while ribbons connecting two pairs change their charges without altering the total topological charge. At fixed total topological charge, we find that the defect-space dimension and the quantum dimension d σ d_\sigma d σ of each twist are
dim H d e f = 2 ( n − 1 ) Q , d σ = 2 Q / 2 . (3) \dim\mathcal{H}_{\mathrm{def}} = 2^{(n-1)Q}, \qquad d_\sigma= 2^{Q/2}. \tag*{(3)} dim H def = 2 ( n − 1 ) Q , d σ = 2 Q /2 . (3)
Thus the 2 n 2n 2 n twists encode ( n − 1 ) Q (n-1)Q ( n − 1 ) Q logical qubits, in addition to those of the original BB code on the torus.
To establish the above dimension, we construct charge-readout loops and charge-transfer ribbons, then analyze their algebra. We choose the n n n -th wall as the reference, whose pair charge is fixed by the other n − 1 n-1 n − 1 pair charges once the total topological charge is specified. For each s < n s<n s < n , a magnetic loop Z s , b Z_{s,b} Z s , b carrying charge m b m_b m b encloses the s s s -th pair and reads its charge (Figure 2 (b)). A ribbon operator X s , a X_{s,a} X s , a transfers charge between this pair and the reference, preserving the total. Here a , b ∈ V m a,b \in V_m a , b ∈ V m , and the magnetic and electric segments of the transfer ribbon carry m a m_a m a and its dual e a ι e_{a^\iota} e a ι , respectively. The symbols Z and X describe their logical roles. The braiding phase λ ( a , b ) = B ( a , b ι ) \lambda(a,b)=\mathcal{B}(a,b^\iota) λ ( a , b ) = B ( a , b ι ) determines whether a transfer flips a readout eigenvalue, giving Z s , b X t , a = λ ( a , b ) δ s t X t , a Z s , b Z_{s,b}X_{t,a}=\lambda(a,b)^{\delta_{st}}X_{t,a}Z_{s,b} Z s , b X t , a = λ ( a , b ) δ s t X t , a Z s , b . The pairing λ \lambda λ is nondegenerate, meaning that every nonzero charge transfer flips the eigenvalue of at least one readout loop. The loop and transfer operators therefore generate Q Q Q logical Pauli X X X –Z Z Z pairs for each s < n s<n s < n , supporting at least ( n − 1 ) Q (n-1)Q ( n − 1 ) Q defect qubits. An independent stabilizer-rank count gives exactly this number of additional qubits. Thus, these operators account for the entire defect logical space, as shown in Eq. (3) .
Figure 2. Ribbon operators for twist defects. Black dots indicate twist endpoints. (a) A ribbon winds twice around a twist before closing, alternating between charges m a m_a m a and e a ι e_{a^\iota} e a ι that form the invariant composite ϵ a = m a e a ι \epsilon_a = m_a e_{a^\iota} ϵ a = m a e a ι [39 ] . (b) Z s , b Z_{s,b} Z s , b reads pair s s s ’s charge, and X s , a X_{s,a} X s , a transfers charge to reference pair n n n at fixed total charge. Their commutation phase is λ ( a , b ) \lambda(a,b) λ ( a , b ) . (c) Displacing the lower wall by o o o changes the returning charge to m o 2 a m_{o^2a} m o 2 a , so closure requires ( 1 + o 2 ) a = 0 (1+o^2)a=0 ( 1 + o 2 ) a = 0 .
The pair-charge sectors are labeled by the Abelian composites ϵ a = m a e a ι \epsilon_a=m_a e_{a^\iota} ϵ a = m a e a ι , a ∈ V m a \in V_m a ∈ V m , which remain unchanged under the wall’s electric-magnetic duality (Figure 2 (a)). For four twists at fixed total charge, pair loops distinguish 2 Q 2^Q 2 Q such sectors. Under the assumed correspondence between charge sectors and fusion channels [78 ] , these sectors describe the possible fusion outcomes of a twist pair, each with a one-dimensional fusion space. A twist σ \sigma σ can also absorb any ϵ a \epsilon_a ϵ a without changing its type. Together with Abelian charge addition, one can realize
σ × σ = ∑ a ∈ V m ϵ a , ϵ a × ϵ b = ϵ a + b , σ × ϵ a = σ . (4) \sigma\times\sigma= \sum_{a\in V_m} \epsilon_a,\qquad\epsilon_a \times\epsilon_b = \epsilon_{a+b},\qquad\sigma\times\epsilon_a = \sigma. \tag*{(4)} σ × σ = a ∈ V m ∑ ϵ a , ϵ a × ϵ b = ϵ a + b , σ × ϵ a = σ . (4)
These are Tambara–Yamagami fusion rules [79 , 80 , 81 ] . Each ϵ a \epsilon_a ϵ a has quantum dimension d ϵ a = 1 d_{\epsilon_a}=1 d ϵ a = 1 , and the corresponding topological spin θ ϵ a \theta_{\epsilon_a} θ ϵ a equals the mutual braiding phase of its electric and magnetic constituents, as θ ϵ a = λ ( a , a ) \theta_{\epsilon_a}=\lambda(a,a) θ ϵ a = λ ( a , a ) . The 2 Q 2^Q 2 Q invariant charges { ϵ a ∣ a ∈ V m } \{\epsilon_a\mid a\in V_m\} { ϵ a ∣ a ∈ V m } are either all bosons or equally divided between bosons and fermions. **Measurement-only braiding for BB(1, 1, 3, 1)—**The pair-charge loops provide the measurements required by the measurement-only braiding protocol [50 , 51 , 82 , 83 ] . We implement this protocol using six twists in BB(1, 1, 3, 1) (Figure 3 (a)). At fixed total vacuum charge, the auxiliary pair (23) is initialized in vacuum. Pairs (14) and (56) then share a charge label q ∈ F 2 3 q \in\mathbb{F}_2^3 q ∈ F 2 3 , whose eight values encode three data qubits. We measure pair charges based on Wilson loops A a = L 23 , a A_a = L_{23,a} A a = L 23 , a , B a = L 12 , a B_a = L_{12,a} B a = L 12 , a , and C a = L 24 , a C_a = L_{24,a} C a = L 24 , a . Here a = ( a 0 , a 1 , a 2 ) ∈ F 2 3 a = (a_0, a_1, a_2) \in\mathbb{F}_2^3 a = ( a 0 , a 1 , a 2 ) ∈ F 2 3 labels the ribbon charge in the magnetic basis ( 1 , x , x 2 ) (1, x, x^2) ( 1 , x , x 2 ) . Each pair charge is determined by three commuting basis observables [84 ] . We define the projector associated with pair-charge outcome t t t as P F t = 1 8 ∑ a ∈ F 2 3 λ ( t , a ) F a P_F^t = \frac{1}{8}\sum_{a\in\mathbb{F}_2^3}\lambda(t,a)F_a P F t = 8 1 ∑ a ∈ F 2 3 λ ( t , a ) F a , F = A , B , C F = A, B, C F = A , B , C . Here λ ( t , a ) = B ( t , a ) \lambda(t,a) = \mathcal{B}(t,a) λ ( t , a ) = B ( t , a ) denotes the braiding phase between m t m_t m t and e a e_{a} e a .
Figure 3. Six-twist setup for Q = 3 Q = 3 Q = 3 . (a) With total charge and auxiliary pair (23) fixed to vacuum, pairs (14) and (56) share q ∈ F 2 3 q \in\mathbb{F}_2^3 q ∈ F 2 3 , encoding three logical qubits. The spectator (56) remains outside the dashed active region. (b) B → C → A B \to C \to A B → C → A targets vacuum outcomes on (12), (24), and (23), restoring the auxiliary vacuum. Each pair measurement uses three commuting Wilson observables.
Now we implement the braiding of twists based on projective measurements. We initialize the auxiliary pair (23) in the vacuum channel. The protocol targets vacuum outcomes for pairs (12), (24), and (23) in the sequence B → C → A B \to C \to A B → C → A (Figure 3 (b)). The first two projections couple an auxiliary twist to each data twist in turn, and the last restores the auxiliary pair to vacuum. Multiplying the vacuum projectors gives [78 ]
P A 0 P C 0 P B 0 P A 0 ∝ ∣ 0 ⟩ ⟨ 0 ∣ a u x ⊗ U 0 , (5) P_A^0 P_C^0 P_B^0 P_A^0 \propto|0\rangle\langle0|_{\mathrm{aux}} \otimes U_0, \tag*{(5)} P A 0 P C 0 P B 0 P A 0 ∝ ∣0 ⟩ ⟨ 0 ∣ aux ⊗ U 0 , (5)
U 0 ∣ q ⟩ = i q 0 + q 2 ( − 1 ) q 1 q 2 ∣ q ⟩ , U 0 = S 0 S 2 C Z 12 , U_0|q\rangle= i^{q_0+q_2}(-1)^{q_1q_2}|q\rangle,\qquad U_0 = S_0S_2\mathrm{CZ}_{12}, U 0 ∣ q ⟩ = i q 0 + q 2 ( − 1 ) q 1 q 2 ∣ q ⟩ , U 0 = S 0 S 2 CZ 12 ,
where ∣ 0 ⟩ a u x |0\rangle_{\mathrm{aux}} ∣0 ⟩ aux denotes the vacuum charge state of the auxiliary pair (23), ∣ q ⟩ = ∣ q 0 q 1 q 2 ⟩ |q\rangle= |q_0q_1q_2\rangle ∣ q ⟩ = ∣ q 0 q 1 q 2 ⟩ denotes the charge-q q q state of pair (14), S = diag ( 1 , i ) S = \operatorname{diag}(1,i) S = diag ( 1 , i ) and C Z = diag ( 1 , 1 , 1 , − 1 ) \mathrm{CZ} = \operatorname{diag}(1,1,1,-1) CZ = diag ( 1 , 1 , 1 , − 1 ) gates act on the sites indicated by their subscripts. Here one can adopt the forced measurements to obtain the target vacuum outcomes [50 ] . Under the correspondence between microscopic measurements and defect transport, we implement the braiding operation U 0 U_0 U 0 between the two twists 1 and 4. The Clifford gates and Pauli measurements used here remain within the stabilizer framework [85 , 86 ] . Universal computation would require additional non-stabilizer resources, such as magic-state injection and distillation [87 , 88 ] .
We would like to stress that BB wall configurations can have different collective encoding spaces despite identical bulk order and individual twist quantum dimensions. In BB codes, translating a wall can change its electric-magnetic matching. At fixed total charge, charge changes at different endpoint pairs must compensate one another, so the allowed joint states depend on this matching. We rigorously establish the resulting displacement dependence through stabilizer-rank counting and show that individual endpoints carry no local logical degrees of freedom [78 ] . For the Q = 3 Q = 3 Q = 3 example, it shows that two long and well-separated walls on a torus compatible with the charge periods encode three additional qubits, whereas a configuration with one wall shifted by one lattice spacing has no additional defect qubits (Figure 2 (c)). Our results establish how lattice symmetry determines the compatibility of charges carried by different endpoint pairs, making the relative placement of walls a physical parameter that controls their collective encoding space.
**Discussion—**Our findings would suggest further research on exploring the control and protection of quantum information in BB codes. One is to determine how quantum information can be preserved when wall displacements change the dimension of the defect encoding space [89 ] . This would clarify whether the position dependence of defect encoding can be used for controlled logical operations. Another direction is to adapt existing qLDPC surgery methods [90 ] for information transfer between the defect register and selected logical qubits of the original BB code. Such an interface could bring defect operations to stored quantum information, while requiring assessing error protection throughout the transfer, together with the number of auxiliary qubits and measurement rounds needed. For stationary walls, a further question is how the defect code distance and the splitting of fusion states under perturbations depend on wall length and defect separation [91 , 92 ] . Establishing these scaling relations would identify the geometric scales that govern the robustness of the encoded information.
In conclusion, we construct electric-magnetic duality walls in BB codes with finite anyon content using mutually commuting Pauli checks. These checks remove local logical modes along the wall, while termination produces twist endpoints that encode quantum information collectively. We determine the resulting encoding space and its dependence on the bulk charge structure and relative wall placement. In an explicit example, we implement the braiding operation of those non-Abelian twist defects through the microscopic pair-charge measurements. Our results shed light on how bulk topological order and lattice translations jointly shape the quantum information that defects can encode collectively, providing a foundation for future studies of non-Abelian operations in qLDPC codes.
Acknowledgments— We thank Liang Chang, Jiucai Wang, Weikang Li for helpful discussions. This work was supported by the National Natural Science Foundation of China (Grant No. 12375060), and the Fundamental Research Funds for the Central Universities (Grants No. 63253097, No. 63263090).
Supplemental Material for: “Non-Abelian Twist Defects in Bivariate Bicycle Codes”
Rui Zeng; Li-Wei Yu
Overview. —This Supplemental Material develops a route from the defining polynomials ( f , g ) (f,g) ( f , g ) of a bivariate-bicycle (BB) code to twist-defect logic. Its destination is the Letter’s central claim: one defect line, which starts from the code’s own checks merged in mirror pairs and is completed by interblock and patch layers, whose endpoints inherit the code’s full logical multiplicity — Q Q Q logical qubits for every twist pair beyond the first in the common-frame, commensurate configurations of Theorem S5. The arc is algebra first, geometry second, defects third . Sec. SIV uses the crossing law of Sec. SV only to make its pair-charge crossings admissible. The code BB( 1 , 1 , 3 , 1 ) (1,1,3,1) ( 1 , 1 , 3 , 1 ) , with Q = 3 Q=3 Q = 3 , is the running example throughout.
Algebraic Foundations of Abelian Braiding
Everything in this work is computed from two Laurent polynomials. This section hands the rest of the paper four objects: the chain complex that turns stabilizer configurations, Pauli operators and syndromes into modules over a Laurent polynomial ring (Sec. SI A); the label spaces V e V_e V e and V m V_m V m , whose sum is the entire anyon content; the topological index Q Q Q that counts them; and the anyon periods l 0 , m 0 l_0,m_0 l 0 , m 0 , which fix the block size of the defect construction (Sec. SI B).
The BB Code as a Chain Complex
Bivariate bicycle (BB) codes are a promising class of high-rate quantum low-density parity-check (qLDPC) codes: translation-invariant CSS codes [96 ] with two qubits and two checks per unit cell of a two-dimensional lattice. Translation invariance is the structural feature we exploit throughout: it lets us encode an entire lattice pattern in a single Laurent polynomial, with the monomial x i y j x^i y^j x i y j recording an insertion at cell ( i , j ) (i,j) ( i , j ) . To track topological excitations and stabilizer interactions, we map the physical stabilizer operators onto a chain complex over this polynomial ring.
Throughout, BB( α , β , a , b ) (\alpha,\beta,a,b) ( α , β , a , b ) denotes the bivariate bicycle code [10 , 38 ] defined by the polynomials
f = 1 + x + x − α y β , g = 1 + y + x α y − β . f = 1+x+x^{-\alpha}y^\beta,\qquad g=1+y+x^\alpha y^{-\beta}. f = 1 + x + x − α y β , g = 1 + y + x α y − β .
over R = F 2 [ x , y , x − 1 , y − 1 ] R=\mathbb{F}_2[x,y,x^{-1},y^{-1}] R = F 2 [ x , y , x − 1 , y − 1 ] (signs are immaterial in characteristic 2). For h = ∑ i , j c i j x i y j ∈ R h=\sum_{i,j}c_{ij}x^iy^j\in R h = ∑ i , j c ij x i y j ∈ R we write h ⋆ = h ( x − 1 , y − 1 ) h^\star=h(x^{-1},y^{-1}) h ⋆ = h ( x − 1 , y − 1 ) for its antipode; for a matrix M M M over R R R , M † M^\dagger M † denotes the transpose composed with the entrywise antipode. The map tr : R → F 2 \operatorname{tr}:R\to\mathbb{F}_2 tr : R → F 2 extracts the coefficient of the identity monomial, tr ( h ) = c 00 \operatorname{tr}(h)=c_{00} tr ( h ) = c 00 .
Three R R R -modules organize the code. Physically, G = R 2 G=R^2 G = R 2 indexes the two stabilizer types per unit cell, P = R 4 ≅ R 2 ⊕ R 2 P=R^4\cong R^2\oplus R^2 P = R 4 ≅ R 2 ⊕ R 2 encodes Pauli operators on the two qubits per cell in symplectic form, and E = R 2 E=R^2 E = R 2 indexes the two syndrome types. Throughout this SM we order the Pauli module as
P = P Z ⊕ P X , p = ( u 1 , v 1 ∣ u 2 , v 2 ) , (6) P=P_Z\oplus P_X,\qquad p=(u_1,v_1\mid u_2,v_2), \tag*{(6)} P = P Z ⊕ P X , p = ( u 1 , v 1 ∣ u 2 , v 2 ) , (6)
so the first two entries are the Z Z Z support and the last two are the X X X support. With this convention the two components of δ p \delta p δ p below are the electric and magnetic syndrome polynomials, respectively.
Unless a coherent phase section is explicitly fixed, every statement that two Pauli operators are equal, or that one lies in a stabilizer group, is meant in the binary symplectic module, modulo the scalar { ± 1 , ± i } \{\pm1,\pm i\} { ± 1 , ± i } ; all rank, commutator and exactness arguments below are computed there, with Hermitian representatives chosen where a Hamiltonian term is required.
The BB code can be described by a chain complex [37 , 38 ] :
G → ∂ P → δ E . (7) G\xrightarrow{\partial}P\xrightarrow{\delta}E. \tag*{(7)} G ∂ P δ E . (7)
The boundary map ∂ \partial ∂ sends a formal combination of checks to the Pauli operator obtained by multiplying them:
G → ∂ P G\xrightarrow{\partial}P G ∂ P
( p v ) ↦ ( g ⋆ 0 f ⋆ 0 0 f 0 g ) ( p v ) = ( g ⋆ p f ⋆ p f v g v ) . \begin{pmatrix}p\\v\end{pmatrix}
\mapsto
\begin{pmatrix}
g^\star& 0\\
f^\star& 0\\
0 & f\\
0 & g
\end{pmatrix}
\begin{pmatrix}p\\v\end{pmatrix}
=
\begin{pmatrix}
g^\star p\\
f^\star p\\
fv\\
gv
\end{pmatrix}. ( p v ) ↦ g ⋆ f ⋆ 0 0 0 0 f g ( p v ) = g ⋆ p f ⋆ p f v g v .
Similarly, the co-boundary map δ \delta δ sends a Pauli configuration to its syndrome:
P → δ E P\xrightarrow{\delta}E P δ E
( u 1 v 1 u 2 v 2 ) ↦ ( f ⋆ g ⋆ 0 0 0 0 g f ) ( u 1 v 1 u 2 v 2 ) = ( f ⋆ u 1 + g ⋆ v 1 g u 2 + f v 2 ) . \begin{pmatrix}
u_1\\
v_1\\
u_2\\
v_2
\end{pmatrix}
\mapsto
\begin{pmatrix}
f^\star& g^\star& 0 & 0\\
0 & 0 & g & f
\end{pmatrix}
\begin{pmatrix}
u_1\\
v_1\\
u_2\\
v_2
\end{pmatrix}
=
\begin{pmatrix}
f^\star u_1+g^\star v_1\\
gu_2+fv_2
\end{pmatrix}. u 1 v 1 u 2 v 2 ↦ ( f ⋆ 0 g ⋆ 0 0 g 0 f ) u 1 v 1 u 2 v 2 = ( f ⋆ u 1 + g ⋆ v 1 g u 2 + f v 2 ) .
One checks directly that δ ∘ ∂ = 0 \delta\circ\partial=0 δ ∘ ∂ = 0 , since f ⋆ ( g ⋆ p ) + g ⋆ ( f ⋆ p ) = 0 f^\star(g^\star p)+g^\star(f^\star p)=0 f ⋆ ( g ⋆ p ) + g ⋆ ( f ⋆ p ) = 0 and g ( f v ) + f ( g v ) = 0 g(fv)+f(gv)=0 g ( f v ) + f ( g v ) = 0 over F 2 \mathbb{F}_2 F 2 , so the sequence is a chain complex. The identity δ ∘ ∂ = 0 \delta\circ\partial=0 δ ∘ ∂ = 0 is simply the statement that products of stabilizers create no syndrome; the interesting physics lives in the failure of the sequence to be exact at E E E , which we quantify next.
Anyon Types and the Topological Index
An excitation pattern e ∈ E e \in E e ∈ E is trivial if some local Pauli operator creates it, i.e., if e ∈ im δ e \in\operatorname{im}\delta e ∈ im δ . Topological charge is what survives modulo such trivial patterns, so all anyon types in a BB code are labeled by the syndrome quotient [38 ] . With the component ordering fixed above, the first syndrome component is vertex/electric and the second is plaquette/magnetic. We therefore write
V e = R ⟨ f ⋆ , g ⋆ ⟩ , V m = R ⟨ f , g ⟩ , V_e = \frac{R}{\langle f^\star,g^\star\rangle}, \qquad V_m = \frac{R}{\langle f,g\rangle}, V e = ⟨ f ⋆ , g ⋆ ⟩ R , V m = ⟨ f , g ⟩ R ,
so that
E im δ ≅ V e ⊕ V m . (8) \frac{E}{\operatorname{im}\delta} \cong V_e \oplus V_m. \tag*{(8)} im δ E ≅ V e ⊕ V m . (8)
Anyon labels are therefore polynomials, expanded in the standard monomials of the quotient with coefficients in F 2 \mathbb{F}_2 F 2 : a basic excitation at lattice site ( i , j ) (i,j) ( i , j ) is the monomial x i y j x^i y^j x i y j , and fusion of labels p 1 p_1 p 1 and p 2 p_2 p 2 is the sum p 1 + p 2 p_1+p_2 p 1 + p 2 taken modulo the relevant ideal. The additive structure is the Abelian fusion rule of the code, and characteristic 2 2 2 makes every anyon its own inverse. The standard monomials depend on a chosen presentation of the localized quotient and a compatible order; the quotient, its dimension and its additive structure do not.
The size of the anyon content is measured by the topological index
Q = dim F 2 R / ⟨ f , g ⟩ , Q = \dim_{\mathbb{F}_2} R/\langle f,g\rangle, Q = dim F 2 R / ⟨ f , g ⟩ ,
the F 2 \mathbb{F}_2 F 2 -dimension of the quotient module R / ⟨ f , g ⟩ R/\langle f,g\rangle R / ⟨ f , g ⟩ , which measures the space of irreducible excitations and sets the topological order: the Abelian sector has 2 2 Q 2^{2Q} 2 2 Q anyon types, and on a pristine torus whose side lengths are multiples of the anyon periods below the code encodes exactly 2 Q 2^Q 2 Q logical qubits (the rank computation in the proof of Lemma S23). For the running example BB(1, 1, 3, 1), the set of standard monomials is { 1 , x , x 2 } \{1,x,x^2\} { 1 , x , x 2 } , so Q = 3 Q=3 Q = 3 and the code supports 2 6 = 64 2^6=64 2 6 = 64 different kinds of anyon types.
We also use the anyon periods l 0 , m 0 l_0,m_0 l 0 , m 0 , the minimal positive integers with 1 + x l 0 , 1 + y m 0 ∈ ⟨ f , g ⟩ 1+x^{l_0},1+y^{m_0}\in\langle f,g\rangle 1 + x l 0 , 1 + y m 0 ∈ ⟨ f , g ⟩ respectively. These minima exist whenever Q < ∞ Q<\infty Q < ∞ , and every result below assumes 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ , a finite and non-trivial anyon theory; Lemma S1 below supplies them and shows that the dual ideal ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star,g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ has exactly the same periods. Physically, these are the translation lengths after which every anyon returns to its original type; they set the natural block size of the defect construction in Sec. SIII.
Lemma S1 (Common periods). If Q < ∞ Q<\infty Q < ∞ , positive x x x - and y y y -periods exist. For every positive integer n n n ,
1 + x n ∈ ⟨ f , g ⟩ ⟺ 1 + x n ∈ ⟨ f ⋆ , g ⋆ ⟩ , (9) 1+x^n\in\langle f,g\rangle\Longleftrightarrow1+x^n\in\langle f^\star,g^\star\rangle, \tag*{(9)} 1 + x n ∈ ⟨ f , g ⟩ ⟺ 1 + x n ∈ ⟨ f ⋆ , g ⋆ ⟩ , (9) and likewise for y y y . Hence the primal and dual anyon periods coincide.
Proof. Multiplication by x x x and by y y y is invertible on the finite space R / ⟨ f , g ⟩ R/\langle f,g\rangle R / ⟨ f , g ⟩ , hence of finite order. The antipode carries ⟨ f , g ⟩ \langle f,g\rangle ⟨ f , g ⟩ onto ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star,g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ and 1 + x n 1+x^n 1 + x n to the unit multiple x − n ( 1 + x n ) x^{-n}(1+x^n) x − n ( 1 + x n ) , which gives both directions.
An L 1 × L 2 L_1\times L_2 L 1 × L 2 torus is commensurate when l 0 ∣ L 1 l_0\mid L_1 l 0 ∣ L 1 and m 0 ∣ L 2 m_0\mid L_2 m 0 ∣ L 2 . On a torus that is not, transport around a cycle returns an anyon multiplied by x L 1 x^{L_1} x L 1 or y L 2 y^{L_2} y L 2 . Put
J L = ( 1 + x L 1 ) V m + ( 1 + y L 2 ) V m , Q L = dim F 2 V m / J L , J_L=(1+x^{L_1})V_m+(1+y^{L_2})V_m,\qquad Q_L=\dim_{\mathbb{F}_2}V_m/J_L, J L = ( 1 + x L 1 ) V m + ( 1 + y L 2 ) V m , Q L = dim F 2 V m / J L ,
and J e , L J_{e,L} J e , L for the electric counterpart in V e V_e V e . The pristine code on that torus encodes 2 Q L 2Q_L 2 Q L qubits: each CSS check map has rank L 1 L 2 − Q L L_1L_2-Q_L L 1 L 2 − Q L by the annihilator–quotient duality of Sec. SIID, applied to the Frobenius torus ring R / ( 1 + x L 1 , 1 + y L 2 ) R/(1+x^{L_1},1+y^{L_2}) R / ( 1 + x L 1 , 1 + y L 2 ) . Here Q L = Q Q_L=Q Q L = Q exactly when the torus is commensurate; otherwise fewer logical qubits survive, the topological frustration of [38 ] .
Geometric Abelian Braiding
The algebra of Sec. SI tells us which anyons exist; this section explains how they move and braid . Three geometric objects carry the physics: ribbon operators transport anyons (Sec. SII A); closed loops decide commutation through their well-defined interiors (Sec. SII B); and the braiding pairing B \mathcal{B} B , a commutator of period ribbons computed in closed form from ( f , g ) (f,g) ( f , g ) , records the resulting statistics (Sec. SII C). Section SII D proves that pairing perfect.
Ribbon Operators and Polynomial Division
Given an arbitrary localized vertex-type syndrome e ∈ R e \in R e ∈ R , the multivariate division algorithm with respect to a Gröbner basis of the ideal ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star, g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ [77 ] gives a Pauli configuration ( u 1 , v 1 ) (u_1,v_1) ( u 1 , v 1 ) that reduces e e e to its normal form, and creates (or corrects) e e e exactly when that normal form vanishes:
e = f ⋆ u 1 + g ⋆ v 1 + r , (10) e = f^\star u_1 + g^\star v_1 + r, \tag*{(10)} e = f ⋆ u 1 + g ⋆ v 1 + r , (10)
where r r r is the remainder. The finite Pauli ( u 1 , v 1 ∣ 0 , 0 ) (u_1,v_1 \mid0,0) ( u 1 , v 1 ∣ 0 , 0 ) has syndrome f ⋆ u 1 + g ⋆ v 1 = e + r f^\star u_1 + g^\star v_1 = e + r f ⋆ u 1 + g ⋆ v 1 = e + r . The remainder r r r , which resides in the quotient space R / ⟨ f ⋆ , g ⋆ ⟩ R/\langle f^\star,g^\star\rangle R / ⟨ f ⋆ , g ⋆ ⟩ , is the irreducible topological charge (the anyon) at that location; if e e e carries no topological charge then r = 0 r = 0 r = 0 and that finite Pauli creates e e e exactly. These operators are not unique: for any h ∈ R h \in R h ∈ R , the pair ( u 1 + h g ⋆ , v 1 + h f ⋆ ) (u_1 + hg^\star, v_1 + hf^\star) ( u 1 + h g ⋆ , v 1 + h f ⋆ ) produces the same syndrome.
In the toric code one draws a string operator along a chosen lattice path and the geometry is an input ; in a BB code the support of a ribbon is the output of the division algorithm, dictated by the ideal ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star,g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ and the chosen monomial order. Any two ribbons with the same endpoint syndromes differ by local stabilizer configurations, so modulo stabilizers a ribbon’s shape is pure gauge while its endpoints carry the physics; its commutator with another excitation can still depend on the shape (Sec. SII B).
One possible basis ribbon of BB(1, 1, 3, 1) creating an excitation of 1 + x 7 1+x^7 1 + x 7 is shown in Figure S1 . Using these basis ribbons, we can propagate anyons via discrete “jumps”.
Figure S1. A basis ribbon of BB(1, 1, 3, 1) creating the excitation 1 + x 7 1+x^7 1 + x 7 . Green edges represent Z Z Z operators, and red points mark vertex excitations.
Closed Loops, Interiors, and Commutation Relations
If an anyon moves along a path and fuses with itself, it traces out a closed loop. To determine whether an arbitrary localized excitation commutes or anti-commutes with this loop, it is useful to define the interior of the loop as a set of stabilizers rather than a region of the plane, since commutation then reduces to a count: the parity of the excitation’s overlap with this interior, read componentwise (Lemma S2).
Definition S1. The interior of a closed loop p c p_c p c is the stabilizer configuration a ∈ G a \in G a ∈ G such that ∂ a = p c \partial a = p_c ∂ a = p c .
On the infinite plane, and for 0 < Q < ∞ 0 < Q < \infty 0 < Q < ∞ , the interior exists and is unique: existence is exactness of the complex at P P P , equivalent for a topologically ordered translation-invariant Pauli code to the absence of locally generated logical operators [37 ] , and uniqueness is injectivity of ∂ \partial ∂ , since ∂ ( p , v ) = 0 \partial(p,v)=0 ∂ ( p , v ) = 0 forces g ⋆ p = f ⋆ p = f v = g v = 0 g^\star p = f^\star p = f v = g v = 0 g ⋆ p = f ⋆ p = f v = g v = 0 over an integral domain. The compact form, with its support bound, is Lemma S13.
An example is shown in Figure S2 .
Figure S2. A closed loop, its interior, and a gauge deformation in BB(1, 1, 3, 1). Blue edges are X X X , green edges are Z Z Z , and pink edges are both; red points denote vertex excitations; light-blue circles mark the interior a a a of the loop. In every panel the lattice squares that meet the loop’s support surround the endpoint e 1 e_1 e 1 of the green string, and not e 2 e_2 e 2 . (a) Yet the vertex check at e 1 e_1 e 1 (grey dashed circle) is not in a a a , and loop and string commute. (b) The same string translated by one lattice step puts e 1 e_1 e 1 on a check of a a a , and they anticommute. (c) The loop of (a) multiplied by one vertex check that shares a qubit with it: orange marks the six qubits of that check, which are not all adjacent (dashed where one cancels an edge of the loop), and the check added to a a a . This gauge transformation leaves the excitations and the commutator unchanged; an excitation sitting on the added check would have flipped the commutator, which reflects the ribbon choice, not a change of the pairing B \mathcal{B} B . All supports are exact, computed on a 42 × 42 42 \times42 42 × 42 torus.
We use the symplectic form to determine whether two operators commute:
Definition S2. The commutation value between two elements a , b ∈ P a,b \in P a , b ∈ P is given by:
⟨ a , b ⟩ = tr ( a T λ P b ) , \langle a,b\rangle= \operatorname{tr}(a^{\mathsf T}\lambda_P b), ⟨ a , b ⟩ = tr ( a T λ P b ) , where λ P = ( 0 I 2 − I 2 0 ) \lambda_P = \begin{pmatrix} 0 & I_2 \\ -I_2 & 0 \end{pmatrix} λ P = ( 0 − I 2 I 2 0 ) is the symplectic form on the four-component BB Pauli module P = R 4 P = R^4 P = R 4 .
For a , b ∈ P a,b \in P a , b ∈ P , the value is zero if and only if the corresponding Pauli operators commute [37 ] . The central fact is that pairing a closed loop against any Pauli reads only the syndrome on the checks of its interior.
Lemma S2 (Closed loops see only the exact syndrome). Let Z = ∂ A Z=\partial A Z = ∂ A be a compact closed pristine Pauli loop with finite pristine filling A A A , let p p p be any finite Pauli, and write S = ( 0 1 1 0 ) S=\begin{pmatrix}0&1\\1&0\end{pmatrix} S = ( 0 1 1 0 ) for the exchange of the two syndrome components. Then
∂ † λ P = S δ (11) \partial^\dagger\lambda_P = S\delta \tag*{(11)} ∂ † λ P = S δ (11) and
⟨ Z , p ⟩ = ⟨ ∂ A , p ⟩ = tr ( A † S δ p ) . (12) \langle Z,p\rangle= \langle\partial A,p\rangle= \operatorname{tr}(A^\dagger S\delta p). \tag*{(12)} ⟨ Z , p ⟩ = ⟨ ∂ A , p ⟩ = tr ( A † S δ p ) . (12) The pairing sees only the exact pristine syndrome δ p \delta p δ p , never the thick support of the ribbons used to build p p p , and the identity holds also when A A A contains checks later removed from the completed Hamiltonian, being an identity in the pristine Pauli complex. In particular, an open string whose syndrome is two elementary excitations e 1 + e 2 e_1+e_2 e 1 + e 2 anticommutes with Z Z Z if and only if exactly one of them lies in A A A , an electric e k e_k e k being tested against the second component of A A A and a magnetic one against the first.
Proof. Eq. (S6) is read off the matrices displayed above, the exchange arising because E E E is ordered electric–magnetic while G ∗ G^* G ∗ is ordered dual to the two columns of ∂ \partial ∂ ; S S S thus pairs each component of the filling against the syndrome its own check type detects. Bilinearity of the pairing gives Eq. (S7), and tr ( A † S e k ) = 1 \operatorname{tr}(A^\dagger S e_k)=1 tr ( A † S e k ) = 1 exactly when e k e_k e k lies in A A A .
The Braiding Pairing
When anyon a a a is braided around anyon b b b in a full closed loop, the wavefunction acquires a phase ± 1 \pm1 ± 1 . Following standard practice for Pauli stabilizer models, we define this mutual braiding phase as a commutator of ribbon operators, as for the toric-code mutual statistics [20 ] and the algebraic braiding pairing of Ref. [101 ] , whose Proposition 49 identifies that pairing with the commutation form of the extended operators; monodromy and mutual statistics always mean this commutator below, and topological spin is defined through the standard CSS formula of Lemma S6, with pure electric and pure magnetic charges bosonic. A planar loop does not serve directly: multiplication by local stabilizers deforms a closed loop and moves checks into or out of its interior (Figure S2 ), which changes its commutator with a string ending there. We use instead the two transverse period ribbons of a torus, where every choice is explicit.
Let z z z and w w w be the two period translations x l 0 x^{l_0} x l 0 and y m 0 y^{m_0} y m 0 ; their order is fixed with the wall orientation in Sec. SIII C, and nothing in this section depends on it. Since 1 + z , 1 + w ∈ ⟨ f ⋆ , g ⋆ ⟩ 1+z,1+w\in\langle f^\star,g^\star\rangle 1 + z , 1 + w ∈ ⟨ f ⋆ , g ⋆ ⟩ (Lemma S1), there are finite Laurent solutions ( h , v ) (h,v) ( h , v ) and ( c , d ) (c,d) ( c , d ) of
f ⋆ h + g ⋆ v = 1 + z , f ⋆ c + g ⋆ d = 1 + w , (13) f^\star h+g^\star v=1+z,\qquad f^\star c+g^\star d=1+w, \tag*{(13)} f ⋆ h + g ⋆ v = 1 + z , f ⋆ c + g ⋆ d = 1 + w , (13)
the electric period ribbons : Z [ ( h , v ) ] Z[(h,v)] Z [( h , v )] and Z [ ( c , d ) ] Z[(c,d)] Z [( c , d )] transport an electric charge through one period in the two directions. Their comparison polynomial is
Δ = c v + d h . (14) \Delta=cv+dh. \tag*{(14)} Δ = c v + d h . (14)
For a finite Laurent polynomial F F F write
Tr z , w ( F ) = ∑ a , b ∈ Z tr ( z a w b F ) , (15) \operatorname{Tr}_{z,w}(F)=\sum_{a,b\in\mathbb{Z}}\operatorname{tr}(z^a w^bF), \tag*{(15)} Tr z , w ( F ) = a , b ∈ Z ∑ tr ( z a w b F ) , (15)
a finite sum: the coefficient of the identity monomial of the image of F F F in R / ( 1 + z , 1 + w ) R/(1+z,1+w) R / ( 1 + z , 1 + w ) , the ring of the l 0 × m 0 l_0\times m_0 l 0 × m 0 torus.
Definition S3. For a code with 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ , the mutual braiding phase B : V m × V e → { + 1 , − 1 } \mathcal{B}:V_m\times V_e\to\{+1,-1\} B : V m × V e → { + 1 , − 1 } and its binary exponent ϕ \phi ϕ are
B ( ξ , η ) = ( − 1 ) ϕ ( ξ , η ) , ϕ ( ξ , η ) = Tr z , w ( ξ ^ ⋆ η ^ Δ ) ∈ F 2 , (16) \mathcal{B}(\xi,\eta)=(-1)^{\phi(\xi,\eta)},\qquad\phi(\xi,\eta)=\operatorname{Tr}_{z,w}\left(\widehat{\xi}^{\star}\widehat{\eta}\Delta\right)\in\mathbb{F}_2, \tag*{(16)} B ( ξ , η ) = ( − 1 ) ϕ ( ξ , η ) , ϕ ( ξ , η ) = Tr z , w ( ξ ⋆ η Δ ) ∈ F 2 , (16) for any finite representatives ξ ^ , η ^ ∈ R \widehat{\xi},\widehat{\eta}\in R ξ , η ∈ R of the two labels. The first argument is m m m -type and the second e e e -type; every commutator computation below is carried out on ϕ \phi ϕ .
This is a ribbon commutator. The CSS dual ( v ⋆ , h ⋆ ) (v^\star,h^\star) ( v ⋆ , h ⋆ ) of the first period ribbon has magnetic syndrome g v ⋆ + f h ⋆ = ( f ⋆ h + g ⋆ v ) ⋆ = 1 + z − 1 g v^\star+f h^\star=(f^\star h+g^\star v)^\star=1+z^{-1} g v ⋆ + f h ⋆ = ( f ⋆ h + g ⋆ v ) ⋆ = 1 + z − 1 , so on the l 0 × m 0 l_0\times m_0 l 0 × m 0 torus X [ ξ ^ ( v ⋆ , h ⋆ ) ] X[\widehat{\xi}(v^\star,h^\star)] X [ ξ ( v ⋆ , h ⋆ )] and Z [ η ^ ( c , d ) ] Z[\widehat{\eta}(c,d)] Z [ η ( c , d )] are closed ribbons, carrying m ξ m_\xi m ξ and e η e_\eta e η once around the two different cycles. With ⟨ Z [ p ] , X [ r ] ⟩ = tr ( p 1 r 1 ⋆ + p 2 r 2 ⋆ ) \langle Z[p],X[r]\rangle=\operatorname{tr}(p_1r_1^\star+p_2r_2^\star) ⟨ Z [ p ] , X [ r ]⟩ = tr ( p 1 r 1 ⋆ + p 2 r 2 ⋆ ) their commutator is Tr z , w ( ξ ^ ⋆ η ^ z − 1 Δ ) = ϕ ( ξ , η ) \operatorname{Tr}_{z,w}(\widehat{\xi}^{\star}\widehat{\eta}z^{-1}\Delta)=\phi(\xi,\eta) Tr z , w ( ξ ⋆ η z − 1 Δ ) = ϕ ( ξ , η ) , as z = 1 z=1 z = 1 on that torus. The same value results with the two cycles exchanged, and for the period ribbons concatenated around the cycles of any commensurate torus (the computation is in the proof of Lemma S23). The right-hand sides of Eq. (13) fix the relative anchoring of the two ribbons: translating one closed ribbon against the other by a monomial t t t replaces ϕ ( ξ , η ) \phi(\xi,\eta) ϕ ( ξ , η ) by ϕ ( ξ , t ± 1 η ) \phi(\xi,t^{\pm1}\eta) ϕ ( ξ , t ± 1 η ) , a different pairing unless t t t acts trivially on V e V_e V e , so the number of transverse crossings does not by itself fix the pairing.
Lemma S3 (Well-definedness, bilinearity and translation invariance). The exponent ϕ \phi ϕ of Eq. (16) depends neither on the representatives of the labels nor on the choice of period ribbons in Eq. (13) . For ξ , ξ ′ ∈ V m \xi,\xi'\in V_m ξ , ξ ′ ∈ V m , η , η ′ ∈ V e \eta,\eta'\in V_e η , η ′ ∈ V e and any Laurent monomial t t t ,
B ( ξ , η + η ′ ) = B ( ξ , η ) B ( ξ , η ′ ) , B ( ξ + ξ ′ , η ) = B ( ξ , η ) B ( ξ ′ , η ) , B ( t ξ , t η ) = B ( ξ , η ) , (17) \mathcal{B}(\xi,\eta+\eta')=\mathcal{B}(\xi,\eta)\mathcal{B}(\xi,\eta'),\qquad
\mathcal{B}(\xi+\xi',\eta)=\mathcal{B}(\xi,\eta)\mathcal{B}(\xi',\eta),\qquad
\mathcal{B}(t\xi,t\eta)=\mathcal{B}(\xi,\eta), \tag*{(17)} B ( ξ , η + η ′ ) = B ( ξ , η ) B ( ξ , η ′ ) , B ( ξ + ξ ′ , η ) = B ( ξ , η ) B ( ξ ′ , η ) , B ( t ξ , t η ) = B ( ξ , η ) , (17) and, with ξ ⋆ η \xi^\star\eta ξ ⋆ η the product formed in R R R and then reduced in V e V_e V e ,
B ( ξ , η ) = B ( 1 , ξ ⋆ η ) . (18) \mathcal{B}(\xi,\eta)=\mathcal{B}(1,\xi^\star\eta). \tag*{(18)} B ( ξ , η ) = B ( 1 , ξ ⋆ η ) . (18) That is, B \mathcal{B} B is a bicharacter invariant under simultaneous translation of its two arguments, and the whole table of mutual statistics is the one-argument functional B ( 1 , ⋅ ) \mathcal{B}(1,\cdot) B ( 1 , ⋅ ) .
Proof. As Q < ∞ Q<\infty Q < ∞ , the polynomials f ⋆ f^\star f ⋆ and g ⋆ g^\star g ⋆ are coprime in the unique-factorization domain R R R , so two solutions of a period equation differ by a multiple of the syzygy ( g ⋆ , f ⋆ ) (g^\star,f^\star) ( g ⋆ , f ⋆ ) . Replacing ( h , v ) (h,v) ( h , v ) by ( h + g ⋆ s , v + f ⋆ s ) (h+g^\star s,v+f^\star s) ( h + g ⋆ s , v + f ⋆ s ) changes Δ \Delta Δ by s ( f ⋆ c + g ⋆ d ) = s ( 1 + w ) s(f^\star c+g^\star d)=s(1+w) s ( f ⋆ c + g ⋆ d ) = s ( 1 + w ) , and likewise a change of ( c , d ) (c,d) ( c , d ) changes it by a multiple of 1 + z 1+z 1 + z ; neither changes Tr z , w \operatorname{Tr}_{z,w} Tr z , w , which is invariant under translation by z z z and by w w w . Moreover
f ⋆ Δ = ( 1 + w ) v + ( 1 + z ) d , g ⋆ Δ = ( 1 + w ) h + ( 1 + z ) c , (19) f^\star\Delta=(1+w)v+(1+z)d,\qquad g^\star\Delta=(1+w)h+(1+z)c, \tag*{(19)} f ⋆ Δ = ( 1 + w ) v + ( 1 + z ) d , g ⋆ Δ = ( 1 + w ) h + ( 1 + z ) c , (19)
so Tr z , w ( F Δ ) = 0 \operatorname{Tr}_{z,w}(F\Delta)=0 Tr z , w ( F Δ ) = 0 for every F ∈ ⟨ f ⋆ , g ⋆ ⟩ F\in\langle f^\star,g^\star\rangle F ∈ ⟨ f ⋆ , g ⋆ ⟩ ; since the antipode carries ⟨ f , g ⟩ \langle f,g\rangle ⟨ f , g ⟩ onto ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star,g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ , ϕ \phi ϕ is unchanged when ξ ^ \widehat{\xi} ξ moves by an element of ⟨ f , g ⟩ \langle f,g\rangle ⟨ f , g ⟩ or η ^ \widehat{\eta} η by one of ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star,g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ . The trace is F 2 \mathbb{F}_2 F 2 -linear, t ⋆ t = 1 t^\star t=1 t ⋆ t = 1 gives ( t ξ ) ⋆ ( t η ) = ξ ⋆ η (t\xi)^\star(t\eta)=\xi^\star\eta ( t ξ ) ⋆ ( t η ) = ξ ⋆ η , the formula involves the labels only through ξ ⋆ η \xi^\star\eta ξ ⋆ η , and a ↦ ( − 1 ) a a\mapsto(-1)^a a ↦ ( − 1 ) a turns addition into multiplication of signs. □ \square □
For BB( 1 , 1 , 3 , 1 ) (1,1,3,1) ( 1 , 1 , 3 , 1 ) , B ( x , x ) = B ( 1 , x − 1 x ) = B ( 1 , 1 ) = − 1 \mathcal{B}(x,x)=\mathcal{B}(1,x^{-1}x)=\mathcal{B}(1,1)=-1 B ( x , x ) = B ( 1 , x − 1 x ) = B ( 1 , 1 ) = − 1 , using the ( 1 , 1 ) (1,1) ( 1 , 1 ) -channel diagonal entry of Table S1 .
Table S1. Measurement phases for the BB(1, 1, 3, 1) code. The first column lists the possible fusion outcomes ( A 1 , A 2 ) (A_1,A_2) ( A 1 , A 2 ) of σ × σ \sigma\times\sigma σ × σ , and the top row represents the Wilson loop measurement operators defined by polynomial X X X . The matrix elements display the expected measurement values, which geometrically correspond to the braiding phase B ( A 1 , X ι ) = B ( X , A 2 ) \mathcal{B}(A_1,X^{\iota})=\mathcal{B}(X,A_2) B ( A 1 , X ι ) = B ( X , A 2 ) . Its diagonal, X = A 1 X=A_1 X = A 1 , is the spin θ e a = B ( A 1 , A 2 ) \theta_{e_a}=\mathcal{B}(A_1,A_2) θ e a = B ( A 1 , A 2 ) of the channel: four bosons and four fermions. For this code [ κ ] = 1 [\kappa]=1 [ κ ] = 1 on labels, so X ι = X ⋆ X^{\iota}=X^{\star} X ι = X ⋆ as labels. For example, the syndrome vector ( + 1 , + 1 , − 1 ) (+1,+1,-1) ( + 1 , + 1 , − 1 ) for the basis loops 1 , x , x 2 1,x,x^2 1 , x , x 2 identifies the channel ( x , x 2 + 1 ) (x,x^2+1) ( x , x 2 + 1 ) . Measuring three basis loops 1 , x 1,x 1 , x , and x 2 x^2 x 2 therefore reads out the pair’s fusion channel as a three-bit register; this register is the operational content of the logical-qubit counting quoted in the main text: in the common-frame, commensurate configurations of Theorem S5, these registers have one global charge constraint and give ( n p a i r − 1 ) Q (n_{\mathrm{pair}}-1)Q ( n pair − 1 ) Q logical qubits.
Non-Degeneracy of the Braiding Pairing
The pairing is computed directly from the defining polynomials ( f , g ) (f,g) ( f , g ) : solve the two period equations (S8), form Δ \Delta Δ , and take coefficient traces. For standard-monomial bases { μ i } i = 1 Q \{\mu_i\}_{i=1}^{Q} { μ i } i = 1 Q of V m V_m V m and { ν j } j = 1 Q \{\nu_j\}_{j=1}^{Q} { ν j } j = 1 Q of V e V_e V e the binary Gram matrix is
G i j = ϕ ( μ i , ν j ) = Tr z , w ( μ i ⋆ ν j Δ ) , (20) G_{ij}=\phi(\mu_i,\nu_j)=\operatorname{Tr}_{z,w}(\mu_i^\star\nu_j\Delta), \tag*{(20)} G ij = ϕ ( μ i , ν j ) = Tr z , w ( μ i ⋆ ν j Δ ) , (20)
and B ( ξ , η ) = ( − 1 ) u T G v \mathcal{B}(\xi,\eta)=(-1)^{u^{\mathsf T}Gv} B ( ξ , η ) = ( − 1 ) u T G v for ξ = ∑ i u i μ i \xi=\sum_i u_i\mu_i ξ = ∑ i u i μ i and η = ∑ j v j ν j \eta=\sum_j v_j\nu_j η = ∑ j v j ν j . That the pairing is perfect (Lemma S4) is the workhorse invoked throughout Secs. SIII–SV.
Example: BB(1, 1, 3, 1). For f = 1 + x + x − 1 y f = 1 + x + x^{-1}y f = 1 + x + x − 1 y and g = 1 + y + x 3 y − 1 g = 1 + y + x^3y^{-1} g = 1 + y + x 3 y − 1 the quotient relations y = x + x 2 y = x + x^2 y = x + x 2 and 1 + x 2 + x 3 = 0 1 + x^2 + x^3 = 0 1 + x 2 + x 3 = 0 of V m V_m V m give the standard-monomial basis ( 1 , x , x 2 ) (1, x, x^2) ( 1 , x , x 2 ) with Q = 3 Q = 3 Q = 3 and x 7 = y 7 = 1 x^7 = y^7 = 1 x 7 = y 7 = 1 , so ℓ 0 = m 0 = 7 \ell_0 = m_0 = 7 ℓ 0 = m 0 = 7 . Moreover x y = x 2 + x 3 = 1 xy = x^2 + x^3 = 1 x y = x 2 + x 3 = 1 , so the affine monomial of Eq. (28) is trivial on labels,
[ κ ] = [ x − 1 y − 1 ] = 1 (21) [\kappa] = [x^{-1}y^{-1}] = 1 \tag*{(21)} [ κ ] = [ x − 1 y − 1 ] = 1 (21)
in both dual quotient spaces: the affine label formulas reduce to pure-antipode ones for this example, although microscopic block anchors remain affine.
Lemma S4 (Non-degeneracy of the braiding pairing). The pairing ϕ : V m × V e → F 2 \phi: V_m \times V_e \to\mathbb{F}_2 ϕ : V m × V e → F 2 is perfect. Namely, for r ∈ V m r \in V_m r ∈ V m , B ( r , X ) = 1 B(r, X) = 1 B ( r , X ) = 1 for every X ∈ V e X \in V_e X ∈ V e implies r = 0 r = 0 r = 0 , and the analogous assertion holds after exchanging V m V_m V m and V e V_e V e ; equivalently, the Gram matrix of Eq. (20) is invertible over F 2 \mathbb{F}_2 F 2 . Consequently anyons are separated by their statistics: if A , A ′ ∈ V m A, A' \in V_m A , A ′ ∈ V m satisfy B ( A , X ) = B ( A ′ , X ) B(A, X) = B(A', X) B ( A , X ) = B ( A ′ , X ) for every X ∈ V e X \in V_e X ∈ V e , then A = A ′ A = A' A = A ′ , and likewise with the two tones exchanged.
Proof. Set I e = ( f ⋆ , g ⋆ ) I_e = (f^\star, g^\star) I e = ( f ⋆ , g ⋆ ) , so that V e = R / I e V_e = R/I_e V e = R / I e . The Laurent ring R = F 2 [ x ± 1 , y ± 1 ] R = \mathbb{F}_2[x^{\pm1}, y^{\pm1}] R = F 2 [ x ± 1 , y ± 1 ] is a localization of F 2 [ x , y ] \mathbb{F}_2[x,y] F 2 [ x , y ] , hence a Noetherian regular domain of dimension two, and in particular a unique factorization domain. Since V e V_e V e is nonzero and finite-dimensional over F 2 \mathbb{F}_2 F 2 , every prime containing I e I_e I e is maximal, and maximal ideals of R R R have height two; so ht I e = 2 \operatorname{ht} I_e = 2 ht I e = 2 . In particular f ⋆ f^\star f ⋆ is nonzero, hence a non-zero-divisor in the domain R R R ; and were g ⋆ g^\star g ⋆ a zero-divisor modulo ( f ⋆ ) (f^\star) ( f ⋆ ) , unique factorization would give f ⋆ f^\star f ⋆ and g ⋆ g^\star g ⋆ a common irreducible factor p p p , whence I e ⊆ ( p ) I_e \subseteq(p) I e ⊆ ( p ) with ht ( p ) = 1 \operatorname{ht}(p) = 1 ht ( p ) = 1 , contradicting ht I e = 2 \operatorname{ht} I_e = 2 ht I e = 2 . So f ⋆ , g ⋆ f^\star, g^\star f ⋆ , g ⋆ is a regular sequence; so is 1 + z , 1 + w 1 + z, 1 + w 1 + z , 1 + w , because z z z and w w w translate in independent directions.
For nested regular sequences a determinant controls the comparison of the two quotients. If S S S is a commutative ring, both a 1 , a 2 a_1,a_2 a 1 , a 2 and t 1 , t 2 t_1,t_2 t 1 , t 2 are regular sequences and t = C a t = Ca t = C a , then, with U = S / ( t 1 , t 2 ) U = S/(t_1,t_2) U = S / ( t 1 , t 2 ) and D = S / ( a 1 , a 2 ) D = S/(a_1,a_2) D = S / ( a 1 , a 2 ) , multiplication by det C \det C det C is an isomorphism
D → ∼ Ann U ( a 1 , a 2 ) . (22) D \xrightarrow{\sim} \operatorname{Ann}_{U}(a_1,a_2). \tag*{(22)} D ∼ Ann U ( a 1 , a 2 ) . (22)
This is the determinant–colon formula of Wiebe [100 ] ; see [95 ] , Cor. 2.3.10(a), with the published correction, and [99 ] , Prop. 1.2] for the fact that no Noetherian or local hypothesis is required.
The two period equations (S8) are the single matrix identity
\begin{pmatrix} 1 + z \\ 1 + w \end{pmatrix}
= C \begin{pmatrix} f^\star\\ g^\star\end{pmatrix},
\qquad
C = \begin{pmatrix} h & v \\ c & d \end{pmatrix},
\qquad
\det C = hd + vc = \Delta, \tag*{(23)}\end{pmatrix}
so Δ \Delta Δ is the determinant expressing the period pair through the defining pair, and Eq. (22) , applied with t = ( 1 + z , 1 + w ) t = (1 + z, 1 + w) t = ( 1 + z , 1 + w ) and a = ( f ⋆ , g ⋆ ) a = (f^\star,g^\star) a = ( f ⋆ , g ⋆ ) , makes multiplication by Δ \Delta Δ an isomorphism
V e = R / ( f ⋆ , g ⋆ ) → ∼ Ann R / ( 1 + z , 1 + w ) ( f ⋆ , g ⋆ ) . (24) V_e = R/(f^\star,g^\star) \xrightarrow{\sim} \operatorname{Ann}_{R/(1+z,1+w)}(f^\star,g^\star). \tag*{(24)} V e = R / ( f ⋆ , g ⋆ ) ∼ Ann R / ( 1 + z , 1 + w ) ( f ⋆ , g ⋆ ) . (24)
The quotient R / ( 1 + z , 1 + w ) R/(1+z,1+w) R / ( 1 + z , 1 + w ) is a finite Frobenius algebra: its coefficient trace is Tr z , w \operatorname{Tr}_{z,w} Tr z , w and pairs the quotient perfectly with itself. Let η ∈ V e \eta\in V_e η ∈ V e satisfy ϕ ( ξ , η ) = 0 \phi(\xi,\eta)=0 ϕ ( ξ , η ) = 0 for every ξ ∈ V m \xi\in V_m ξ ∈ V m . As ξ ^ \hat{\xi} ξ ^ ranges over all of R R R , Tr z , w ( F ^ Δ ^ ) = 0 \operatorname{Tr}_{z,w}(\hat{F}\hat{\Delta})=0 Tr z , w ( F ^ Δ ^ ) = 0 for every F ∈ R F \in R F ∈ R , so Δ ^ = 0 \hat{\Delta}=0 Δ ^ = 0 in R / ( 1 + z , 1 + w ) R/(1+z,1+w) R / ( 1 + z , 1 + w ) and η = 0 \eta=0 η = 0 by Eq. (24) . The antipode is an involutive F 2 \mathbb{F}_2 F 2 -algebra automorphism carrying ( f , g ) (f,g) ( f , g ) to ( f ⋆ , g ⋆ ) (f^\star,g^\star) ( f ⋆ , g ⋆ ) , so dim V m = dim V e = Q \dim V_m = \dim V_e = Q dim V m = dim V e = Q ; an injection V e → V m ∗ V_e \to V_m^\ast V e → V m ∗ between spaces of equal finite dimension is bijective, the pairing is perfect, and G G G has full rank.
The Frobenius property is used again below in the following form: the annihilator of an ideal I I I is its trace-orthogonal complement (Tr ( I a ⋅ ) = 0 \operatorname{Tr}(Ia_\cdot)=0 Tr ( I a ⋅ ) = 0 exactly when I a = 0 Ia=0 I a = 0 , the form being non-degenerate), and so has the dimension of the quotient by I I I .
For the separation statement, bilinearity (Lemma S3) gives B ( A , X ) B ( A ′ , X ) = B ( A + A ′ , X ) B(A,X)B(A',X)=B(A+A',X) B ( A , X ) B ( A ′ , X ) = B ( A + A ′ , X ) , so the hypothesis says that B ( A + A ′ , X ) = 1 B(A+A',X)=1 B ( A + A ′ , X ) = 1 for every X ∈ V e X \in V_e X ∈ V e ; non-degeneracy then forces A + A ′ = 0 A+A'=0 A + A ′ = 0 , that is A = A ′ A=A' A = A ′ over F 2 \mathbb{F}_2 F 2 . □ \square □
The Defect-Line Scaffold
Localized Abelian anyons at fixed total charge have one-dimensional fusion spaces, so a protected local degeneracy needs new objects. We engineer a defect line : a wall along which the code is modified so that an anyon crossing it becomes its affine electric–magnetic dual.
Section SIII A fixes the block algebra and the target label action. The construction then proceeds in three operator layers at increasing distance from the pristine code — the BB code as given, before any check is removed or added (Figure S3 , Figure S4 and Figure S5 ). Composite checks C C C (Sec. SIII B) impose the affine electric–magnetic matching inside each block; each is a product of two pristine checks and never leaves the pristine stabilizer group. Merging each pair costs one listed measurement per site — the wall can no longer tell which member of the pair was violated — and what a block therefore cannot resolve accumulates as its ledger of removed-check violations. Interblock operators T T T (Sec. SIII C) identify the relative wall ledgers of adjacent blocks; each is a pair of period ribbons, has left that group, and sits with its endpoints on removed checks that the composites absorb pairwise. The construction’s one free choice, which period ribbon builds the interblock operators, is fixed there. Patch operators M M M (Sec. SIII D) supply the local filling relations for the remaining contractible wall processes.
Figure S3. Overview of the block wall and its target action for BB(1, 1, 3, 1). The microscopic offsets use the corner-origin affine reflection in Eq. (28) ; for this 7 × 7 example its center is the lattice site (3, 3). Colours as in Figure S2 ; violet squares are defect blocks. (a) The composite layer matches the X check at u u u with the Z check at ι ( u ) \iota(u) ι ( u ) (magenta link; the diamond marks the reflection center). (b) The target label action is the affine duality e r ↦ m ι r e_r \mapsto m_{\iota r} e r ↦ m ιr and m s ↦ e ι s m_s \mapsto e_{\iota s} m s ↦ e ιs . Its microscopic realization requires crossing Pauli strings with these remote endpoint syndromes and no residual wall syndrome: red circles mark electric (vertex) and yellow squares magnetic (plaquette) syndromes, the number being the syndrome bit, and hollow markers joined by a grey dashed line an ι \iota ι -matched pair the composite checks absorb. (c) A loop winding around a termination of the wall; it closes only as a duality-invariant composite (Sec. SIV A). Microscopic interblock and patch representatives are shown below in Figure S4 and Figure S5 .
Figure S4. Exact microscopic support of one horizontal self-dual interblock operator for BB(1, 1, 3, 1). The displayed 7×7 blocks are shown in corner-origin coordinates: the marked offset u = ( 1 , 2 ) u=(1,2) u = ( 1 , 2 ) is paired with ι ( u ) = ( 5 , 4 ) \iota(u)=(5,4) ι ( u ) = ( 5 , 4 ) by the affine center reflection in Eq. (28) . Blue and green segments show its X and Z support. Colour convention for every ribbon figure below : blue is the X-tone ribbon, carrying magnetic labels, green the Z-tone ribbon, carrying electric ones; grey is the defect line, and grey dashed segments connect the ι \iota ι -matched endpoint pairs the composite checks absorb. The two banks carry the period-ribbon data r p e r = ( h , v ) \mathbf{r}_{\mathrm{per}}=(h,v) r per = ( h , v ) and its CSS dual r p e r ∨ = ( v ∗ , h ∗ ) \mathbf{r}_{\mathrm{per}}^{\vee}=(v^{\ast},h^{\ast}) r per ∨ = ( v ∗ , h ∗ ) , anchored by the block-periodic convention; the artwork writes ρ u ∨ \rho^{\vee}_{u} ρ u ∨ and ρ ι ( u ) \rho_{\iota(u)} ρ ι ( u ) for these anchored copies. Syndrome markers are as in Figure S3 ; vertex syndromes sit at lattice sites and plaquette syndromes at plaquette centers, half a spacing off the edge coordinates on the axes. Their paired endpoint syndromes agree, so every composite C C C sees zero syndrome; the self-dual form also makes all translated interblock operators mutually commuting by Lemma S9.
Figure S5. A microscopic patch certificate for a straight BB(1, 1, 3, 1) wall; the shaded strip with dotted boundaries is the wall. (a) A closed twice-crossing Pauli process with an operator-free interior. (b) Two representative terms in its exact stabilizer decomposition are highlighted: one retained composite C C C and one patch representative M 1 M_1 M 1 ; all other support is faded. (c) The three patch representatives M 1 M_1 M 1 , M 2 M_2 M 2 , M 3 M_3 M 3 appearing in this example. The exact decomposition uses 45 scaffold rows and these three patch rows. The three displayed representatives are the terms needed for this process, not the full 46-dimensional patch family.
Figure a. Composite matching inside one block.
Figure b. Target affine-dual transmission.
Figure c. A loop around an endpoint.
All three layers commute with the composites for one reason: whatever syndrome an operator leaves on the removed checks comes in ι \iota ι -matched pairs, which a composite reads as 1 + 1 = 0 1+1=0 1 + 1 = 0 . A composite itself leaves no pristine syndrome, being a product of two pristine checks; an interblock operator’s four endpoints form two such pairs; and the patch operator has electric and magnetic removed-check syndromes related by ι \iota ι , which its dressing by pristine checks leaves unchanged.
The operator results of this section concern the straight-wall interior and are proved under their stated lattice hypotheses; natural termination is stated here for later use. The crossing law is established separately, in Sec. SV, and the termination of the wall and its twist endpoints, where the non-Abelian physics lives, need separate operator-level input and are treated in Sec. SIV.
Relation to prior defect constructions. General operator-algebra algorithms for gapped boundaries and defects in (2+1)D Pauli stabilizer codes [66 ] , and the quantum-double boundaries and condensations behind them [93 ] , treat the BB examples at the level of boundaries and long-period anyon strings, without defect Hamiltonians or twist-endpoint data. We give a closed-form realization of one wall — the affine electric–magnetic duality wall — for every BB code with 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ , together with its twist endpoints. For the toric code with a single-edge longitudinal ribbon, its straight wall reduces to the defect line of [44 ] once each locked pair of edges is read as one qubit (Sec. SIII E).
Block Algebra and the Affine Duality
We build the defect line from a block of size l 0 × m 0 l_0 \times m_0 l 0 × m 0 , where l 0 , m 0 l_0,m_0 l 0 , m 0 are the anyon periods defined in Sec. SIB: the block is the smallest axis-aligned rectangular cell, in the fixed coordinates, on which every anyon label repeats, so it is the natural unit from which to tile a wall. Let
A = F 2 [ x , y ] ( x l 0 + 1 , y m 0 + 1 ) , dim F 2 A = l 0 m 0 . (25) A=\frac{\mathbb{F}_2[x,y]}{(x^{l_0}+1,\ y^{m_0}+1)},\qquad\dim_{\mathbb{F}_2}A=l_0m_0. \tag*{(25)} A = ( x l 0 + 1 , y m 0 + 1 ) F 2 [ x , y ] , dim F 2 A = l 0 m 0 . (25)
and define I m = ( f , g ) A \mathcal{I}_m=(f,g)A I m = ( f , g ) A and I e = ( f ⋆ , g ⋆ ) A \mathcal{I}_e=(f^\star,g^\star)A I e = ( f ⋆ , g ⋆ ) A . The antipode is well defined on A A A because x − 1 = x l 0 − 1 x^{-1}=x^{l_0-1} x − 1 = x l 0 − 1 and y − 1 = y m 0 − 1 y^{-1}=y^{m_0-1} y − 1 = y m 0 − 1 in the quotient. It exchanges I m \mathcal{I}_m I m and I e \mathcal{I}_e I e .
Let J p e r = ( x l 0 + 1 , y m 0 + 1 ) ⊂ R J_{\mathrm{per}}=(x^{l_0}+1,y^{m_0}+1)\subset R J per = ( x l 0 + 1 , y m 0 + 1 ) ⊂ R . By Lemma S1, J p e r ⊆ ⟨ f , g ⟩ ∩ ⟨ f ⋆ , g ⋆ ⟩ J_{\mathrm{per}}\subseteq\langle f,g\rangle\cap\langle f^\star,g^\star\rangle J per ⊆ ⟨ f , g ⟩ ∩ ⟨ f ⋆ , g ⋆ ⟩ . Because A ≅ R / J p e r A\cong R/J_{\mathrm{per}} A ≅ R / J per , the quotient map induces A / I e ≅ R / ⟨ f ⋆ , g ⋆ ⟩ = V e A/\mathcal{I}_e\cong R/\langle f^\star,g^\star\rangle=V_e A / I e ≅ R / ⟨ f ⋆ , g ⋆ ⟩ = V e , or equivalently the exact sequence
0 ⟶ I e ⟶ A → π e V e ⟶ 0 (26) 0\longrightarrow\mathcal{I}_e\longrightarrow A\xrightarrow{\pi_e}V_e\longrightarrow0 \tag*{(26)} 0 ⟶ I e ⟶ A π e V e ⟶ 0 (26)
and similarly with e e e and m m m exchanged. Therefore
dim F 2 I e = dim F 2 I m = l 0 m 0 − Q . (27) \dim_{\mathbb{F}_2}\mathcal{I}_e=\dim_{\mathbb{F}_2}\mathcal{I}_m=l_0m_0-Q. \tag*{(27)} dim F 2 I e = dim F 2 I m = l 0 m 0 − Q . (27)
Physically, Eq. (26) splits the l 0 m 0 l_{0}m_{0} l 0 m 0 bits of one block into Q Q Q topologically meaningful directions, the anyon label in V e V_{e} V e , and l 0 m 0 − Q l_{0}m_{0}-Q l 0 m 0 − Q label-trivial ones, the ideal I e I_{e} I e .
The affine block involution. Choose the lower-left corner of the first block as the global Laurent-coordinate origin, and obtain every later block origin by translation through one whole wall period. Relative to these origins write u = ( i , j ) ∈ Λ 0 = Z l 0 × Z m 0 u=(i,j)\in\Lambda_{0}=\mathbb{Z}_{l_{0}}\times\mathbb{Z}_{m_{0}} u = ( i , j ) ∈ Λ 0 = Z l 0 × Z m 0 using the standard representatives 0 ≤ i < l 0 0\leq i<l_{0} 0 ≤ i < l 0 and 0 ≤ j < m 0 0\leq j<m_{0} 0 ≤ j < m 0 , and define
ι ( i , j ) = ( l 0 − 1 − i , m 0 − 1 − j ) , κ = x l 0 − 1 y m 0 − 1 . (28) \iota(i,j)=(l_{0}-1-i,m_{0}-1-j),\qquad\kappa=x^{l_{0}-1}y^{m_{0}-1}. \tag*{(28)} ι ( i , j ) = ( l 0 − 1 − i , m 0 − 1 − j ) , κ = x l 0 − 1 y m 0 − 1 . (28)
Geometrically, ι \iota ι is the 180 ∘ 180^{\circ} 18 0 ∘ rotation about the center of the block, a permutation and an involution for every parity of l 0 , m 0 l_{0},m_{0} l 0 , m 0 . The standard Laurent representatives obey the exact identity
ι ( u ) ^ = κ u ⋆ in R , κ κ ⋆ = 1. (29) \widehat{\iota(u)}=\kappa u^{\star}\quad\text{in }R,\qquad\kappa\kappa^{\star}=1. \tag*{(29)} ι ( u ) = κ u ⋆ in R , κ κ ⋆ = 1. (29)
Thus no modular wrap or parity-dependent representative enters the microscopic commutator calculation. We write
r ι : = κ r ⋆ (30) r^{\iota}:=\kappa r^{\star} \tag*{(30)} r ι := κ r ⋆ (30)
for the induced additive involution on anyon labels. It exchanges V e V_{e} V e and V m V_{m} V m and satisfies ( r ι ) ι = r (r^{\iota})^{\iota}=r ( r ι ) ι = r . For a block polynomial c = ∑ u c u u c=\sum_{u}c_{u}u c = ∑ u c u u , we use the same symbol coefficientwise, so that
ι ( c ) ^ : = ∑ u c u ι ( u ) ^ = κ c ⋆ in R . (31) \widehat{\iota(c)}:=\sum_{u}c_{u}\widehat{\iota(u)}=\kappa c^{\star}\quad\text{in }R. \tag*{(31)} ι ( c ) := u ∑ c u ι ( u ) = κ c ⋆ in R . (31)
Composed with ι \iota ι , the braiding pairing becomes a pairing of V m V_{m} V m with itself,
λ ( a , b ) = B ( a , b ι ) = B ( 1 , κ a ⋆ b ⋆ ) , a , b ∈ V m , (32) \lambda(a,b)=\mathcal{B}(a,b^{\iota})=\mathcal{B}(1,\kappa a^{\star}b^{\star}),\qquad a,b\in V_{m}, \tag*{(32)} λ ( a , b ) = B ( a , b ι ) = B ( 1 , κ a ⋆ b ⋆ ) , a , b ∈ V m , (32)
the second form by Eq. (18) .
Lemma S5 (The wall pairing). The map λ : V m × V m → { ± 1 } \lambda:V_{m}\times V_{m}\to\{\pm1\} λ : V m × V m → { ± 1 } is a symmetric non-degenerate bicharacter; in particular
ϕ ( b , a ι ) = ϕ ( a , b ι ) for all a , b ∈ V m . (33) \phi(b,a^{\iota})=\phi(a,b^{\iota})\qquad\text{for all }a,b\in V_{m}. \tag*{(33)} ϕ ( b , a ι ) = ϕ ( a , b ι ) for all a , b ∈ V m . (33)
Proof. The last expression in Eq. (32) is symmetric in a a a and b b b , the quotient ring being commutative, and bilinear by Lemma S3. Since b ↦ b ι b\mapsto b^{\iota} b ↦ b ι is a bijection V m → V e V_{m}\to V_{e} V m → V e , non-degeneracy is Lemma S4.
The target label action. The corresponding label map is
D l a b ( e r ) = m r ι , D l a b ( m s ) = e s ι . (34) D_{\mathrm{lab}}(e_{r})=m_{r^{\iota}},\qquad D_{\mathrm{lab}}(m_{s})=e_{s^{\iota}}. \tag*{(34)} D lab ( e r ) = m r ι , D lab ( m s ) = e s ι . (34)
Lemma S6 (Affine electric–magnetic duality). On a general composite anyon the map of Eq. (34) acts by
D l a b ( e r m s ) = e s ι m r ι , r ∈ V e , s ∈ V m , (35) D_{\mathrm{lab}}(e_{r}m_{s})=e_{s^{\iota}}m_{r^{\iota}},\qquad r\in V_{e},\ s\in V_{m}, \tag*{(35)} D lab ( e r m s ) = e s ι m r ι , r ∈ V e , s ∈ V m , (35) and it is an involution preserving Abelian fusion and mutual braiding. On those composites it also preserves topological spin.
Proof. Let a = e r m s a=e_{r}m_{s} a = e r m s , with r ∈ V e r\in V_{e} r ∈ V e and s ∈ V m s\in V_{m} s ∈ V m . Equations (S25) and (S29) give
D l a b ( a ) = e s ι m r ι , D l a b 2 ( a ) = a . D_{\mathrm{lab}}(a)=e_{s^{\iota}}m_{r^{\iota}},\qquad D_{\mathrm{lab}}^{2}(a)=a. D lab ( a ) = e s ι m r ι , D lab 2 ( a ) = a .
Thus D l a b D_{\mathrm{lab}} D lab is an involution and, since ι \iota ι is additive, preserves fusion. Eq. (33) , applied with a = v a=v a = v and b = u ι b=u^{\iota} b = u ι , gives
B ( u ι , v ι ) = B ( v , u ) ( u ∈ V e , v ∈ V m ) . \mathcal{B}(u^{\iota},v^{\iota})=\mathcal{B}(v,u)\qquad(u\in V_{e},\ v\in V_{m}). B ( u ι , v ι ) = B ( v , u ) ( u ∈ V e , v ∈ V m ) .
For b = e r ′ m s ′ b=e_{r'}m_{s'} b = e r ′ m s ′ , the standard CSS braiding and spin formulas, with M \mathcal{M} M the full monodromy of Eq. (129) , now give
M ( D l a b a , D l a b b ) = B ( r ι , s ′ ι ) B ( r ′ ι , s ι ) = B ( s ′ , r ) B ( s , r ′ ) = M ( a , b ) , θ ( D l a b a ) = B ( r ι , s ι ) = B ( s , r ) = θ ( a ) , \begin{aligned}
\mathcal{M}(D_{\mathrm{lab}}a,D_{\mathrm{lab}}b)&=\mathcal{B}(r^{\iota},s'^{\iota})\mathcal{B}(r'^{\iota},s^{\iota})=\mathcal{B}(s',r)\mathcal{B}(s,r')=\mathcal{M}(a,b),\\
\theta(D_{\mathrm{lab}}a)&=\mathcal{B}(r^{\iota},s^{\iota})=\mathcal{B}(s,r)=\theta(a),
\end{aligned} M ( D lab a , D lab b ) θ ( D lab a ) = B ( r ι , s ′ ι ) B ( r ′ ι , s ι ) = B ( s ′ , r ) B ( s , r ′ ) = M ( a , b ) , = B ( r ι , s ι ) = B ( s , r ) = θ ( a ) ,
where pure electric and pure magnetic anyons have spin + 1 +1 + 1 .
The map D l a b D_{\mathrm{lab}} D lab is the target of the whole construction [Figure S3 ]: the wall should transmit e r e_{r} e r to m r ι m_{r^{\iota}} m r ι and m s m_{s} m s to e s ι e_{s^{\iota}} e s ι , in both crossing directions, with no residual syndrome on measured wall rows, no absorbed charge and no additional channel. That the completed scaffold realizes exactly this map, microscopically and invertibly, is Theorem S8.
Other frames. For a monomial μ \mu μ put
D μ ( e r m s ) = e μ s ⋆ m μ r ⋆ , so that D l a b = D κ . (36) D_{\mu}(e_r m_s)=e_{\mu s^\star}m_{\mu r^\star}, \qquad\text{so that} \qquad D_{\mathrm{lab}}=D_{\kappa}. \tag*{(36)} D μ ( e r m s ) = e μ s ⋆ m μ r ⋆ , so that D lab = D κ . (36)
The dependence of the proof of Lemma S6 on the affine monomial uses only κ κ ⋆ = 1 \kappa\kappa^\star=1 κ κ ⋆ = 1 ; replacing κ \kappa κ by any monomial μ \mu μ , the same braiding-reduction and CSS spin calculations show that D μ D_\mu D μ is an involution preserving fusion, braiding and spin. A lattice translation by a monomial o o o acts on labels by multiplication, e r m s ↦ e o r m o s e_r m_s \mapsto e_{or}m_{os} e r m s ↦ e or m os ; we write this action as o o o . Each D μ D_\mu D μ is the label action of a lattice symmetry. Let τ μ \tau_\mu τ μ apply a Hadamard to every qubit, exchange the two qubit blocks and move cell w w w to μ w ⋆ \mu w^\star μ w ⋆ ; this is the Hadamard-type fold-transversal operation of Ref. [26 ] for the ZX-duality formed by the last two steps (the standard one composed with a translation). It acts by ( u 1 , v 1 ∣ u 2 , v 2 ) ↦ ( μ v 2 ⋆ , μ u 2 ⋆ ∣ μ v 1 ⋆ , μ u 1 ⋆ ) (u_1,v_1\mid u_2,v_2)\mapsto(\mu v_2^\star,\mu u_2^\star\mid\mu v_1^\star,\mu u_1^\star) ( u 1 , v 1 ∣ u 2 , v 2 ) ↦ ( μ v 2 ⋆ , μ u 2 ⋆ ∣ μ v 1 ⋆ , μ u 1 ⋆ ) on the Pauli module of Sec. SI A, so it exchanges the X check at q q q with the Z check at μ q ⋆ \mu q^\star μ q ⋆ , preserves the stabilizer group, and maps syndromes by ( s e , s m ) ↦ ( μ s m ⋆ , μ s e ⋆ ) (s_e,s_m)\mapsto(\mu s_m^\star,\mu s_e^\star) ( s e , s m ) ↦ ( μ s m ⋆ , μ s e ⋆ ) , which on labels is D μ D_\mu D μ . The composite C j , u C_{j,u} C j , u of Eq. (38) is S j , u X S^X_{j,u} S j , u X times its τ z 2 ( j − 1 ) κ \tau_{z^{2(j-1)}\kappa} τ z 2 ( j − 1 ) κ -image, a half-turn about its block centre; as the block translation z z z along the wall (Sec. SIII C) is a period, all of these induce D κ D_\kappa D κ . The first identity below is τ μ \tau_\mu τ μ conjugated by a translation, which moves the centre of the half-turn by o o o .
Lemma S7 (Translations and dualities). For monomials o , μ , ν o,\mu,\nu o , μ , ν , as maps on anyon labels,
o D μ o − 1 = D o 2 μ , D μ D ν = μ ν − 1 , (37) oD_\mu o^{-1}=D_{o^2\mu}, \qquad D_\mu D_\nu=\mu\nu^{-1}, \tag*{(37)} o D μ o − 1 = D o 2 μ , D μ D ν = μ ν − 1 , (37) and D μ = D ν D_\mu=D_\nu D μ = D ν if and only if μ ≡ ν ( m o d ⟨ f , g ⟩ ) \mu\equiv\nu\pmod{\langle f,g\rangle} μ ≡ ν ( mod ⟨ f , g ⟩) .
Proof. Since ( o − 1 ) ⋆ = o (o^{-1})^\star=o ( o − 1 ) ⋆ = o , D μ ( e o − 1 r m o − 1 s ) = e o μ s ⋆ m o μ r ⋆ D_\mu(e_{o^{-1}r}m_{o^{-1}s})=e_{o\mu s^\star}m_{o\mu r^\star} D μ ( e o − 1 r m o − 1 s ) = e o μ s ⋆ m o μ r ⋆ , and multiplying by o o o gives the first identity. Similarly D μ ( e ν s ⋆ m ν r ⋆ ) = e μ ν ⋆ r m μ ν ⋆ s D_\mu(e_{\nu s^\star}m_{\nu r^\star})=e_{\mu\nu^\star r}m_{\mu\nu^\star s} D μ ( e ν s ⋆ m ν r ⋆ ) = e μ ν ⋆ r m μ ν ⋆ s with ν ⋆ = ν − 1 \nu^\star=\nu^{-1} ν ⋆ = ν − 1 . Hence D μ = D ν D_\mu=D_\nu D μ = D ν exactly when μ ν − 1 \mu\nu^{-1} μ ν − 1 acts trivially on V m V_m V m and on V e V_e V e . As V m V_m V m is generated by 1 1 1 and ν \nu ν is a unit, the first condition is μ ≡ ν ( m o d ⟨ f , g ⟩ ) \mu\equiv\nu\pmod{\langle f,g\rangle} μ ≡ ν ( mod ⟨ f , g ⟩) . The second is μ ≡ ν ( m o d ⟨ f ⋆ , g ⋆ ⟩ ) \mu\equiv\nu\pmod{\langle f^\star,g^\star\rangle} μ ≡ ν ( mod ⟨ f ⋆ , g ⋆ ⟩) , which the antipode turns into μ − 1 ≡ ν − 1 ( m o d ⟨ f , g ⟩ ) \mu^{-1}\equiv\nu^{-1}\pmod{\langle f,g\rangle} μ − 1 ≡ ν − 1 ( mod ⟨ f , g ⟩) , the same condition after multiplication by the unit μ ν \mu\nu μν . □
Composite Operators and the Removed Checks
Structure on the lattice. Along the wall the code no longer measures the X-check at offset u u u and the Z-check at ι ( u ) \iota(u) ι ( u ) separately; it measures only their product. Index the wall by blocks j = 1 , … , N j=1,\ldots,N j = 1 , … , N and offsets u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 , block j j j carrying the longitudinal monomial z j − 1 z^{j-1} z j − 1 , and write S j , u X S^X_{j,u} S j , u X and S j , u Z S^Z_{j,u} S j , u Z for the two pristine checks replaced at each wall site. The composite checks are
C j , u = S j , u X S j , ι ( u ) Z . (38) C_{j,u}=S^X_{j,u}S^Z_{j,\iota(u)}. \tag*{(38)} C j , u = S j , u X S j , ι ( u ) Z . (38)
Each C j , u C_{j,u} C j , u is a single Hermitian Pauli operator supported on the union of two pristine checks of the same block, so its locality is bounded by the block size plus the pristine check range; the matching is illustrated in Figure S3 .
Physical mechanism and cost. An X-check violation at u u u is thereby identified with a Z-check violation at ι ( u ) \iota(u) ι ( u ) : an electric excitation entering the wall becomes indistinguishable from the image magnetic excitation at the center-reflected offset, which is the microscopic origin of the affine duality (S29). The price is one listed measurement per wall site: each of the ℓ 0 m 0 N \ell_0m_0N ℓ 0 m 0 N sites of an N N N -block wall now contributes one check where the pristine code contributed two.
Why the layer is exact. The construction never leaves the pristine stabilizer group.
Lemma S8 (Composite commutativity). All C j , u C_{j,u} C j , u commute with one another and with every retained pristine check.
Proof. Each factor lies in the commuting pristine stabilizer group and the symplectic pairing is bilinear, so every such pairing is a sum of vanishing terms. □
Interblock Operators and the Single Ledger
The wall is a stack of identical defect blocks, and adjacent blocks must agree: a ledger accumulated in block j j j must transfer to block j + 1 j+1 j + 1 without cost. That is what the interblock operators T T T enforce, pinning the relative wall charge of adjacent blocks to zero and collapsing the extensive bookkeeping space A N A^N A N to one intensive copy of A A A .
Structure on the lattice. Each T T T is a pair of mutually dual open strings straddling the boundary between blocks j j j and j + 1 j+1 j + 1 (Figure S4 ). Its Z-type half is a periodic ribbon anchored at the offset ι ( u ) \iota(u) ι ( u ) of block j j j ; it deposits an electric endpoint syndrome on the two removed X-checks at ( j , ι ( u ) ) (j,\iota(u)) ( j , ι ( u )) and ( j + 1 , ι ( u ) ) (j+1,\iota(u)) ( j + 1 , ι ( u )) . Its star/swapped X-type half is the CSS-dual ribbon anchored one block forward at the offset u u u ; it deposits the ι \iota ι -matched magnetic syndrome on the removed Z-checks at ( j , u ) (j,u) ( j , u ) and ( j + 1 , u ) (j+1,u) ( j + 1 , u ) . The composites C C C see the sum of these two identical bits and therefore detect no excitation.
Concretely, fix the wall orientation and block origin, and let z z z and w w w denote translation by one whole block parallel and transverse to the wall:
( z , w ) = { ( x l 0 , y m 0 ) , horizontal wall , ( y m 0 , x l 0 ) , vertical wall . (39) (z,w)=
\begin{cases}
(x^{l_0},y^{m_0}), & \text{horizontal wall},\\
(y^{m_0},x^{l_0}), & \text{vertical wall}.
\end{cases} \tag*{(39)} ( z , w ) = { ( x l 0 , y m 0 ) , ( y m 0 , x l 0 ) , horizontal wall , vertical wall . (39)
Write w = t p ⊥ w=t^{p_{\perp}} w = t p ⊥ , where ( t , p ⊥ ) = ( y , m 0 ) (t,p_{\perp})=(y,m_0) ( t , p ⊥ ) = ( y , m 0 ) for a horizontal wall and ( t , p ⊥ ) = ( x , l 0 ) (t,p_{\perp})=(x,l_0) ( t , p ⊥ ) = ( x , l 0 ) for a vertical wall; the transverse fundamental interval occupied by the removed wall block is then 0 ≤ t ≤ p ⊥ − 1 0\leq t\leq p_{\perp}-1 0 ≤ t ≤ p ⊥ − 1 . The period ribbons of Eq. (13) are named accordingly: r p e r = ( h , v ) \mathbf{r}_{\mathrm{per}}=(h,v) r per = ( h , v ) is the longitudinal ribbon, ( c , d ) (c,d) ( c , d ) the transverse one, and Δ = c v + d h \Delta=cv+dh Δ = c v + d h their comparison polynomial.
Transverse Normalization
The interblock rows are built from ( h , v ) (h,v) ( h , v ) , and that ribbon is fixed only up to a syzygy: two solutions of the longitudinal period equation differ by ( h , v ) ↦ ( h + g ∗ t , v + f ∗ t ) (h,v)\mapsto(h+g^{\ast}t,v+f^{\ast}t) ( h , v ) ↦ ( h + g ∗ t , v + f ∗ t ) . In the pristine code such a change multiplies each row by a product of checks and is invisible; on the wall those of them inside the removed block have been merged away, so different solutions can give different wall rows, with different comparison polynomials. We impose a transverse normalization and fix one finite lift; the normalization is always available and is the condition on which Theorem S8 rests.
Write Δ ‾ \overline{\Delta} Δ for the image of Δ \Delta Δ in B = R / ( 1 + z ) \mathbb{B}=R/(1+z) B = R / ( 1 + z ) . It does not depend on the auxiliary transverse ribbon: two solutions of f ∗ c + g ∗ d = 1 + w f^{\ast}c+g^{\ast}d=1+w f ∗ c + g ∗ d = 1 + w differ by ( c , d ) ↦ ( c + g ∗ s , d + f ∗ s ) (c,d)\mapsto(c+g^{\ast}s,d+f^{\ast}s) ( c , d ) ↦ ( c + g ∗ s , d + f ∗ s ) , which changes Δ \Delta Δ by s ( 1 + z ) s(1+z) s ( 1 + z ) and hence leaves Δ ‾ \overline{\Delta} Δ unchanged. The normalization below is therefore a statement about ( h , v ) (h,v) ( h , v ) alone. In B \mathbb{B} B , divide the folded comparison polynomial by 1 + w 1+w 1 + w :
Δ ‾ = r + ( 1 + w ) q , supp r ⊆ { 0 , 1 , … , p ⊥ − 1 } . (40) \overline{\Delta}=r+(1+w)q,\qquad\operatorname{supp}r\subseteq\{0,1,\ldots,p_{\perp}-1\}. \tag*{(40)} Δ = r + ( 1 + w ) q , supp r ⊆ { 0 , 1 , … , p ⊥ − 1 } . (40)
This division always has finite support, and q q q is unique once the displayed remainder interval is fixed. Explicitly, if k = r 0 + n p ⊥ k=r_0+np_\perp k = r 0 + n p ⊥ with 0 ≤ r 0 < p ⊥ 0\le r_0<p_\perp 0 ≤ r 0 < p ⊥ , then t k + t r 0 t^k+t^{r_0} t k + t r 0 is a finite Laurent multiple of 1 + w 1+w 1 + w ; this covers negative transverse exponents and also the degenerate case p ⊥ = 1 p_\perp=1 p ⊥ = 1 . When Q > 0 Q>0 Q > 0 , the remainder is nonzero: r = 0 r=0 r = 0 would make Δ \Delta Δ vanish after both period folds, contradicting Lemma S4.
Choose a finite lift q ~ ∈ R \widetilde{q}\in R q ∈ R of q q q and replace
( h , v ) ⟼ ( h ′ , v ′ ) = ( h + g ⋆ q ~ , v + f ⋆ q ~ ) . (41) (h,v)\longmapsto(h',v')=(h+g^{\star}\widetilde{q},v+f^{\star}\widetilde{q}). \tag*{(41)} ( h , v ) ⟼ ( h ′ , v ′ ) = ( h + g ⋆ q , v + f ⋆ q ) . (41)
The longitudinal period equation is preserved because f ⋆ h ′ + g ⋆ v ′ = f ⋆ h + g ⋆ v + ( f ⋆ g ⋆ + g ⋆ f ⋆ ) q ~ = 1 + z f^{\star}h'+g^{\star}v'=f^{\star}h+g^{\star}v+(f^{\star}g^{\star}+g^{\star}f^{\star})\widetilde{q}=1+z f ⋆ h ′ + g ⋆ v ′ = f ⋆ h + g ⋆ v + ( f ⋆ g ⋆ + g ⋆ f ⋆ ) q = 1 + z , while c v ′ + d h ′ = Δ ‾ + ( 1 + w ) q = r cv'+dh'=\overline{\Delta}+(1+w)q=r c v ′ + d h ′ = Δ + ( 1 + w ) q = r . We henceforth reuse ( h , v ) (h,v) ( h , v ) and Δ \Delta Δ for this transverse-normalized ribbon and comparison polynomial, and fix the resulting wall realization once and for all; every patch row and every support or buffer constant below is the one for that ribbon.
The remainder r r r and the folded transverse-normalized ribbon class are canonical once the orientation, origin, and transverse fundamental interval are fixed, but the microscopic wall is not. Two finite lifts of q q q differ by ( 1 + z ) s (1+z)s ( 1 + z ) s and in general give different interblock and patch rows. One finite lift is fixed; equivalence of the walls obtained from different lifts is not established here. Theorem S8 holds for every choice of lift regardless.
The Interblock Operators
The chosen longitudinal ribbon’s CSS dual is
r p e r ∨ = ( v ⋆ , h ⋆ ) . (42) \mathbf{r}_{\mathrm{per}}^{\vee}=(v^{\star},h^{\star}). \tag*{(42)} r per ∨ = ( v ⋆ , h ⋆ ) . (42)
This is the ordinary CSS ribbon dual, not the block involution ι \iota ι : the affine center reflection enters separately, through the anchoring monomials in Eq. (45) . Its magnetic syndrome is
g v ⋆ + f h ⋆ = ( f ⋆ h + g ⋆ v ) ⋆ = 1 + z − 1 , (43) gv^{\star}+fh^{\star}=(f^{\star}h+g^{\star}v)^{\star}=1+z^{-1}, \tag*{(43)} g v ⋆ + f h ⋆ = ( f ⋆ h + g ⋆ v ) ⋆ = 1 + z − 1 , (43)
so anchoring it one block forward gives
syn m ( z r p e r ∨ ) = z ( 1 + z − 1 ) = 1 + z = syn e ( r p e r ) . (44) \operatorname{syn}_{m}(zr_{\mathrm{per}}^{\vee})=z(1+z^{-1})=1+z=\operatorname{syn}_{e}(r_{\mathrm{per}}). \tag*{(44)} syn m ( z r per ∨ ) = z ( 1 + z − 1 ) = 1 + z = syn e ( r per ) . (44)
For u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 , let u ^ \widehat{u} u and ι ( u ) ‾ \overline{\iota(u)} ι ( u ) denote the chosen Laurent-monomial representatives in the fundamental block. The normalized interblock operator between blocks j j j and j + 1 j+1 j + 1 is
T j , u = η j , u Z [ z j − 1 ι ( u ) ‾ r p e r ] X [ z j u ^ r p e r ∨ ] , (45) T_{j,u}=\eta_{j,u}Z[z^{j-1}\overline{\iota(u)}r_{\mathrm{per}}]X[z^j\widehat{u}r_{\mathrm{per}}^{\vee}], \tag*{(45)} T j , u = η j , u Z [ z j − 1 ι ( u ) r per ] X [ z j u r per ∨ ] , (45)
where η j , u ∈ { ± 1 , ± i } \eta_{j,u}\in\{\pm1,\pm i\} η j , u ∈ { ± 1 , ± i } is chosen so that T j , u T_{j,u} T j , u is Hermitian. This phase convention does not affect any binary commutator or rank calculation below.
Why the Layer Is Exact
For a Pauli vector p = ( p Z ∣ p X ) p=(p_Z\mid p_X) p = ( p Z ∣ p X ) in the ordering (S1), define the polynomial symplectic pairing
ω R ( p , q ) = p Z q X T + p X q Z T ∈ R . (46) \omega_R(p,q)=p_Zq_X^{\mathsf T}+p_Xq_Z^{\mathsf T}\in R. \tag*{(46)} ω R ( p , q ) = p Z q X T + p X q Z T ∈ R . (46)
The coefficient of x a y b x^ay^b x a y b is the binary commutator of p p p with the translate x a y b q x^ay^bq x a y b q .
Lemma S9 (Mutual commutation of the self-dual family). For Laurent monomials a , b a,b a , b , write
t a , b = ( b r p e r ∣ a r p e r ∨ ) . (47) t_{a,b}=(br_{\mathrm{per}}\mid ar_{\mathrm{per}}^{\vee}). \tag*{(47)} t a , b = ( b r per ∣ a r per ∨ ) . (47) Then ω R ( t a , b , t a ′ , b ′ ) = 0 \omega_R(t_{a,b},t_{a',b'})=0 ω R ( t a , b , t a ′ , b ′ ) = 0 for all monomials a , b , a ′ , b ′ a,b,a',b' a , b , a ′ , b ′ . In particular, all normalized interblock operators mutually commute.
Proof.
ω R ( t a , b , t a ′ , b ′ ) = b ( a ′ ) − 1 ( h v + v h ) + a ( b ′ ) − 1 ( v ⋆ h ⋆ + h ⋆ v ⋆ ) = 0 \begin{aligned}
\omega_R(t_{a,b},t_{a',b'})&=b(a')^{-1}(hv+vh)\\
&\quad+a(b')^{-1}(v^{\star}h^{\star}+h^{\star}v^{\star})=0
\end{aligned} ω R ( t a , b , t a ′ , b ′ ) = b ( a ′ ) − 1 ( h v + v h ) + a ( b ′ ) − 1 ( v ⋆ h ⋆ + h ⋆ v ⋆ ) = 0 over F 2 \mathbb{F}_2 F 2 , the two cross terms cancelling; Eq. (45) is the case b = z j − 1 ι ( u ) ‾ b=z^{j-1}\overline{\iota(u)} b = z j − 1 ι ( u ) , a = z j u ^ a=z^j\widehat{u} a = z j u .
Lemma S10 (Commutation with C C C and the bulk). Every normalized interblock operator in Eq. (45) commutes with every retained bulk check and every composite C j , u C_{j,u} C j , u .
Proof. The ribbon equation gives the complete electric syndrome of the Z Z Z half of T j , u T_{j,u} T j , u : it consists only of the two removed checks S j , ι ( u ) X S^X_{j,\iota(u)} S j , ι ( u ) X and S j + 1 , ι ( u ) X S^X_{j+1,\iota(u)} S j + 1 , ι ( u ) X . The dual equation gives the complete magnetic syndrome of the X X X half: it consists only of S j , u Z S^Z_{j,u} S j , u Z and S j + 1 , u Z S^Z_{j+1,u} S j + 1 , u Z . Hence T j , u T_{j,u} T j , u has no syndrome on a retained bulk check. At either endpoint, Eq. (38) pairs the indicated S X S^X S X check with the indicated S Z S^Z S Z check. The two contributions to its commutator with T j , u T_{j,u} T j , u therefore add to 1 + 1 = 0 1+1=0 1 + 1 = 0 over F 2 \mathbb{F}_2 F 2 ; every other composite receives zero contributions.
Ledger Counting
The counting role of the interblock family is captured by a path-incidence sequence. Let w j ∈ A w_j \in A w j ∈ A denote the wall ledger of block j j j and define
d w : A N − 1 ⟶ A N , d_w : A^{N-1} \longrightarrow A^N, d w : A N − 1 ⟶ A N ,
d w ( q 1 , … , q N − 1 ) = ( q 1 , q 1 + q 2 , … , q N − 2 + q N − 1 , q N − 1 ) (48) d_w(q_1,\ldots,q_{N-1})=(q_1,q_1+q_2,\ldots,q_{N-2}+q_{N-1},q_{N-1}) \tag*{(48)} d w ( q 1 , … , q N − 1 ) = ( q 1 , q 1 + q 2 , … , q N − 2 + q N − 1 , q N − 1 ) (48)
and
Σ : A N ⟶ A , Σ ( w ) = ∑ j = 1 N w j . (49) \Sigma: A^N \longrightarrow A,\qquad\Sigma(w)=\sum_{j=1}^{N}w_j. \tag*{(49)} Σ : A N ⟶ A , Σ ( w ) = j = 1 ∑ N w j . (49)
Lemma S11 (Telescoping exact sequence). (i) For N ≥ 2 N \ge2 N ≥ 2 the sequence
0 ⟶ A N − 1 → d w A N → Σ A ⟶ 0 (50) 0 \longrightarrow A^{N-1} \xrightarrow{d_w} A^N \xrightarrow{\Sigma} A \longrightarrow0 \tag*{(50)} 0 ⟶ A N − 1 d w A N Σ A ⟶ 0 (50) is exact; in particular A N / im d w ≅ A A^N/\operatorname{im}d_w \cong A A N / im d w ≅ A .
(ii) The same holds in the compact sector over Z \mathbb{Z} Z : on finitely supported sequences ( q j ) j ∈ Z (q_j)_{j\in\mathbb{Z}} ( q j ) j ∈ Z in A A A , with ( d w q ) j = q j − 1 + q j (d_wq)_j=q_{j-1}+q_j ( d w q ) j = q j − 1 + q j and Σ ( w ) = ∑ j w j \Sigma(w)=\sum_j w_j Σ ( w ) = ∑ j w j , one has ker Σ = im d w \ker\Sigma=\operatorname{im}d_w ker Σ = im d w .
Proof. Exactness is the standard telescoping argument: Σ d w = 0 \Sigma d_w=0 Σ d w = 0 since every q j q_j q j appears twice, d w d_w d w is injective by induction from q 1 = 0 q_1=0 q 1 = 0 , and the cumulative sums q j = w 1 + ⋯ + w j q_j=w_1+\cdots+w_j q j = w 1 + ⋯ + w j solve d w q = w d_wq=w d w q = w for w ∈ ker Σ w\in\ker\Sigma w ∈ ker Σ . Over Z \mathbb{Z} Z the same cumulative sums q j = ∑ k ≤ j w k q_j=\sum_{k\le j}w_k q j = ∑ k ≤ j w k are finitely supported precisely when Σ ( w ) = 0 \Sigma(w)=0 Σ ( w ) = 0 , which is (ii).
Up to row and column ordering, the commutator matrix of all interblock rows with the removed S X S^X S X checks is D N ⊗ Π ι D_N\otimes\Pi_\iota D N ⊗ Π ι , where D N D_N D N is the binary path-incidence matrix representing d w d_w d w in Lemma S11 and Π ι \Pi_\iota Π ι is the permutation induced by u ↦ ι ( u ) u\mapsto\iota(u) u ↦ ι ( u ) . Since h h h and v v v are fixed Laurent polynomials, the support of an interblock row does not grow with the number of wall blocks.
Patch Operators and the Recovered Rank
Consider the target closed process in which an anyon crosses the wall, becomes its dual, turns around without enclosing a twist endpoint, crosses back, and annihilates. Such a twice-crossing process carries vacuum topological charge. A locally exact wall is required to fill it by local stabilizer relations, just as a contractible Wilson loop in the toric code is filled by plaquette or star checks. The patch operators supply these filling relations for the straight-wall interior. A microscopic patch certificate for BB(1, 1, 3, 1) is shown in Figure S5 .
Let R r e t \mathcal{R}_{\mathrm{ret}} R ret denote the listed retained pristine rows and set
R 0 = R r e t ∪ { C j , u } ∪ { T j , u } , S 0 = ⟨ R 0 ⟩ . (51) \mathcal{R}_0=\mathcal{R}_{\mathrm{ret}}\cup\{C_{j,u}\}\cup\{T_{j,u}\},\qquad\mathcal{S}_0=\langle\mathcal{R}_0\rangle. \tag*{(51)} R 0 = R ret ∪ { C j , u } ∪ { T j , u } , S 0 = ⟨ R 0 ⟩ . (51)
Thus R 0 \mathcal{R}_0 R 0 is the elementary local row family and S 0 \mathcal{S}_0 S 0 is the stabilizer group that it generates. Lemma S11 reduces the N N N block ledgers to one copy of A A A ; the exact sequence (S21) then separates its Q Q Q topological directions from the l 0 m 0 − Q l_0m_0-Q l 0 m 0 − Q label-trivial directions in L e \mathcal{L}_e L e .
A ledger map ℓ \ell ℓ measures what the C C C –T T T scaffold leaves unconstrained, with values in the ideal I e \mathcal{I}_e I e , and zero-ledger exactness (Theorem S1) shows that the ledger is the only local invariant of the scaffold. A uniform lift (Theorem S2) then constructs local representatives M ( h ) M(h) M ( h ) , one per basis element of I e \mathcal{I}_e I e , which are adjoined to the Hamiltonian; the payoff is straight-wall local exactness, and with it the affine-dual transmission proved in Sec. SV.
Choose a basis h 1 , … , h l 0 m 0 − Q h_1,\ldots,h_{l_0m_0-Q} h 1 , … , h l 0 m 0 − Q of I e \mathcal{I}_e I e and reference Paulis M a = M ( h a ) M_a=M(h_a) M a = M ( h a ) . The local Hamiltonian then contains the translated row family
R M = { M j , a = z j M a : supp M j , a and its fixed translation package lie in the straight-wall interior } , (52) \mathcal{R}_M=\left\{M_{j,a}=z^jM_a:\operatorname{supp}M_{j,a}\text{ and its fixed translation package lie in the straight-wall interior}\right\}, \tag*{(52)} R M = { M j , a = z j M a : supp M j , a and its fixed translation package lie in the straight-wall interior } , (52)
and no further translate is installed; on a finite wall this is exactly the natural termination of Definition S4. The completed straight-wall Hamiltonian is
H w a l l = − ∑ j , u C j , u − ∑ j , u T j , u − ∑ M j , a ∈ R M M j , a − ∑ ( i , j ) ∉ L ( S X ( i , j ) + S Z ( i , j ) ) . (53) H_{\mathrm{wall}}=-\sum_{j,u}C_{j,u}-\sum_{j,u}T_{j,u}-\sum_{M_{j,a}\in\mathcal{R}_M}M_{j,a}-\sum_{(i,j)\notin L}\left(S_X^{(i,j)}+S_Z^{(i,j)}\right). \tag*{(53)} H wall = − j , u ∑ C j , u − j , u ∑ T j , u − M j , a ∈ R M ∑ M j , a − ( i , j ) ∈ / L ∑ ( S X ( i , j ) + S Z ( i , j ) ) . (53)
Structure of the patch rows on the lattice. Each reference patch operator M ( h ) M(h) M ( h ) , h ∈ I e h\in\mathcal{I}_e h ∈ I e , of Theorem S2 is a compact two-tone Pauli patch pinned to one wall block. Throughout, tone is the binary CSS grading: a Pauli is X-tone or Z-tone according to its half, and correspondingly a charge is magnetic or electric, X-tone matching m m m and Z-tone matching e e e . Both labellings are used, whichever the context makes natural, and two-tone , same-tone and opposite-tone refer to that grading. Its Z half deposits the electric pattern b ^ h \widehat{b}_h b h on the removed X-checks of that block and its X half, the affine mirror image, deposits ι d ( h ) ^ \widehat{\iota_d(h)} ι d ( h ) on the removed Z-checks at the center-reflected offsets: exactly the pairs the composite layer identifies. A dressing by removed pristine checks cancels the interblock commutators.
Ledger and exact rank accounting. For a Pauli operator p p p , let ϵ r e m ( p ) ∈ A N \epsilon_{\mathrm{rem}}(p)\in A^N ϵ rem ( p ) ∈ A N record its commutators with the removed S j , u X S^X_{j,u} S j , u X checks, and define
ℓ ( p ) = ∑ ϵ r e m ( p ) ∈ A . (54) \ell(p)=\sum\epsilon_{\mathrm{rem}}(p)\in A. \tag*{(54)} ℓ ( p ) = ∑ ϵ rem ( p ) ∈ A . (54)
Retained bulk rows and composites have zero removed-check syndrome, while an interblock syndrome lies in im d w \operatorname{im}d_w im d w . Hence ℓ ( s ) = 0 \ell(s)=0 ℓ ( s ) = 0 for every s ∈ S 0 s\in S_0 s ∈ S 0 by Lemma S11, and ℓ \ell ℓ is well defined on centralizer classes modulo S 0 S_0 S 0 .
Lemma S12. If a compact Pauli p p p centralizes the infinite straight-wall scaffold, or a non-wrapping finite-wall scaffold away from its endpoints, then
π e ( ℓ ( p ) ) = 0 , ℓ ( p ) ∈ I e . (55) \pi_e(\ell(p))=0,\qquad\ell(p)\in\mathcal{I}_e. \tag*{(55)} π e ( ℓ ( p )) = 0 , ℓ ( p ) ∈ I e . (55)
Proof. All retained electric syndromes vanish, so the full pristine electric syndrome of p p p is ∑ j z j − 1 W j X \sum_j z^{j-1}W_j^X ∑ j z j − 1 W j X . In V e V_e V e , the period relation 1 + z = 0 1+z=0 1 + z = 0 identifies this class with π e ( ∑ j W j X ) = π e ( ℓ ( p ) ) \pi_e(\sum_j W_j^X)=\pi_e(\ell(p)) π e ( ∑ j W j X ) = π e ( ℓ ( p )) . On the other hand, the pristine syndrome map has the form f ∗ u + g ∗ v f^*u+g^*v f ∗ u + g ∗ v , whose class in V e V_e V e is zero. This proves Eq. (55) .
This is only a necessary label-level condition: it neither constructs a local representative of every h ∈ I e h\in\mathcal{I}_e h ∈ I e nor excludes a local class with zero ledger.
For a listed check matrix H H H , let k ( H ) k(H) k ( H ) be the number of encoded qubits. The rows of R r e t ∪ { C j , u } \mathcal{R}_{\mathrm{ret}}\cup\{C_{j,u}\} R ret ∪ { C j , u } and of R 0 \mathcal{R}_0 R 0 commute pairwise by Lemmas S8, S10 and S9, which every later scaffold argument uses silently.
Zero-ledger exactness on the infinite wall. To construct local representatives and exclude local classes with zero ledger, we work first on the infinite plane, extending R 0 \mathcal{R}_0 R 0 and S 0 S_0 S 0 block-periodically to an infinite straight wall with j ∈ Z j\in\mathbb{Z} j ∈ Z . Let P c \mathcal{P}_c P c be the compactly supported Pauli and define
H 0 l o c = Z c S 0 , c , Z c = { p ∈ P c : [ p , r ] = 0 ∀ r ∈ R 0 } , S 0 , c = { ∏ r ∈ F r : F ⊂ R 0 finite } . (56) \mathcal{H}^{\mathrm{loc}}_0=\frac{\mathcal{Z}_c}{S_{0,c}},\qquad\mathcal{Z}_c=\{p\in\mathcal{P}_c:[p,r]=0\ \forall r\in\mathcal{R}_0\},\qquad S_{0,c}=\left\{\prod_{r\in F}r:F\subset\mathcal{R}_0\text{ finite}\right\}. \tag*{(56)} H 0 loc = S 0 , c Z c , Z c = { p ∈ P c : [ p , r ] = 0 ∀ r ∈ R 0 } , S 0 , c = { r ∈ F ∏ r : F ⊂ R 0 finite } . (56)
where all rows have finite support. This avoids truncating the commutator complex at an artificial strip boundary.
For the infinite wall ℓ ( p ) = ∑ j ∈ Z W j X \ell(p)=\sum_{j\in\mathbb{Z}}W_j^X ℓ ( p ) = ∑ j ∈ Z W j X , a finite sum for p ∈ P c p\in\mathcal{P}_c p ∈ P c , and Lemma S11(ii) gives ker Σ = im d w \ker\Sigma=\operatorname{im}d_w ker Σ = im d w on finitely supported sequences.
Lemma S13 (Compact pristine filling). Assume 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ . Every compact Pauli p ∈ ker δ p\in\ker\delta p ∈ ker δ has a unique compact pristine filling a ∈ G a\in G a ∈ G with p = ∂ a p=\partial a p = ∂ a . Moreover,
supp a ⊆ conv ( supp p ) . (57) \operatorname{supp}a\subseteq\operatorname{conv}(\operatorname{supp}p). \tag*{(57)} supp a ⊆ conv ( supp p ) . (57)
Proof. Finite-dimensionality of R / ⟨ f , g ⟩ R/\langle f,g\rangle R / ⟨ f , g ⟩ makes f f f and g g g coprime in the unique-factorization domain R R R , so the two syzygy equations in δ p = 0 \delta p=0 δ p = 0 give
( u 1 , v 1 ) = ( g ∗ a Z , f ∗ a Z ) , ( u 2 , v 2 ) = ( f a X , g a X ) , (58) (u_1,v_1)=(g^*a_Z,f^*a_Z),\qquad(u_2,v_2)=(f a_X,g a_X), \tag*{(58)} ( u 1 , v 1 ) = ( g ∗ a Z , f ∗ a Z ) , ( u 2 , v 2 ) = ( f a X , g a X ) , (58)
so p = ∂ ( a Z , a X ) p=\partial(a_Z,a_X) p = ∂ ( a Z , a X ) , with a Z a_Z a Z and a X a_X a X the coefficients of the Z- and X-type checks, uniquely since R R R is a domain. Finally, Newt ( r s ) = Newt ( r ) + Newt ( s ) \operatorname{Newt}(rs)=\operatorname{Newt}(r)+\operatorname{Newt}(s) Newt ( r s ) = Newt ( r ) + Newt ( s ) for nonzero Laurent polynomials. The constant monomial lies in each of Newt( f ) (f) ( f ) , Newt( g ) (g) ( g ) , Newt( f ⋆ ) (f^\star) ( f ⋆ ) , and Newt( g ⋆ ) (g^\star) ( g ⋆ ) , since f f f and g g g have constant term 1 1 1 . Applied componentwise to ∂ a \partial a ∂ a , Newton-polytope multiplicativity therefore gives
Newt ( a Z ) ⊆ Newt ( g ⋆ a Z ) , Newt ( a X ) ⊆ Newt ( f a X ) , \operatorname{Newt}(a_Z) \subseteq\operatorname{Newt}(g^\star a_Z), \qquad\operatorname{Newt}(a_X) \subseteq\operatorname{Newt}(f a_X), Newt ( a Z ) ⊆ Newt ( g ⋆ a Z ) , Newt ( a X ) ⊆ Newt ( f a X ) ,
with zero components omitted. Hence supp a ⊆ conv ( supp ∂ a ) \operatorname{supp} a \subseteq\operatorname{conv}(\operatorname{supp}\partial a) supp a ⊆ conv ( supp ∂ a ) , proving Eq. (57) .
Zero-Ledger Exactness
Measure distance in complete period blocks, with the block ℓ ∞ \ell^\infty ℓ ∞ -metric on the lifted plane,
∥ ( i , j ) ∥ b l k = max { ∣ i ∣ l 0 , ∣ j ∣ m 0 } . \lVert(i,j)\rVert_{\mathrm{blk}}=\max\left\{\frac{|i|}{l_0},\frac{|j|}{m_0}\right\}. ∥( i , j ) ∥ blk = max { l 0 ∣ i ∣ , m 0 ∣ j ∣ } .
For a finite Laurent vector, supp below means its spatial support after forgetting the Pauli component. Let
r c h k = ⌈ max α ∈ supp ( f ) ∪ supp ( g ) ∪ supp ( f ⋆ ) ∪ supp ( g ⋆ ) ∥ α ∥ b l k ⌉ . r_{\mathrm{chk}}=\left\lceil\max_{\alpha\in\operatorname{supp}(f)\cup\operatorname{supp}(g)\cup\operatorname{supp}(f^\star)\cup\operatorname{supp}(g^\star)}\lVert\alpha\rVert_{\mathrm{blk}}\right\rceil. r chk = ⌈ α ∈ supp ( f ) ∪ supp ( g ) ∪ supp ( f ⋆ ) ∪ supp ( g ⋆ ) max ∥ α ∥ blk ⌉ .
Thus every pristine row is supported in the r c h k r_{\mathrm{chk}} r chk -neighborhood of its anchor. For either orientation and u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 , let E u E_u E u be the four removed-check anchors that are the endpoint syndrome of T 0 , u T_{0,u} T 0 , u , and put
r T = ⌈ max orientations , u ∈ Λ 0 [ max q ∈ supp T 0 , u d b l k ( q , conv E u ) ] ⌉ , r_T=\left\lceil\max_{\text{orientations},\,u\in\Lambda_0}\left[\max_{q\in\operatorname{supp}T_{0,u}}d_{\mathrm{blk}}(q,\operatorname{conv}E_u)\right]\right\rceil, r T = ⌈ orientations , u ∈ Λ 0 max [ q ∈ supp T 0 , u max d blk ( q , conv E u ) ] ⌉ ,
r i n c = r c h k + r T + 1. (59) r_{\mathrm{inc}}=r_{\mathrm{chk}}+r_T+1. \tag*{(59)} r inc = r chk + r T + 1. (59)
These are explicit finite-support maxima determined by f f f , g g g , l 0 l_0 l 0 , m 0 m_0 m 0 and the chosen longitudinal ribbons.
Lemma S14 (Open-path decomposition). Let Ω \Omega Ω be a convex block region of the lifted plane, and let p p p , supported in Ω \Omega Ω , commute with every pristine check other than the removed checks of one straight wall, and with that wall’s composites and its interblock rows between consecutive blocks along the whole wall. Suppose its removed-check patterns W j X , W j Z ∈ A W_j^X,W_j^Z\in A W j X , W j Z ∈ A obey ∑ j W j X = 0 \sum_j W_j^X=0 ∑ j W j X = 0 . Then:
(i) commutation with the composites gives
W j Z = Π ι W j X , (60) W_j^Z=\Pi_{\iota}W_j^X, \tag*{(60)} W j Z = Π ι W j X , (60) and the interblock product J J J with coefficient sequence Π ι q \Pi_{\iota}q Π ι q , q j = ∑ k ≤ j W k X q_j=\sum_{k\leq j}W_k^X q j = ∑ k ≤ j W k X , cancels both patterns, uses only interblock rows between consecutive blocks of the wall, and is supported in N r i n c ( Ω ) N_{r_{\mathrm{inc}}}(\Omega) N r inc ( Ω ) ;
(ii) p ′ = p J p'=pJ p ′ = p J commutes with every pristine check, and its compact filling a = ( a Z , a X ) a=(a_Z,a_X) a = ( a Z , a X ) of Lemma S13 is supported in N r i n c ( Ω ) N_{r_{\mathrm{inc}}}(\Omega) N r inc ( Ω ) ;
(iii) with A X ( j , u ) A_X(j,u) A X ( j , u ) and A Z ( j , u ) A_Z(j,u) A Z ( j , u ) the coefficients of a a a on the two removed checks, m j ( u ) = A X ( j , ι ( u ) ) + A Z ( j , u ) m_j(u)=A_X(j,\iota(u))+A_Z(j,u) m j ( u ) = A X ( j , ι ( u )) + A Z ( j , u ) is independent of j j j along the wall; if it vanishes on one block of the wall, p p p is a product of retained rows, composites and interblock rows, all supported in N r i n c + r c h k ( Ω ) N_{r_{\mathrm{inc}}+r_{\mathrm{chk}}}(\Omega) N r inc + r chk ( Ω ) .
Proof. An interblock product with coefficient sequence α \alpha α has removed-check syndromes W T X = d w Π ι α W_T^X=d_w\Pi_{\iota}\alpha W T X = d w Π ι α and W T Z = d w α W_T^Z=d_w\alpha W T Z = d w α . The cumulative sums obey ( d w q ) j = q j − 1 + q j = W j X (d_wq)_j=q_{j-1}+q_j=W_j^X ( d w q ) j = q j − 1 + q j = W j X and, because of the zero sum, vanish outside the extreme nonzero syndrome blocks (Lemma S11); on a wall of blocks 1 , … , N 1,\ldots,N 1 , … , N they sit on the internal block boundaries 1 , … , N − 1 1,\ldots,N-1 1 , … , N − 1 . So α = Π ι q \alpha=\Pi_{\iota}q α = Π ι q cancels both patterns by Eq. (60) . A removed check carrying nonzero syndrome lies within r c h k r_{\mathrm{chk}} r chk of supp p \operatorname{supp}p supp p , one further block reaches the adjacent interblock endpoints, and each interblock factor lies within r T r_T r T of the convex hull of its anchors; hence supp J ⊆ N r i n c ( Ω ) \operatorname{supp}J\subseteq N_{r_{\mathrm{inc}}}(\Omega) supp J ⊆ N r inc ( Ω ) , which is (i). Then p ′ p' p ′ commutes with every pristine check, and Lemma S13 places its filling in conv ( supp p ′ ) ⊆ N r i n c ( Ω ) \operatorname{conv}(\operatorname{supp}p')\subseteq N_{r_{\mathrm{inc}}}(\Omega) conv ( supp p ′ ) ⊆ N r inc ( Ω ) , a block neighbourhood of a convex set being convex; this is (ii). Interblock rows commute with one another, so p ′ p' p ′ still commutes with every interblock row of the wall, and the four endpoints of T j , u T_{j,u} T j , u give
A X ( j , ι ( u ) ) + A X ( j + 1 , ι ( u ) ) + A Z ( j , u ) + A Z ( j + 1 , u ) = 0 , A_X(j,\iota(u))+A_X(j+1,\iota(u))+A_Z(j,u)+A_Z(j+1,u)=0, A X ( j , ι ( u )) + A X ( j + 1 , ι ( u )) + A Z ( j , u ) + A Z ( j + 1 , u ) = 0 ,
that is, m j ( u ) = m j + 1 ( u ) m_j(u)=m_{j+1}(u) m j ( u ) = m j + 1 ( u ) . If m m m vanishes on one block it vanishes on every block of the wall, and the only removed checks are those at the wall, so every removed-row contribution to ∂ a \partial a ∂ a occurs as S j , ι ( u ) X S j , u Z = C j , ι ( u ) S^X_{j,\iota(u)}S^Z_{j,u}=C_{j,\iota(u)} S j , ι ( u ) X S j , u Z = C j , ι ( u ) , and every other row of the filling is a retained check. Every row lies within r c h k r_{\mathrm{chk}} r chk of supp a \operatorname{supp}a supp a ; restoring J J J proves (iii).
Theorem S1 (Zero-ledger exactness). On the infinite straight wall, the ledger map of Eq. (54) is injective on the compact local quotient H 0 l o c = Z c / S 0 , c \mathcal{H}^{\mathrm{loc}}_0=\mathcal{Z}_c/\mathcal{S}_{0,c} H 0 loc = Z c / S 0 , c of Eq. (56) :
ker ( ℓ : H 0 l o c ⟶ I e ) = 0. (61) \ker\left(\ell:\mathcal{H}^{\mathrm{loc}}_0\longrightarrow\mathcal{I}_e\right)=0. \tag*{(61)} ker ( ℓ : H 0 loc ⟶ I e ) = 0. (61) Equivalently, a compactly supported Pauli that centralizes every scaffold row — retained checks, composites and interblock rows — and has zero ledger is a finite product of scaffold rows.
Proof. On the infinite wall every interblock row is installed. Let p ∈ Z c p\in\mathcal{Z}_c p ∈ Z c obey ℓ ( p ) = 0 \ell(p)=0 ℓ ( p ) = 0 ; Lemma S14 applies with Ω = conv ( supp p ) \Omega=\operatorname{conv}(\operatorname{supp}p) Ω = conv ( supp p ) . The filling is compact, so m j ( u ) = 0 m_j(u)=0 m j ( u ) = 0 on blocks far from supp p \operatorname{supp}p supp p , and part (iii) gives p ∈ S 0 , c p\in\mathcal{S}_{0,c} p ∈ S 0 , c .
Buffered finite-wall windows. For a finite wall, let Ω o u t = N R ( Ω i n ) \Omega_{\mathrm{out}} = N_R(\Omega_{\mathrm{in}}) Ω out = N R ( Ω in ) be a radius-R R R neighborhood of a convex inner window and define
Z i n = { p : supp p ⊆ Ω i n , [ p , r ] = 0 for every r ∈ R 0 } , (62) Z_{\mathrm{in}} = \{p : \operatorname{supp} p \subseteq\Omega_{\mathrm{in}},\ [p,r] = 0 \text{ for every } r \in\mathcal{R}_0\}, \tag*{(62)} Z in = { p : supp p ⊆ Ω in , [ p , r ] = 0 for every r ∈ R 0 } , (62)
S i n , o u t = { ∏ r ∈ F r : F ⊆ R 0 finite , supp r ⊆ Ω o u t for all r ∈ F , supp ( ∏ r ∈ F r ) ⊆ Ω i n } , (63) S_{\mathrm{in,out}} = \left\{ \prod_{r \in F} r : F \subseteq\mathcal{R}_0 \text{ finite},\ \operatorname{supp} r \subseteq\Omega_{\mathrm{out}} \text{ for all } r \in F,\ \operatorname{supp}\left(\prod_{r \in F} r\right) \subseteq\Omega_{\mathrm{in}} \right\}, \tag*{(63)} S in , out = { r ∈ F ∏ r : F ⊆ R 0 finite , supp r ⊆ Ω out for all r ∈ F , supp ( r ∈ F ∏ r ) ⊆ Ω in } , (63)
K i n , o u t = Z i n / S i n , o u t . (64) K_{\mathrm{in,out}} = Z_{\mathrm{in}}/S_{\mathrm{in,out}}. \tag*{(64)} K in , out = Z in / S in , out . (64)
Corollary S1. Put
R 0 = 2 r c h k + r T + 1. (65) R_0 = 2r_{\mathrm{chk}} + r_T + 1. \tag*{(65)} R 0 = 2 r chk + r T + 1. (65) Then whenever R ≥ R 0 R \ge R_0 R ≥ R 0 and Ω o u t = N R ( Ω i n ) \Omega_{\mathrm{out}} = N_R(\Omega_{\mathrm{in}}) Ω out = N R ( Ω in ) lies in the straight-wall interior without wrapping around the torus,
ker ( ℓ : K i n , o u t ⟶ I e ) = 0. (66) \ker(\ell: K_{\mathrm{in,out}} \longrightarrow I_e) = 0. \tag*{(66)} ker ( ℓ : K in , out ⟶ I e ) = 0. (66)
Proof. Lift the non-wrapping window to the plane. A zero-ledger element of Z i n Z_{\mathrm{in}} Z in meets the hypotheses of Lemma S14 with Ω = Ω i n \Omega= \Omega_{\mathrm{in}} Ω = Ω in ; its filling lies in N r i n c ( Ω i n ) N_{r_{\mathrm{inc}}}(\Omega_{\mathrm{in}}) N r inc ( Ω in ) , inside the straight-wall interior, so it vanishes on the end blocks of the wall and m j m_j m j vanishes there. Part (iii) places the whole scaffold decomposition in N r i n c + r c h k ( Ω i n ) = N R 0 ( Ω i n ) N_{r_{\mathrm{inc}}+r_{\mathrm{chk}}}(\Omega_{\mathrm{in}}) = N_{R_0}(\Omega_{\mathrm{in}}) N r inc + r chk ( Ω in ) = N R 0 ( Ω in ) .
Lemma S15 (The wall trace, and the summed interblock obstruction). For a compact Laurent polynomial F F F define the wall trace
Tr z ( F ) = ∑ n ∈ Z tr ( z n F ) . (67) \operatorname{Tr}_z(F) = \sum_{n \in\mathbb{Z}} \operatorname{tr}(z^n F). \tag*{(67)} Tr z ( F ) = n ∈ Z ∑ tr ( z n F ) . (67) (i) The sum is finite and satisfies Tr z ( z k F ) = Tr z ( F ) \operatorname{Tr}_z(z^k F) = \operatorname{Tr}_z(F) Tr z ( z k F ) = Tr z ( F ) and Tr z ( F ⋆ ) = Tr z ( F ) \operatorname{Tr}_z(F^\star) = \operatorname{Tr}_z(F) Tr z ( F ⋆ ) = Tr z ( F ) ; in particular Tr z ( F ) + Tr z ( F ⋆ ) = 0 \operatorname{Tr}_z(F) + \operatorname{Tr}_z(F^\star) = 0 Tr z ( F ) + Tr z ( F ⋆ ) = 0 over F 2 \mathbb{F}_2 F 2 .
(ii) Let P = ( a , b ∣ κ b ⋆ , κ a ⋆ ) P = (a,b \mid\kappa b^\star,\kappa a^\star) P = ( a , b ∣ κ b ⋆ , κ a ⋆ ) be any compact Pauli in the affine form of Eq. (28) , write r p e r = ( h , v ) r_{\mathrm{per}} = (h,v) r per = ( h , v ) and put K P = a v + b h K_P = av + bh K P = a v + bh . Then for every interblock label u u u the interblock commutators of P P P sum to zero:
∑ j ∈ Z ⟨ P , T j , u ⟩ = Tr z ( u ^ ⋆ K P ) + Tr z ( u ^ K P ⋆ ) = 0. (68) \sum_{j \in\mathbb{Z}} \langle P,T_{j,u}\rangle= \operatorname{Tr}_z(\widehat{u}^{\star}K_P) + \operatorname{Tr}_z(\widehat{u}K_P^\star) = 0. \tag*{(68)} j ∈ Z ∑ ⟨ P , T j , u ⟩ = Tr z ( u ⋆ K P ) + Tr z ( u K P ⋆ ) = 0. (68) Proof. Only finitely many z n F z^nF z n F have a constant term, and Tr z ( z k F ) \operatorname{Tr}_z(z^kF) Tr z ( z k F ) reindexes the sum; since tr ( z n F ⋆ ) = tr ( z − n F ) \operatorname{tr}(z^nF^\star) = \operatorname{tr}(z^{-n}F) tr ( z n F ⋆ ) = tr ( z − n F ) the antipode reverses the summation order, giving (i). For (ii), expanding the symplectic pairing with Eq. (45) and summing over interblock translates gives Tr z ( u ^ ⋆ K P ) + Tr z [ ι d ( u ^ ) ⋆ κ K P ⋆ ] \operatorname{Tr}_z(\widehat{u}^{\star}K_P) + \operatorname{Tr}_z[\iota_d(\widehat{u})^\star\kappa K_P^\star] Tr z ( u ⋆ K P ) + Tr z [ ι d ( u ) ⋆ κ K P ⋆ ] , and Eq. (29) with κ ⋆ κ = 1 \kappa^\star\kappa= 1 κ ⋆ κ = 1 turns the second term into Tr z ( F ⋆ ) \operatorname{Tr}_z(F^\star) Tr z ( F ⋆ ) for F = u ^ ⋆ K P F = \widehat{u}^{\star}K_P F = u ⋆ K P ; apply (i).
Theorem S2 (Uniform affine patch lift). With Z c Z_c Z c the compactly supported Paulis centralizing every scaffold row, I e = ( f ⋆ , g ⋆ ) A I_e = (f^\star,g^\star)A I e = ( f ⋆ , g ⋆ ) A , and ℓ \ell ℓ the ledger map of Eq. (54) , there is a linear map
Γ : I e ⟶ Z c , h ⟼ M ( h ) , ℓ Γ = id I e , (69) \Gamma: I_e \longrightarrow Z_c,\qquad h \longmapsto M(h),\qquad\ell\Gamma= \operatorname{id}_{I_e}, \tag*{(69)} Γ : I e ⟶ Z c , h ⟼ M ( h ) , ℓ Γ = id I e , (69) and a radius r l i f t r_{\mathrm{lift}} r lift , depending only on f , g , l 0 , m 0 f,g,l_0,m_0 f , g , l 0 , m 0 and the chosen period ribbons and not on the wall length, such that supp M ( h ) \operatorname{supp} M(h) supp M ( h ) lies within r l i f t r_{\mathrm{lift}} r lift of the wall carrier for every h ∈ I e h \in I_e h ∈ I e . Every block translate z j M ( h ) z^jM(h) z j M ( h ) is anchored by the same global Laurent origin and the same affine convention Eq. (28) as M ( h ) M(h) M ( h ) itself.
Proof. The construction is explicit, and its three choices are fixed once, since the endpoint constants and the witness of Proposition S2 are computed from this family.
Basis. Order the standard monomials x i y j x^i y^j x i y j of A = R / ( 1 + z , 1 + w ) A = R/(1+z,1+w) A = R / ( 1 + z , 1 + w ) lexicographically in ( i , j ) (i,j) ( i , j ) and row-reduce ( f ⋆ , g ⋆ ) : A 2 → A (f^\star,g^\star): A^2 \to A ( f ⋆ , g ⋆ ) : A 2 → A , the f ⋆ f^\star f ⋆ -columns first: ξ ν \xi_\nu ξ ν is the reduced echelon basis of I e I_e I e , and ( a ˉ ν , b ˉ ν ) (\bar a_\nu,\bar b_\nu) ( a ˉ ν , b ˉ ν ) expresses ξ ν \xi_\nu ξ ν in the pivot columns. For h = ∑ ν h ν ξ ν h = \sum_\nu h_\nu\xi_\nu h = ∑ ν h ν ξ ν put M ( h ) = ∏ ν M ν h ν M(h) = \prod_\nu M_\nu^{h_\nu} M ( h ) = ∏ ν M ν h ν , with M ν M_\nu M ν built below.
Lift. Since J p e r ⊆ ⟨ f ⋆ , g ⋆ ⟩ J_{\mathrm{per}} \subseteq\langle f^\star,g^\star\rangle J per ⊆ ⟨ f ⋆ , g ⋆ ⟩ , finite Laurent division, first by 1 + z 1+z 1 + z and then by 1 + w 1+w 1 + w with remainders in the fundamental interval, gives ξ ˉ ν + f ⋆ a ˉ ν + g ⋆ b ˉ ν = U ν ( 1 + z ) + V ν ( 1 + w ) \bar{\xi}_\nu+ f^\star\bar a_\nu+ g^\star\bar b_\nu= U_\nu(1+z) + V_\nu(1+w) ξ ˉ ν + f ⋆ a ˉ ν + g ⋆ b ˉ ν = U ν ( 1 + z ) + V ν ( 1 + w ) . With the period ribbons f ⋆ h + g ⋆ v = 1 + z f^\star h + g^\star v = 1+z f ⋆ h + g ⋆ v = 1 + z and f ⋆ c + g ⋆ d = 1 + w f^\star c + g^\star d = 1+w f ⋆ c + g ⋆ d = 1 + w , put a ν = a ˉ ν + U ν h + V ν c a_\nu= \bar a_\nu+ U_\nu h + V_\nu c a ν = a ˉ ν + U ν h + V ν c and b ν = b ˉ ν + U ν v + V ν d b_\nu= \bar b_\nu+ U_\nu v + V_\nu d b ν = b ˉ ν + U ν v + V ν d , so that ξ ˉ ν = f ⋆ a ν + g ⋆ b ν \bar{\xi}_\nu= f^\star a_\nu+ g^\star b_\nu ξ ˉ ν = f ⋆ a ν + g ⋆ b ν , and define, in the component ordering (S1), the matched provisional operator
M ν ( 0 ) = ( a ν , b ν ∣ κ b ν ⋆ , κ a ν ⋆ ) . (70) M_\nu^{(0)} = (a_\nu,b_\nu\mid\kappa b_\nu^\star,\kappa a_\nu^\star). \tag*{(70)} M ν ( 0 ) = ( a ν , b ν ∣ κ b ν ⋆ , κ a ν ⋆ ) . (70)
Its electric syndrome is ξ ˉ ν \bar{\xi}_\nu ξ ˉ ν , and its magnetic syndrome is g κ b ν ⋆ + f κ a ν ⋆ = κ ξ ν ⋆ = ℓ ( ξ ν ) g\kappa b_\nu^\star+ f\kappa a_\nu^\star= \kappa\xi_\nu^\star= \ell(\xi_\nu) g κ b ν ⋆ + f κ a ν ⋆ = κ ξ ν ⋆ = ℓ ( ξ ν ) , so it has no retained-check syndrome, commutes with every composite and has ledger ξ ν \xi_\nu ξ ν . Dressing. M ν ( 0 ) M_{\nu}^{(0)} M ν ( 0 ) has the affine form of Lemma S15(ii), so for every u u u its interblock commutators t ν , u ( j ) = ⟨ M ν ( 0 ) , T j , u ⟩ t_{\nu,u}(j)=\langle M_{\nu}^{(0)},T_{j,u}\rangle t ν , u ( j ) = ⟨ M ν ( 0 ) , T j , u ⟩ sum to zero and q ν , u ( j ) = ∑ k < j t ν , u ( k ) q_{\nu,u}(j)=\sum_{k<j}t_{\nu,u}(k) q ν , u ( j ) = ∑ k < j t ν , u ( k ) has finite support. The removed-check dressing
M ν = M ν ( 0 ) ∏ j , u ( S j , ι ( u ) X ) q ν , u ( j ) (71) M_{\nu}=M_{\nu}^{(0)}\prod_{j,u}\left(S^{X}_{j,\iota(u)}\right)^{q_{\nu,u}(j)} \tag*{(71)} M ν = M ν ( 0 ) j , u ∏ ( S j , ι ( u ) X ) q ν , u ( j ) (71)
cancels them; removed pristine checks commute with retained rows and composites and carry zero ledger, so M ν ∈ Z c M_{\nu}\in\mathcal{Z}_{c} M ν ∈ Z c with ℓ ( M ν ) = ξ ν \ell(M_{\nu})=\xi_{\nu} ℓ ( M ν ) = ξ ν . Each step is a finite operation on fixed data, which gives the uniform radius r l i f t r_{\mathrm{lift}} r lift .
Corollary S2 (Straight-wall local exactness). Let Ω i n \Omega_{\mathrm{in}} Ω in be a convex inner window and Ω o u t = N R ( Ω i n ) \Omega_{\mathrm{out}}=N_{R}(\Omega_{\mathrm{in}}) Ω out = N R ( Ω in ) with R ≥ R 0 R\geq R_{0} R ≥ R 0 of Eq. (65) , lifting without wrapping into the straight-wall interior, and assume Ω i n \Omega_{\mathrm{in}} Ω in contains a translate of each reference patch support together with its bounded translation certificate. Then
ℓ : K i n , o u t → ∼ I e , z M ( h ) = M ( h ) ( m o d S 0 ) . (72) \ell:\mathcal{K}_{\mathrm{in,out}}\xrightarrow{\sim}\mathcal{I}_{e},\qquad zM(h)=M(h)\pmod{S_{0}}. \tag*{(72)} ℓ : K in , out ∼ I e , z M ( h ) = M ( h ) ( mod S 0 ) . (72) The l 0 m 0 − Q l_{0}m_{0}-Q l 0 m 0 − Q patch classes associated with a basis of I e \mathcal{I}_{e} I e are independent, their translates admit a mutually commuting Hermitian lift, and every compact Pauli centralizing the completed infinite-wall rows is, up to scalar phase, a finite product of those rows. On a naturally terminated finite wall the same conclusions hold for Paulis supported in such an interior window, provided the rows used are installed there in the sense of Definition S4; the finite-window form actually used later states its own conditions, those of a crossing window (Definition S12).
Bounded support. Moreover the translation relation in Eq. (72) admits a bounded scaffold certificate: for each h ∈ I e h\in\mathcal{I}_{e} h ∈ I e there is a finite set C ( h ) \mathcal{C}(h) C ( h ) of scaffold rows with
z M ( h ) M ( h ) = ∏ r ∈ C ( h ) r (73) zM(h)M(h)=\prod_{r\in\mathcal{C}(h)}r \tag*{(73)} z M ( h ) M ( h ) = r ∈ C ( h ) ∏ r (73)
every member of which is supported in a uniform neighborhood of supp M ( h ) ∪ supp z M ( h ) \operatorname{supp}M(h)\cup\operatorname{supp}zM(h) supp M ( h ) ∪ supp z M ( h ) , with a bound depending only on the code, the chosen period ribbons and the fixed patch family, and not on the wall length.
Proof. Surjectivity follows from Eq. (69) , injectivity from Corollary S1, and ℓ ( z M ( h ) M ( h ) ) = 0 \ell(zM(h)M(h))=0 ℓ ( z M ( h ) M ( h )) = 0 gives the translation relation by Theorem S1. The proof of Corollary S1 bounds the factors around conv ( supp M ( h ) ∪ supp z M ( h ) ) \operatorname{conv}(\operatorname{supp}M(h)\cup\operatorname{supp}zM(h)) conv ( supp M ( h ) ∪ supp z M ( h )) ; a finite maximum over the fixed patch family gives Eq. (73) , uniformly in wall length. For h , h ′ ∈ I e h,h'\in\mathcal{I}_{e} h , h ′ ∈ I e , set b n = ⟨ M ( h ) , z n M ( h ′ ) ⟩ b_n=\langle M(h),z^nM(h')\rangle b n = ⟨ M ( h ) , z n M ( h ′ )⟩ . The relation z n + 1 M ( h ′ ) z n M ( h ′ ) ∈ S 0 z^{n+1}M(h')z^nM(h')\in S_0 z n + 1 M ( h ′ ) z n M ( h ′ ) ∈ S 0 and scaffold centrality give b n + 1 = b n b_{n+1}=b_n b n + 1 = b n . For sufficiently large ∣ n ∣ |n| ∣ n ∣ the supports are disjoint, so b n = 0 b_n=0 b n = 0 for every n n n ; all patch classes and their translates commute. Choose phases coherently on an independent binary basis. Finally, a compact completed-wall centralizer p p p has ℓ ( p ) ∈ I e \ell(p)\in\mathcal{I}_{e} ℓ ( p ) ∈ I e by Lemma S12. Write ℓ ( p ) = ∑ a λ a h a \ell(p)=\sum_a\lambda_a h_a ℓ ( p ) = ∑ a λ a h a in the basis and set M ~ = ∏ a ( z j a M ( h a ) ) λ a \widetilde{M}=\prod_a(z^{j_a}M(h_a))^{\lambda_a} M = ∏ a ( z j a M ( h a ) ) λ a , each factor a translate available in the same admissible neighborhood. Since z M ( h ) = M ( h ) ( m o d S 0 ) zM(h)=M(h)\pmod{S_0} z M ( h ) = M ( h ) ( mod S 0 ) and ℓ \ell ℓ vanishes on S 0 S_0 S 0 , ℓ ( M ~ ) = ℓ ( p ) \ell(\widetilde{M})=\ell(p) ℓ ( M ) = ℓ ( p ) , so p M ~ p\widetilde{M} p M has zero ledger and is, up to scalar phase, a scaffold product by Theorem S1.
We fix here, once for the whole paper, which rows a finite wall carries.
Natural Termination
Definition S4 (Natural termination). Fix once a basis h 1 , … , h l 0 m 0 − Q h_1,\ldots,h_{l_0m_0-Q} h 1 , … , h l 0 m 0 − Q of I e \mathcal{I}_{e} I e and, for each a a a , one finite bounded scaffold certificate C a \mathcal{C}_a C a for the translation relation z M ( h a ) M ( h a ) zM(h_a)M(h_a) z M ( h a ) M ( h a ) , supplied by the bounded-support clause of Corollary S2, Eq. (73) , so that z M ( h a ) M ( h a ) = ∏ r ∈ C a r zM(h_a)M(h_a)=\prod_{r\in\mathcal{C}_a}r z M ( h a ) M ( h a ) = ∏ r ∈ C a r in the binary Pauli space. Write P a = { M ( h a ) , z M ( h a ) } ∪ C a \mathcal{P}_a=\{M(h_a),zM(h_a)\}\cup\mathcal{C}_a P a = { M ( h a ) , z M ( h a )} ∪ C a for the typed translation package, and A a ⊂ Z A_a\subset\mathbb{Z} A a ⊂ Z for the finite set of longitudinal block offsets met by its supports and by its required scaffold-row carriers, relative to carrier exponent 0 0 0 , an interblock row being counted in both blocks it joins. A finite wall whose blocks carry exponents 0 , … , N − 1 0,\ldots,N-1 0 , … , N − 1 relative to its first block o o o is naturally terminated when its C C C rows occupy that finite open path of complete period blocks, its T T T rows occupy the internal block boundaries of the path, and its installed patch rows are precisely the translates whose package fits in the wall,
M j , a = o z j M ( h a ) , j ∈ J a = { j ∈ Z : j + A a ⊆ { 0 , … , N − 1 } } . (74) M_{j,a}=o z^{j}M(h_a),\qquad j\in J_a=\{j\in\mathbb{Z}:j+A_a\subseteq\{0,\ldots,N-1\}\}. \tag*{(74)} M j , a = o z j M ( h a ) , j ∈ J a = { j ∈ Z : j + A a ⊆ { 0 , … , N − 1 }} . (74) No additional endpoint row is postulated, and no other translate is installed. For wall s s s of a configuration we write o s o_s o s , N s N_s N s and J s , a J_{s,a} J s , a .
Weights are bounded but depend on the realization: for one admissible choice for B B ( 1 , 1 , 3 , 1 ) \mathrm{BB}(1,1,3,1) BB ( 1 , 1 , 3 , 1 ) the retained pristine checks have weight 6, the composites at most 12, the interblock rows at most 24, a bound attained, and the patch rows at most 20.
The Toric-Code Limit
In the toric code, f = 1 + x f = 1 + x f = 1 + x and g = 1 + y g = 1 + y g = 1 + y , so Q = 1 Q = 1 Q = 1 and l 0 = m 0 = 1 l_0 = m_0 = 1 l 0 = m 0 = 1 : a block is a single cell, ι \iota ι is the identity, there are no patch operators, and the duality exchanges e e e and m m m . Draw the cell x i y j x^iy^j x i y j as a unit square with its qubits on its top and right edges; S Z S^Z S Z is then the plaquette of the square and S X S^X S X the star at its upper-right corner, and the composite C i C_i C i is a star times the plaquette below and to its left. The single-edge solution ( h , v ) = ( x , 0 ) (h,v) = (x,0) ( h , v ) = ( x , 0 ) of the longitudinal period equation makes each interblock row two-body,
T i = X a i Z b i , (75) T_i = X_{a_i}Z_{b_i}, \tag*{(75)} T i = X a i Z b i , (75)
on the two edges a i a_i a i and b i b_i b i that meet at a vertex of the wall’s upper boundary Figure S6 .
Figure S6. Reduction of the toric-code wall to the defect line of Ref. [44 ] (Sec. SIII E), followed on the composite C 2 C_2 C 2 and the plaquette S 4 S_4 S 4 above the wall. Blue, green and violet mark X X X , Z Z Z and Y Y Y ; grey cells are wall blocks, and hollow vertices carry no separate star. In (c) and (d) the dotted line carries no qubit; in (d) the upper half is offset by half a spacing, as in Fig. 1 of Ref. [44 ] rotated by 90 ∘ 90^\circ 9 0 ∘ .
Figure S6 turns this wall into the defect line of Kitaev and Kong [44 ] in three steps. Every check commutes with T i T_i T i , and T i = + 1 T_i = +1 T i = + 1 locks the pair: X a i X_{a_i} X a i and Z b i Z_{b_i} Z b i read the same value, so a check that flips one reading flips the other. Once every check with a Z Z Z component on b i b_i b i is multiplied by T i T_i T i , the edge b i b_i b i enters only through such joint flips and is dropped. Renaming Y Y Y as Z Z Z on each a i a_i a i then gives, up to sign and a rotation, the line checks C 2 , 5 , 3 ∣ 7 C_{2,5,3|7} C 2 , 5 , 3∣7 and D 3 ∣ 7 , 8 , 9 D_{3|7,8,9} D 3∣7 , 8 , 9 of Ref. [44 Eq. (5)] , on a lattice whose line carries no qubits, and for a wall wrapping a sufficiently large torus the code space of the wall is that of the line on the same torus.
The toric code does not need the transverse normalization (S36) that the general construction fixes: the two-body wall lies outside Theorem S8, and its transmission e ↔ m e \leftrightarrow m e ↔ m is that of Ref. [44 ] . On a finite wall of at least two blocks with natural termination (Definition S4) the two terminal composites become five-body checks at the two ends of the reduced line.
Non-Abelian Twists
A wall that exchanges e e e and m m m must stop somewhere, and where it stops the exchange has nowhere to go. That terminal point is the twist σ \sigma σ , and this section proves, for the lattice operator algebra, that it is genuinely non-Abelian in three steps. It absorbs an entire group of anyons without changing: the invariant channels ϵ a = m a e a \epsilon_a = m_a e_a ϵ a = m a e a of Lemma S16. It carries no logical degree of freedom: every Pauli in an endpoint window that commutes with the Hamiltonian is, up to phase, a product of completed rows (Theorem S6). And for n p a i r n_{\mathrm{pair}} n pair twist pairs on a completed torus, in the configurations specified below,
k ( H f i n ) − k ( H b u l k ) = ( n p a i r − 1 ) Q . k(H_{\mathrm{fin}})-k(H_{\mathrm{bulk}})=(n_{\mathrm{pair}}-1)Q. k ( H fin ) − k ( H bulk ) = ( n pair − 1 ) Q .
with the pair-loop and transfer algebra of Sec. SIV C — the loops and transfer strings that read and shift a pair’s charge — acting irreducibly on the resulting 2 ( n p a i r − 1 ) Q 2^{(n_{\mathrm{pair}}-1)Q} 2 ( n pair − 1 ) Q -dimensional space, with no leftover sector (Theorems S5 and S3).
Two qualifications belong at the outset. The twist is an extrinsic defect: it is the endpoint of a wall rather than a deconfined finite-energy excitation, it does not appear in the label set V e ⊕ V m V_e\oplus V_m V e ⊕ V m of Sec. SI B, and the bulk order of the completed model is still the Abelian order of the pristine code. Accordingly “non-Abelian” refers throughout to the fusion and endpoint algebra of the defects, in the sense made precise by Theorems S5 and S4, and not to a change of topological phase [52 , 59 ] .
The affine duality reaches the twists through the wall construction — the interblock anchoring ι ( u ) = κ u ⋆ \iota(u)=\kappa u^\star ι ( u ) = κ u ⋆ of Eq. (45) , which makes ϵ a = m a e a ι \epsilon_a=m_a e_a\iota ϵ a = m a e a ι absorbable — and not through the transmitted-label relation. For the standard configurations Theorem S5 assumes, which exist for every n p a i r n_{\mathrm{pair}} n pair (Sec. SIV B), let F n \mathcal{F}_n F n be the wall-induced factor of that theorem. Throughout, and in the Letter, the operational quantum dimension of a twist means the per-twist growth rate
d σ o p = lim n → ∞ ( dim F n ) 1 / ( 2 n ) = lim n → ∞ 2 ( n − 1 ) Q / ( 2 n ) = 2 Q / 2 . d_{\sigma}^{\mathrm{op}}=\lim_{n\to\infty}\left(\dim\mathcal{F}_n\right)^{1/(2n)}
=\lim_{n\to\infty}2^{(n-1)Q/(2n)}=2^{Q/2}. d σ op = n → ∞ lim ( dim F n ) 1/ ( 2 n ) = n → ∞ lim 2 ( n − 1 ) Q / ( 2 n ) = 2 Q /2 .
This operational statement uses Theorem S5 and its geometric hypotheses; Corollary S4 identifies it with the categorical quantum dimension.
The counting in this section is binary: it asks only whether two operators commute, never by what phase, and needs no phase convention. Section SIV G reconstructs charge sectors from the pair-loop and transfer algebra and identifies them with fusion channels.
Setting for this section. The global results of Sec. SIV hold in a standard configuration (Definition S6) and state only the hypotheses that go beyond it; the local results state their own windows, and Proposition S1 states its own geometry.
Absorbable Channels and Exact Caps
The endpoint of the duality wall is the twist σ \sigma σ . It carries no Abelian label of its own and is characterized instead by what it can swallow. An anyon carried once around the endpoint crosses the wall an odd number of times and comes back acted on by the duality D l a b D_{\mathrm{lab}} D lab [Figure S3 ]; it can therefore return to itself only if it is D l a b D_{\mathrm{lab}} D lab -invariant. The invariant combinations are exactly
ϵ a = m a e a ι , a ∈ V m , \epsilon_a=m_a e_a\iota,\qquad a\in V_m, ϵ a = m a e a ι , a ∈ V m ,
so there are ∣ V m ∣ = 2 Q |V_m|=2^Q ∣ V m ∣ = 2 Q of them. Equivalently, they are exactly the pairs ( A 1 , A 2 ) ∈ V m ⊕ V e (A_1,A_2)\in V_m\oplus V_e ( A 1 , A 2 ) ∈ V m ⊕ V e with B ( A 1 , X ′ ) = B ( X , A 2 ) \mathcal{B}(A_1,X^\prime)=\mathcal{B}(X,A_2) B ( A 1 , X ′ ) = B ( X , A 2 ) for all X ∈ V m X\in V_m X ∈ V m , for which the magnetic and the electric loop of one test label read the same sign (Eq. (33) and Lemma S4). Here 2 Q 2^Q 2 Q counts absorbable channels; that the same number reappears as d σ 2 d_\sigma^2 d σ 2 is proved in Sec. SIV G, not a restatement. Charges are read by closed loops, which evaluate syndrome and not crossings: by Lemma S2 a Pauli p p p changes the eigenvalue of a loop with filling A A A by ( − 1 ) tr ( A T δ p ) (-1)^{\operatorname{tr}(A^\mathsf{T}\delta p)} ( − 1 ) tr ( A T δ p ) , which is defined although the ribbons are thick and crossing numbers are not. For the period-reactive fillings of Sec. SIV B, with a syndrome cluster deep inside the filling and all others outside it, this sign is a character of the enclosed charge (Lemma S19). A cap carries ϵ a \epsilon_a ϵ a from far away and deposits it on the endpoint; the construction below is exact , creating no excitation apart from its two ends.
Exact Caps at a Natural Endpoint
Lemma S16 (Exact linear endpoint caps). *Use the fixed orientation, the affine block involution ι \iota ι , the longitudinal period ribbon r p e r = ( h , v ) r_{\mathrm{per}}=(h,v) r per = ( h , v ) with f ⋆ h + g ⋆ v = 1 + z f^\star h+g^\star v=1+z f ⋆ h + g ⋆ v = 1 + z and the patch family of Theorem S2, and, fix once, for the whole paper, a linear label section s m : V m → A s_m:V_m\to A s m : V m → A . Write r p e r ⋆ = ( v ⋆ , h ⋆ ) r^\star_{\mathrm{per}}=(v^\star,h^\star) r per ⋆ = ( v ⋆ , h ⋆ ) , A = s m ( a ) A=s_m(a) A = s m ( a ) , A ′ = ι ( s m ( a ) ) = κ A T A^\prime=\iota(s_m(a))=\kappa A^\mathsf{T} A ′ = ι ( s m ( a )) = κ A T and S R ( z ) = 1 + z + ⋯ + z R − 1 S_R(z)=1+z+\cdots+z^{R-1} S R ( z ) = 1 + z + ⋯ + z R − 1 for R ≥ 1 R\geq1 R ≥ 1 . Use the natural finite patch with r p e r r_{\mathrm{per}} r per translated and index its blocks b 1 , … , b N b_1,\ldots,b_N b 1 , … , b N . Provided the indicated exterior block is pristine and the resulting fixed endpoint collar does not meet another endpoint, define
E L , a = Z [ z − R A T S R ( z ) ( h , v ) ] X [ z 1 − R A S R ( z ) ( v ⋆ , h ⋆ ) ] , E_{L,a}=Z\left[z^{-R}A^\mathsf{T}S_R(z)(h,v)\right]X\left[z^{1-R}AS_R(z)(v^\star,h^\star)\right], E L , a = Z [ z − R A T S R ( z ) ( h , v ) ] X [ z 1 − R A S R ( z ) ( v ⋆ , h ⋆ ) ] , E R , a = Z [ z − N − 1 A T S R ( z ) ( h , v ) ] X [ z N A S R ( z ) ( v ⋆ , h ⋆ ) ] . E_{R,a}=Z\left[z^{-N-1}A^\mathsf{T}S_R(z)(h,v)\right]X\left[z^NAS_R(z)(v^\star,h^\star)\right]. E R , a = Z [ z − N − 1 A T S R ( z ) ( h , v ) ] X [ z N A S R ( z ) ( v ⋆ , h ⋆ ) ] .
Then the exact pristine syndromes are
δ E L , a = ( A ι ( z − R + 1 ) , A ( z − R + 1 ) ) , (76) \delta E_{L,a}=\left(A^{\iota}(z^{-R}+1),A(z^{-R}+1)\right), \tag*{(76)} δ E L , a = ( A ι ( z − R + 1 ) , A ( z − R + 1 ) ) , (76)
δ E R , a = ( z N − 1 A ι ( 1 + z R ) , z N − 1 A ( 1 + z R ) ) , (77) \delta E_{R,a}=\left(z^{N-1}A^{\iota}(1+z^{R}),z^{N-1}A(1+z^{R})\right), \tag*{(77)} δ E R , a = ( z N − 1 A ι ( 1 + z R ) , z N − 1 A ( 1 + z R ) ) , (77)
so for a ≠ 0 a\ne0 a = 0 each cap has exactly one terminal cluster ( e a ι , m a ) (e_{a^{\iota}},m_a) ( e a ι , m a ) , exactly one corresponding remote bulk cluster, and no other pristine syndrome.
At the terminal block these two exact check patterns are paired coefficientwise by the composites, so every composite has zero commutator with the cap; the caps also commute with every internal interblock row and every installed patch translate, with no dressing by removed checks. The construction is F 2 \mathbb{F}_2 F 2 -linear in a a a , up to the scalar phase convention for Pauli representatives; E s , a E_{s,a} E s , a denotes the cap at endpoint s s s .
Proof. Put c = s m ( a ) = ∑ u a u u c=s_m(a)=\sum_u a_u u c = s m ( a ) = ∑ u a u u , and write ≐ \doteq ≐ for equality modulo Pauli phase. From Eq. (45) and ι ( c ) = A ι \iota(c)=A^{\iota} ι ( c ) = A ι ,
∏ j = p q ∏ u ∈ Λ 0 T j , u a u ≐ Z [ A ι ( ∑ j = p q z j − 1 ) ( h , v ) ] X [ A ( ∑ j = p q z j ) ( v ⋆ , h ⋆ ) ] . \prod_{j=p}^{q}\prod_{u\in\Lambda_0}T^{a_u}_{j,u}\doteq Z\left[A^{\iota}\left(\sum_{j=p}^{q}z^{j-1}\right)(h,v)\right]X\left[A\left(\sum_{j=p}^{q}z^j\right)(v^\star,h^\star)\right]. j = p ∏ q u ∈ Λ 0 ∏ T j , u a u ≐ Z [ A ι ( j = p ∑ q z j − 1 ) ( h , v ) ] X [ A ( j = p ∑ q z j ) ( v ⋆ , h ⋆ ) ] .
Consequently
E L , a ≐ ∏ j = 1 − R 0 ∏ u T j , u a u , E R , a ≐ ∏ j = N N + R − 1 ∏ u T j , u a u . (78) E_{L,a}\doteq\prod_{j=1-R}^{0}\prod_{u}T^{a_u}_{j,u},\qquad E_{R,a}\doteq\prod_{j=N}^{N+R-1}\prod_{u}T^{a_u}_{j,u}. \tag*{(78)} E L , a ≐ j = 1 − R ∏ 0 u ∏ T j , u a u , E R , a ≐ j = N ∏ N + R − 1 u ∏ T j , u a u . (78)
Now g v ⋆ + f h ⋆ = ( f ⋆ h + g ⋆ v ) ⋆ = 1 + z − 1 gv^\star+fh^\star=(f^\star h+g^\star v)^\star=1+z^{-1} g v ⋆ + f h ⋆ = ( f ⋆ h + g ⋆ v ) ⋆ = 1 + z − 1 , while ( 1 + z ) S R ( z ) = 1 + z R (1+z)S_R(z)=1+z^R ( 1 + z ) S R ( z ) = 1 + z R , ( 1 + z − 1 ) S R ( z ) = z − 1 + z R − 1 (1+z^{-1})S_R(z)=z^{-1}+z^{R-1} ( 1 + z − 1 ) S R ( z ) = z − 1 + z R − 1 . Applying δ \delta δ to the two displayed cap formulas therefore gives exactly Eqs. (76) and (77) . Hence there are no other pristine syndromes. At either terminal block the electric pattern is A ι = ι ( c ) A^{\iota}=\iota(c) A ι = ι ( c ) and the magnetic pattern is A = c ^ A=\hat c A = c ^ ; since ι 2 = 1 \iota^2=1 ι 2 = 1 , their coefficients cancel pairwise on C j , u = S j , u X S j , ι ( u ) Z C_{j,u}=S^X_{j,u}S^Z_{j,\iota(u)} C j , u = S j , u X S j , ι ( u ) Z . The remote block is pristine, so these terms are precisely the stated terminal and bulk clusters.
By (1) and Lemma S9, each cap commutes with every internal interblock row. Moreover, Theorem S2 places every patch representative, and hence every translate of it, in the centralizer of the infinite scaffold; by (1), it therefore commutes with both caps. Finally, all displayed constructions are F 2 \mathbb{F}_2 F 2 -linear in c = s m ( a ) c=s_m(a) c = s m ( a ) , modulo Pauli phase.
Layout, Rectangles and Evaluation
This subsection fixes the standard configuration of walls and probes, the period rectangles and their fillings, and the evaluation lemmas used below; the pair-charge families are assembled in Sec. SIV C.
The Standard Configuration
The effective constants. Each constant listed below is a block radius or support count obtained by enumerating finite supports fixed by the code, the chosen period ribbons, the patch family and the certificates C a \mathcal{C}_a C a — not by ( f , g ) (f,g) ( f , g ) alone — so each is computable in finitely many steps and independent of the wall length; those two properties are all that is used below. Put
r ∗ = max { 1 , r r o w , r r i b , r A , r c l , r d e e p } , m = 8 r ∗ + 8 , R = 3 m , D s e p = 2 R + 4 r ∗ + 2 , N l e d = 2 r p k g + 3 , r_\ast=\max\{1,r_{\mathrm{row}},r_{\mathrm{rib}},r_A,r_{\mathrm{cl}},r_{\mathrm{deep}}\},\qquad m=8r_\ast+8,\qquad R=3m,\qquad D_{\mathrm{sep}}=2R+4r_\ast+2,\qquad N_{\mathrm{led}}=2r_{\mathrm{pkg}}+3, r ∗ = max { 1 , r row , r rib , r A , r cl , r deep } , m = 8 r ∗ + 8 , R = 3 m , D sep = 2 R + 4 r ∗ + 2 , N led = 2 r pkg + 3 ,
with r p k g r_{\mathrm{pkg}} r pkg the package radius of Eq. (97) , so that max A a − min A a ≤ 2 r p k g \max A_a-\min A_a\le2r_{\mathrm{pkg}} max A a − min A a ≤ 2 r pkg for every offset set of Definition S4; and let R l e d = max { R 0 , r l i f t , r r e l , r r o w , r C , r T , r c h k } R_{\mathrm{led}}=\max\{R_0,r_{\mathrm{lift}},r_{\mathrm{rel}},r_{\mathrm{row}},r_C,r_T,r_{\mathrm{chk}}\} R led = max { R 0 , r lift , r rel , r row , r C , r T , r chk } , which bounds every row and bounded relation used in the ledger collars.
r r o w r_{\mathrm{row}} r row , every composite, interblock and patch row, from its carrier; r r i b r_{\mathrm{rib}} r rib , the support of every basis-labelled period-ribbon copy, from its block edge; s r i b s_{\mathrm{rib}} s rib , the qubit count of a one-period labelled piece; r A r_A r A , the support of B Δ + B\Delta^+ B Δ + for every basis label and the plateau depths of Lemma S19; r c l r_{\mathrm{cl}} r cl , an exact terminal or remote syndrome cluster, from its block anchor; r d e e p r_{\mathrm{deep}} r deep , the least collar thickness placing a cluster outside every non-pristine completed-wall row; r C r_C r C , a composite row; r l i f t r_{\mathrm{lift}} r lift , the patch lifts; r r e l r_{\mathrm{rel}} r rel , the scaffold decomposition of z M ( h a ) M ( h a ) zM(h_a)M(h_a) z M ( h a ) M ( h a ) ; R l o g R_{\mathrm{log}} R log , the transverse width of a labelled period-ribbon seed about its core, unchanged by concatenation; r c h k r_{\mathrm{chk}} r chk , r T r_T r T and R 0 = 2 r c h k + r T + 1 R_0=2r_{\mathrm{chk}}+r_T+1 R 0 = 2 r chk + r T + 1 , the check, interblock and combined radii; and r c a p r_{\mathrm{cap}} r cap , the terminal collar beyond which the finite Hamiltonian agrees with the infinite straight-wall family.
Definition S5 (Crossing data at depth N N N ). *The depth-independent effective constants are fixed by the code and one wall realization, before any crossing is chosen. Fix once bases of V e V_e V e and V m V_m V m with their compact lifts. A crossing datum is a depth N ≥ 1 N\ge1 N ≥ 1 large enough that the remote clusters at that depth clear the r r e l r_{\mathrm{rel}} r rel -collar of the patch relations
z M a = M a ( m o d S 0 ) zM_a=M_a\pmod{S_0} z M a = M a ( mod S 0 ) , together with the radii it then determines: r × r_\times r × , bounding the dressed depth-N N N crossings of Eq. (87) for the fixed V e , V m V_{\mathrm e},V_{\mathrm m} V e , V m bases, both directions and CSS tones, the factors of their prescribed dressings, their exact syndrome clusters and the rows meeting them, and
R e n d = r c a p + r r e l + r × + r r o w + 1 , D × = 2 ( r × + r r o w ) + 1 , R_{\mathrm{end}}=r_{\mathrm{cap}}+r_{\mathrm{rel}}+r_\times+r_{\mathrm{row}}+1,\qquad D_\times=2(r_\times+r_{\mathrm{row}})+1, R end = r cap + r rel + r × + r row + 1 , D × = 2 ( r × + r row ) + 1 ,
the first specifying a minimum distance from an anchor to either endcap, the second a sufficient anchor spacing for the radius-( r × + r r o w ) (r_\times+r_{\mathrm{row}}) ( r × + r row ) neighbourhoods centred at distinct anchors to be disjoint.
The master range and the room. The effective constants, those of the endpoint block (Sec. SIV F) and of the finite-window block (Eq. (126) ), and the crossing radius r × r_\times r × of Definition S5 are collected into a single scale:
ρ max = max { 1 , r c h k , r T , d T , r C , r l i f t , r r e l , r r o w , r r i b , s r i b , r A , r c l , r d e e p , r p k g , R l o g , r c a p , r × } . (79) \rho_{\max}=\max\{1,r_{\mathrm{chk}},r_T,d_T,r_C,r_{\mathrm{lift}},r_{\mathrm{rel}},r_{\mathrm{row}},r_{\mathrm{rib}},s_{\mathrm{rib}},r_A,r_{\mathrm{cl}},r_{\mathrm{deep}},r_{\mathrm{pkg}},R_{\mathrm{log}},r_{\mathrm{cap}},r_\times\}. \tag*{(79)} ρ m a x = max { 1 , r chk , r T , d T , r C , r lift , r rel , r row , r rib , s rib , r A , r cl , r deep , r pkg , R log , r cap , r × } . (79)
Fix the depth-independent constants from the microscopic realization, and compute r ∗ r_\ast r ∗ , m m m , R R R and D s e p D_{\mathrm{sep}} D sep . Then fix a crossing datum (Definition S5) whose depth N × N_\times N × exceeds C × = max { m + r A + r c l + r d e e p , r r o w , r c a p } + r r i b C_\times=\max\{m+r_A+r_{\mathrm{cl}}+r_{\mathrm{deep}},r_{\mathrm{row}},r_{\mathrm{cap}}\}+r_{\mathrm{rib}} C × = max { m + r A + r cl + r deep , r row , r cap } + r rib ; it determines r × r_\times r × , R e n d R_{\mathrm{end}} R end and D × D_\times D × . Form ρ max \rho_{\max} ρ m a x after these choices. The collar radius obeys r d e e p ≤ r r o w + r c l + 1 r_{\mathrm{deep}}\leq r_{\mathrm{row}}+r_{\mathrm{cl}}+1 r deep ≤ r row + r cl + 1 , since every non-pristine row lies within r r o w r_{\mathrm{row}} r row of the wall carrier and every cluster within r c l r_{\mathrm{cl}} r cl of its anchor.
Definition S6 (Standard configuration). With the crossing datum just fixed, a standard configuration at room ρ \rho ρ on n ≥ 1 n\geq1 n ≥ 1 walls consists of the following, on a commensurate torus T = Z L 1 × Z L 2 \mathbb{T}=\mathbb{Z}_{L_1}\times\mathbb{Z}_{L_2} T = Z L 1 × Z L 2 .
(S1) Walls in one frame. The walls are n n n disjoint, naturally terminated walls of complete period blocks, all of one orientation, in one global Laurent origin, one period-block lattice and one affine monomial κ \kappa κ , so that the composite matching on every wall imposes the same affine diagonal p = κ q ⋆ \mathbf{p}=\kappa\mathbf{q}^{\star} p = κ q ⋆ on pristine torus relations; wall s s s is the single-wall construction translated by the monomial o s o_s o s of its first block, with the same patch convention. The period ribbons
f ⋆ h + g ⋆ v = 1 + z , f ⋆ c + g ⋆ d = 1 + w , Δ = c v + d h f^\star h+g^\star v=1+z,\qquad f^\star c+g^\star d=1+w,\qquad\Delta=cv+dh f ⋆ h + g ⋆ v = 1 + z , f ⋆ c + g ⋆ d = 1 + w , Δ = c v + d h are those of the single-wall construction, z z z being the block translation along the walls and w w w the transverse one.
(S2) Probes. Around wall t t t lies the period rectangle D t = N m ( C t ) D_t=N_m(C_t) D t = N m ( C t ) , and, on one endpoint side common to all walls, the exact cap of Lemma S16 at depth R R R .
(S3) Transfer routes (n ≥ 2 n\geq2 n ≥ 2 ). Wall n n n is the reference. Each s < n s<n s < n has designated anchors τ s \tau_s τ s on wall s s s and τ n , s \tau_{n,s} τ n , s on wall n n n , the latter distinct for distinct s s s ; write τ u \tau_u τ u for either. Each τ u \tau_u τ u has a crossing direction w u ∈ { w , w − 1 } w_u\in\{w,w^{-1}\} w u ∈ { w , w − 1 } and remote anchors ρ u e = τ u w u N × \rho_u^{\mathrm e}=\tau_u w_u^{N_\times} ρ u e = τ u w u N × and ρ u m = τ u w u − N × \rho_u^{\mathrm m}=\tau_u w_u^{-N_\times} ρ u m = τ u w u − N × . For each s < n s<n s < n and each tone χ ∈ { e , m } \chi\in\{\mathrm e,\mathrm m\} χ ∈ { e , m } , a label-independent axis-aligned block path joins ρ s χ \rho_s^\chi ρ s χ to ρ n , s χ \rho_{n,s}^\chi ρ n , s χ , its r r i b r_{\mathrm{rib}} r rib -tube outside every N r A + r c l + r d e e p ( D t ) N_{r_A+r_{\mathrm{cl}}+r_{\mathrm{deep}}}(D_t) N r A + r cl + r deep ( D t ) and every non-pristine row. The two paths and the two transverse segments from ρ u m \rho_u^{\mathrm m} ρ u m to ρ u e \rho_u^{\mathrm e} ρ u e form the closed route γ s \gamma_s γ s , which therefore crosses walls s s s and the reference wall once each and no other wall.
(S4) One region. A block rectangle U U U with a non-wrapping lift contains the ρ max \rho_{\max} ρ m a x -neighbourhood of every wall carrier, rectangle, cap and route, and a horizontal and a vertical coordinate core cycle γ x , γ y \gamma_x,\gamma_y γ x , γ y , meeting once, lie in T ∖ U \mathbb{T}\setminus U T ∖ U .
(S5) Room. Every wall has at least p p p blocks, and the block distance between distinct wall carriers, from a lift of a wall carrier to its other periodic images, between distinct designated anchors, from a designated anchor to an endcap, and from U U U to γ x ∪ γ y \gamma_x\cup\gamma_y γ x ∪ γ y is at least ρ \rho ρ .
A standard configuration is one at room ρ 0 \rho_0 ρ 0 , a constant fixed once, depending only on the code and the choices above, not on the torus or on the number, lengths or positions of the walls. It is taken large enough for the lower bounds ρ 0 ≥ X \rho_0\geq X ρ 0 ≥ X used in the proofs below, finitely many, each X X X an expression in those constants alone.
Every wall pairs sites by the same involution ι \iota ι , so a single label group acts on every wall at once and a charge carried from one wall to another keeps its name. Room says that, far from the boundary, nothing local can tell that a finite wall is finite; far from the machinery, charge travels on pristine paths clear of the rows that build the walls; and far from each other, distinct twist pairs are addressable one at a time. Figure S7 sketches a probe rectangle and a transfer route for two walls.
Figure S7. The two families of Definition S9; colours as in Figure S4 . Grey bars are two of the walls, their rounded ends the twists σ \sigma σ . The charge loop Z t , b Z_{t,b} Z t , b encircles one whole wall and crosses none, so it is a closed pristine loop with an explicit filling. The transfer loop X s , a X_{s,a} X s , a must separate one twist of each wall from the other two, so it crosses wall s s s and the reference wall once each; at each crossing the ribbon is broken and the grey dashed segment marks the ι \iota ι -matched endpoint pair the composite checks absorb, the label passing from m a m_a m a to e a ι e_{a\iota} e a ι and back. Those two crossings carry its only ledgers (Lemma S20); their placement is what Lemma S17(L6) records, and Theorem S4 evaluates the resulting pairing.
Construction. Standard configurations exist for every n ≥ 1 n \ge1 n ≥ 1 and every ρ ≥ ρ 0 \rho\ge\rho_0 ρ ≥ ρ 0 . Place n n n walls of at least ρ \rho ρ blocks in order on one z z z -line, with gaps of at least ρ \rho ρ blocks and the reference wall last; for n ≥ 2 n \ge2 n ≥ 2 put one designated anchor on each other wall and n − 1 n-1 n − 1 on the reference wall, pairwise at least ρ \rho ρ apart and at least ρ \rho ρ from the endcaps, all with w u = w w_u = w w u = w . Take D t = N m ( C t ) D_t = N_m(C_t) D t = N m ( C t ) and the depth-R R R caps on the side of increasing z z z , which run straight into the gaps; join the remote anchors τ u w ± N × \tau_{uw}^{\pm N_\times} τ u w ± N × , which lie on two exterior block lines, along those lines; enclose everything in a block rectangle U U U ; and enlarge the torus until U U U injects with core cycles at distance ρ \rho ρ . Since N × > C × N_\times> C_\times N × > C × , every tube and remote cluster of the routes clears every N r A + r c l + r d e e p ( D t ) N_{r_A+r_{\rm cl}+r_{\rm deep}}(D_t) N r A + r cl + r deep ( D t ) and every non-pristine row, the clusters by the bank-distance bound of the proof of Theorem S8. In the plane of U U U , the route γ s \gamma_s γ s encloses the facing ends of wall s s s and of the reference wall, the walls between them, and no other endpoint. For n = 2 n = 2 n = 2 , numbering the twists 1 , 2 , 3 , 4 1,2,3,4 1 , 2 , 3 , 4 along the line, γ 1 \gamma_1 γ 1 separates { 2 , 3 } \{2,3\} { 2 , 3 } from { 1 , 4 } \{1,4\} { 1 , 4 } : it is the transfer route realizing the ( 23 ) ( 14 ) (23)(14) ( 23 ) ( 14 ) cut .
Lemma S17 (What room provides). In a standard configuration the following hold.
(L1) Collars. Each wall s s s has N s ≥ N l e d N_s \ge N_{\rm led} N s ≥ N led blocks and a non-wrapping R l e d R_{\rm led} R led -collar Ω s \Omega_s Ω s of its carrier; the collars are pairwise disjoint; each J s , a J_{s,a} J s , a of Eq. (74) is nonempty; and Ω s \Omega_s Ω s contains the support of every operator in O s z P a \mathcal{O}_{s}^{\rm z}\mathcal{P}_a O s z P a for every j ∈ J s , a j \in J_{s,a} j ∈ J s , a , so each certificate row for M j + 1 , a M j , a M_{j+1,a}M_{j,a} M j + 1 , a M j , a is a legal finite-wall row supported in Ω s \Omega_s Ω s .
(L2) Probe clearance. For u ≠ t u \ne t u = t , dist b l k ( D t , C u ) > max { r r i b + r r o w , r A + r c l + r d e e p } \operatorname{dist}_{\rm blk}(D_t,C_u) > \max\{r_{\rm rib}+r_{\rm row}, r_A+r_{\rm cl}+r_{\rm deep}\} dist blk ( D t , C u ) > max { r rib + r row , r A + r cl + r deep } ; each cap leaves its own D t D_t D t once, and its remote cluster lies outside every N r A + r c l + r d e e p ( D u ) N_{r_A+r_{\rm cl}+r_{\rm deep}}(D_u) N r A + r cl + r deep ( D u ) .
(L3) Complement clearance.
N R l o g ( γ x ∪ γ y ) ⊆ T ∖ U . (80) N_{R_{\rm log}}(\gamma_x \cup\gamma_y) \subseteq T \setminus U. \tag*{(80)} N R log ( γ x ∪ γ y ) ⊆ T ∖ U . (80) (L4) Crossing windows. At every designated anchor τ s \tau_s τ s , Ω s , i n = N L × r o o m ( { τ s } ) \Omega_{s,\rm in} = N_{L_\times^{\rm room}}(\{\tau_s\}) Ω s , in = N L × room ({ τ s }) and Ω s , o u t = N ρ w i n ( Ω s , i n ) \Omega_{s,\rm out} = N_{\rho_{\rm win}}(\Omega_{s,\rm in}) Ω s , out = N ρ win ( Ω s , in ) form a crossing window (Definition S12).
(L5) Isolation. Each Ω s , o u t \Omega_{s,\rm out} Ω s , out is disjoint from every other wall’s non-pristine and terminal collars, and no check retained at one anchor is removed at another.
(L6) Ledger placement. For each t < n t < n t < n , the wall-t t t ledger of γ t \gamma_t γ t is anchored in the ( r A + 1 ) (r_A+1) ( r A + 1 ) -plateau of D t D_t D t ; and every other ledger — the reference-wall ledger of γ t \gamma_t γ t , and both ledgers of every γ s \gamma_s γ s with s ≠ t s \ne t s = t — has electric support disjoint from supp A t , b \operatorname{supp} A_{t,b} supp A t , b for every b b b . At the reference wall the ledger of every γ s \gamma_s γ s at τ n , s \tau_{n,s} τ n , s is anchored in the ( r A + 1 ) (r_A+1) ( r A + 1 ) -plateau of D n D_n D n , and the wall-s s s ledgers’ electric supports miss supp A n , b \operatorname{supp} A_{n,b} supp A n , b . The magnetic halves are unconstrained: the filling has only its second component nonzero, so the pairing never reads them.
(L7) Endpoint windows. At every endpoint s s s , the block containing s s s is an endpoint window (Definition S10).
Proof. Each bound ρ 0 ≥ X \rho_0 \ge X ρ 0 ≥ X below is one for which ρ 0 \rho_0 ρ 0 was taken large, and (S5) transfers it to a wall length or a separation. The core cycles γ x \gamma_x γ x and γ y \gamma_y γ y lie at distance at least ρ 0 \rho_0 ρ 0 from U U U , which contains a wall block, so both torus periods exceed 2 ρ 0 2\rho_0 2 ρ 0 by (S4) and (S5); hence the block ℓ ∞ \ell^\infty ℓ ∞ -ball of radius below ρ 0 \rho_0 ρ 0 about a block of a lift projects injectively to the torus.
(L1): N s ≥ ρ 0 ≥ N l e d N_s \ge\rho_0 \ge N_{\rm led} N s ≥ ρ 0 ≥ N led ; carriers at least ρ 0 ≥ 2 R l e d + 1 \rho_0 \ge2R_{\rm led}+1 ρ 0 ≥ 2 R led + 1 apart, and from their own images, have disjoint non-wrapping collars; J s , a J_{s,a} J s , a is a nonempty interval because max A a − min A a ≤ 2 r p k g < N l e d \max A_a-\min A_a \le2r_{\rm pkg}<N_{\rm led} max A a − min A a ≤ 2 r pkg < N led ; and R l e d R_{\rm led} R led bounds every row and bounded relation of the packages. (L2): D t = N m ( C t ) D_t=N_m(C_t) D t = N m ( C t ) and carriers at least ρ 0 ≥ D s e p \rho_0 \ge D_{\rm sep} ρ 0 ≥ D sep apart give the first clause. A cap is a straight ribbon from the endpoint to depth R R R , so it leaves D t D_t D t once at depth m m m ; its remote cluster lies R − m = 2 m > r A + 2 r c l + r d e e p R-m=2m>r_A+2r_{\rm cl}+r_{\rm deep} R − m = 2 m > r A + 2 r cl + r deep beyond D t D_t D t , and at least D s e p − R − m = 2 m + 4 r ∗ + 2 D_{\rm sep}-R-m=2m+4r_*+2 D sep − R − m = 2 m + 4 r ∗ + 2 from every foreign D u D_u D u . (L3): ρ 0 ≥ R l o g + 1 \rho_0 \ge R_{\rm log}+1 ρ 0 ≥ R log + 1 . (L4): the wall has at least ρ 0 ≥ N w i n \rho_0 \ge N_{\rm win} ρ 0 ≥ N win blocks; each anchor is at least ρ 0 ≥ L × r o o m + ρ w i n + N w i n \rho_0 \ge L_\times^{\rm room}+\rho_{\rm win}+N_{\rm win} ρ 0 ≥ L × room + ρ win + N win from the endcaps and from every foreign carrier, so Ω s , o u t \Omega_{s,\rm out} Ω s , out , a ball of radius L × r o o m + ρ w i n < ρ 0 L_\times^{\rm room}+\rho_{\rm win}<\rho_0 L × room + ρ win < ρ 0 about τ s \tau_s τ s , lies in the straight-wall interior with both endcaps at least N w i n N_{\rm win} N win blocks away, and it lifts without wrapping. (L5): outer windows have radius L × r o o m + ρ w i n L_\times^{\rm room}+\rho_{\rm win} L × room + ρ win about their anchors, which are at least ρ 0 ≥ 2 ( L × r o o m + ρ w i n + r c h k ) + 1 \rho_0 \ge2(L_\times^{\rm room}+\rho_{\rm win}+r_{\rm chk})+1 ρ 0 ≥ 2 ( L × room + ρ win + r chk ) + 1 from each other and ρ 0 ≥ L × r o o m + ρ w i n + max { R l e d , r c a p } + 1 \rho_0 \ge L_\times^{\rm room}+\rho_{\rm win}+\max\{R_{\rm led},r_{\rm cap}\}+1 ρ 0 ≥ L × room + ρ win + max { R led , r cap } + 1 from foreign carriers, while the non-pristine collars have radius at most R l e d R_{\rm led} R led and the terminal collars r c a p r_{\rm cap} r cap about the carrier, and ρ 0 ≥ max { R e n d , D × } \rho_0 \ge\max\{R_{\rm end},D_\times\} ρ 0 ≥ max { R end , D × } . (L6): every anchor lies on its carrier, hence in the ( r A + 1 ) (r_A+1) ( r A + 1 ) -plateau of D t = N m ( C t ) D_t=N_m(C_t) D t = N m ( C t ) , since m > r A + 1 m>r_A+1 m > r A + 1 ; this depth is the label-uniform bound d q ≤ r A + 1 d_q \le r_A+1 d q ≤ r A + 1 of Lemma S19(iii). Every other ledger lies within distance at most ρ 0 ≥ r × + m + r A + 1 \rho_0 \ge r_\times+m+r_A+1 ρ 0 ≥ r × + m + r A + 1 from C t C_t C t , hence off supp A t , b ⊆ N r A ( D t ) = N m + r A ( C t ) \operatorname{supp} A_{t,b} \subseteq N_{r_A}(D_t)=N_{m+r_A}(C_t) supp A t , b ⊆ N r A ( D t ) = N m + r A ( C t ) . (L7): the wall has at least ρ 0 ≥ N e n d \rho_0 \ge N_{\rm end} ρ 0 ≥ N end blocks, so the endpoint block is at least ρ e n d \rho_{\rm end} ρ end from the opposite endpoint, and its ρ e n d \rho_{\rm end} ρ end -neighbourhood lifts without wrapping and, by ρ 0 ≥ ρ e n d + r c h k + 1 \rho_0 \ge\rho_{\rm end}+r_{\rm chk}+1 ρ 0 ≥ ρ end + r chk + 1 , contains no removed check of another wall.
Remark S1 (What the conditions exclude). On a fixed torus these conditions bound how many walls of a given length fit. Without the foreign-carrier clearance of (L2), foreign syndrome clusters could enter the commutator of Z t , b Z_{t,b} Z t , b , breaking Lemma S22, or Z t , b Z_{t,b} Z t , b could fail to centralize a foreign wall row; without the common κ \kappa κ of (S1), Definition S9 supplies transfers only for labels with ι s ( a ) = ι n ( a ) \iota_s(a)=\iota_n(a) ι s ( a ) = ι n ( a ) .
Pair Loops and Corridor Edge Pieces
Construction. The construction uses the layout, period ribbons and label section of the Setting. For k ∈ Z k\in\mathbb{Z} k ∈ Z , define the finite Laurent polynomial
S k ( u ) = 1 + u k 1 + u , S_k(u)=\frac{1+u^k}{1+u}, S k ( u ) = 1 + u 1 + u k ,
so S k = 1 + ⋯ + u k − 1 S_k=1+\cdots+u^{k-1} S k = 1 + ⋯ + u k − 1 for k > 0 k>0 k > 0 , S 0 = 0 S_0=0 S 0 = 0 , and S k = u k + ⋯ + u − 1 S_k=u^k+\cdots+u^{-1} S k = u k + ⋯ + u − 1 for k < 0 k<0 k < 0 .
Let the lower-left anchor and side lengths of D t D_t D t be ρ t , z L t , w W t \rho_t,z^{L_t},w^{W_t} ρ t , z L t , w W t . Define the logically named Z Z Z -operator, which is physically pure X X X -tone (pure magnetic), by
Z t , b = X [ B ρ t ( z S L t ( z ) ( 1 + w W t ) ( v ⋆ , h ⋆ ) + w S W t ( w ) ( 1 + z L t ) ( d ⋆ , c ⋆ ) ) ] . (81) Z_{t,b}=X\left[B\rho_t\left(zS_{L_t}(z)(1+w^{W_t})(v^\star,h^\star)+wS_{W_t}(w)(1+z^{L_t})(d^\star,c^\star)\right)\right]. \tag*{(81)} Z t , b = X [ B ρ t ( z S L t ( z ) ( 1 + w W t ) ( v ⋆ , h ⋆ ) + w S W t ( w ) ( 1 + z L t ) ( d ⋆ , c ⋆ ) ) ] . (81)
Equivalently, this is the product of the four labelled magnetic period-ribbon sides of ∂ D t \partial D_t ∂ D t . Its pristine filling is explicitly
A t , b = ( 0 , B ρ t z w S L t ( z ) S W t ( w ) Δ ⋆ ) ∈ G , Z t , b = ∂ A t , b . (82) A_{t,b}=(0,B\rho_t zwS_{L_t}(z)S_{W_t}(w)\Delta^\star)\in G,\qquad Z_{t,b}=\partial A_{t,b}. \tag*{(82)} A t , b = ( 0 , B ρ t z w S L t ( z ) S W t ( w ) Δ ⋆ ) ∈ G , Z t , b = ∂ A t , b . (82)
Let a ∈ V m a\in V_m a ∈ V m , put A = s m ( a ‾ ) A=s_m(\overline{a}) A = s m ( a ) and A ι = κ A ⋆ A^\iota=\kappa A^\star A ι = κ A ⋆ . For an oriented block edge ρ → ρ u k \rho\to\rho u^k ρ → ρ u k , u ∈ { z , w } u\in\{z,w\} u ∈ { z , w } , put ( p z , q z ) = ( h , v ) (p_z,q_z)=(h,v) ( p z , q z ) = ( h , v ) and ( p w , q w ) = ( c , d ) (p_w,q_w)=(c,d) ( p w , q w ) = ( c , d ) , and define
P e ( ρ , u , k ; A ι ) = Z [ ρ A ι S k ( u ) ( p u , q u ) ] , (83) P_e(\rho,u,k;A^\iota)=Z\left[\rho A^\iota S_k(u)(p_u,q_u)\right], \tag*{(83)} P e ( ρ , u , k ; A ι ) = Z [ ρ A ι S k ( u ) ( p u , q u ) ] , (83)
P m ( ρ , u , k ; A ) = X [ ρ A u S k ( u ) ( q u ⋆ , p u ⋆ ) ] . (84) P_m(\rho,u,k;A)=X\left[\rho A uS_k(u)(q_u^\star,p_u^\star)\right]. \tag*{(84)} P m ( ρ , u , k ; A ) = X [ ρ A u S k ( u ) ( q u ⋆ , p u ⋆ ) ] . (84)
Lemma S18 (Period-rectangle pair loops and corridor edge pieces). With the objects just constructed, the following hold.
(i) The pair loops. For b ≠ 0 b\ne0 b = 0 , Z t , b Z_{t,b} Z t , b is a compact contractible closed pristine period-ribbon loop on the carrier ∂ D t \partial D_t ∂ D t , enclosing wall t t t and no other wall. It commutes with every row of the completed finite-wall Hamiltonian. Its support lies in N r r i b ( ∂ D t ) N_{r_{\rm rib}}(\partial D_t) N r rib ( ∂ D t ) , and the support of its filling lies in N r A ( D t ) N_{r_A}(D_t) N r A ( D t ) , with the effective weight bound wt Z t , b ≤ 2 s r i b ( L t + W t ) \operatorname{wt}Z_{t,b}\le2s_{\rm rib}(L_t+W_t) wt Z t , b ≤ 2 s rib ( L t + W t ) . Hence the terminal cluster of wall t t t is r d e e p r_{\rm deep} r deep -deep in the filling carrier D t D_t D t , whereas every other wall cluster and every remote cap cluster is outside the r d e e p r_{\rm deep} r deep -collar of supp A t , b \operatorname{supp}A_{t,b} supp A t , b . The formulas are linear in b b b . For b = 0 b=0 b = 0 , one has Z t , 0 = I Z_{t,0}=I Z t , 0 = I (the zero binary Pauli) and A t , 0 = 0 A_{t,0}=0 A t , 0 = 0 ; the same geometric carrier is retained only as a routing convention.
(ii) Edge pieces and paths. Each labelled edge piece P e ( ρ , u , k ; A ι ) P_e(\rho,u,k;A^\iota) P e ( ρ , u , k ; A ι ) and P m ( ρ , u , k ; A ) P_m(\rho,u,k;A) P m ( ρ , u , k ; A ) of Eq. (84) has exact syndrome only at the two endpoints of its edge. Hence the product of edge pieces along an axis-aligned block path has exact syndrome only at the two ends of the path: every internal vertex occurs in two consecutive pieces and cancels over F 2 \mathbb{F}_2 F 2 . This holds tonewise — for either tone separately — and neither the choice of path nor its length enters.
Proof. The identities ( 1 + u ) S k ( u ) = 1 + u k (1+u)S_k(u)=1+u^k ( 1 + u ) S k ( u ) = 1 + u k and u q u ⋆ + f u p u ⋆ = 1 + u u q_u^\star+f_u p_u^\star=1+u u q u ⋆ + f u p u ⋆ = 1 + u show that each labelled edge piece of Eq. (84) has syndrome exactly at the two endpoints of its edge, which gives (ii), and that the four factors of Eq. (81) have cancelling corner syndromes. For the filling, the antipodes of the two period equations, f h ⋆ + g v ⋆ = 1 + z − 1 fh^\star+gv^\star=1+z^{-1} f h ⋆ + g v ⋆ = 1 + z − 1 and f c ⋆ + g d ⋆ = 1 + w − 1 fc^\star+gd^\star=1+w^{-1} f c ⋆ + g d ⋆ = 1 + w − 1 , give
z ( 1 + w ) ( v ⋆ , h ⋆ ) + w ( 1 + z ) ( d ⋆ , c ⋆ ) = z w Δ ⋆ ( f , g ) . (85) z(1+w)(v^\star,h^\star)+w(1+z)(d^\star,c^\star)=zw\Delta^\star(f,g). \tag*{(85)} z ( 1 + w ) ( v ⋆ , h ⋆ ) + w ( 1 + z ) ( d ⋆ , c ⋆ ) = z w Δ ⋆ ( f , g ) . (85)
since the first component is z w [ ( f c ⋆ + g d ⋆ ) v ⋆ + ( f h ⋆ + g v ⋆ ) d ⋆ ] = z w f Δ ⋆ zw[(fc^\star+gd^\star)v^\star+(fh^\star+gv^\star)d^\star]=zwf\Delta^\star z w [( f c ⋆ + g d ⋆ ) v ⋆ + ( f h ⋆ + g v ⋆ ) d ⋆ ] = z w f Δ ⋆ , the cross terms cancelling in characteristic two, and the second is z w g Δ ⋆ zwg\Delta^\star z w g Δ ⋆ . Multiplying by B ρ t S L t ( z ) S W t ( w ) B\rho_tS_{L_t}(z)S_{W_t}(w) B ρ t S L t ( z ) S W t ( w ) and using ∂ ( 0 , P ) = ( 0 ∣ f P , g P ) \partial(0,P)=(0\mid fP,gP) ∂ ( 0 , P ) = ( 0 ∣ f P , g P ) gives Eq. (82) : a finite boundary in the non-wrapping lift, hence contractible, and the unique compact filling by Lemma S13. The support tube, the weight bound (s r i b s_{\rm rib} s rib qubits per period piece on the four sides) and the filling collar are read off the two formulas. The m m m -deep placement puts the terminal cluster of wall t t t in the eroded rectangle and, since m > r r o w + r r i b m>r_{\rm row}+r_{\rm rib} m > r row + r rib , separates the loop tube from the interblock and patch rows of wall t t t ; the foreign-carrier clearance of (L2) separates it from every foreign wall-row tube and places every foreign terminal cluster outside N r A + r d e e p ( D t ) N_{r_A+r_{\rm deep}}(D_t) N r A + r deep ( D t ) ; and the remote-cluster exclusions are those of (L2). So all inside/outside assertions follow from these support inclusions. As Z t , b = ∂ A t , b Z_{t,b}=\partial A_{t,b} Z t , b = ∂ A t , b , it also commutes with every pristine check, retained row and composite. Every formula is additive in the label section. □ \square □
Definition S7 (Block index and canonical representatives). Every monomial of R R R factors uniquely as
x a l 0 y b m 0 x u y v , a , b ∈ Z , 0 ≤ u < l 0 , 0 ≤ v < m 0 , x^{a l_0}y^{b m_0}x^u y^v,\qquad a,b\in\mathbb{Z},\quad0\leq u<l_0,\quad0\leq v<m_0, x a l 0 y b m 0 x u y v , a , b ∈ Z , 0 ≤ u < l 0 , 0 ≤ v < m 0 , its canonical within-block representative; ( a , b ) (a,b) ( a , b ) is its block index, and the block ℓ ∞ \ell^\infty ℓ ∞ -radius of a finite Laurent polynomial is the largest max { ∣ a ∣ , ∣ b ∣ } \max\{|a|,|b|\} max { ∣ a ∣ , ∣ b ∣ } over its monomials; the zero polynomial has block radius 0. The radii d q d_q d q and the plateau depths below use these block indices. Choose r A r_A r A to bound, for every basis label, both the block-index radius and the ceiling of the geometric block-metric radius of B Δ ⋆ B\Delta^\star B Δ ⋆ , and d q − 1 d_q-1 d q − 1 for every q ∈ A q\in A q ∈ A , with d q d_q d q as in Lemma S19; these are finitely many finite radii. Geometric support distances use the block metric defined before Corollary S1.
Definition S8 (Filling plateau). Let D t D_t D t be a period rectangle with lower-left block anchor ρ t \rho_t ρ t and side lengths z L t , w W t z^{L_t},w^{W_t} z L t , w W t , as in the construction of Lemma S18. For an integer d ≥ 0 d\geq0 d ≥ 0 , the d d d -plateau of D t D_t D t is the set of block positions
τ = ρ t z i + 1 w j + 1 , d ≤ i ≤ L t − 1 − d , d ≤ j ≤ W t − 1 − d . \tau=\rho_t z^{i+1}w^{j+1},\qquad d\leq i\leq L_t-1-d,\quad d\leq j\leq W_t-1-d. τ = ρ t z i + 1 w j + 1 , d ≤ i ≤ L t − 1 − d , d ≤ j ≤ W t − 1 − d . A cluster anchored in the d d d -plateau lies d d d -deep inside the filling of D t D_t D t .
Lemma S19 (Plateau evaluation). Fix b ∈ V m b\in V_m b ∈ V m , write B = s m ( b ) ^ B=\widehat{s_m(b)} B = s m ( b ) , and let A t , b A_{t,b} A t , b and Z t , b = ∂ A t , b Z_{t,b}=\partial A_{t,b} Z t , b = ∂ A t , b be the period-rectangle filling and loop of Eq. (82) . Let q ∈ A q\in A q ∈ A and write q ^ = ∑ 0 ≤ u < l 0 , 0 ≤ v < m 0 q u v x u y v ∈ R \widehat q=\sum_{0\leq u<l_0,0\leq v<m_0}q_{uv}x^uy^v\in R q = ∑ 0 ≤ u < l 0 , 0 ≤ v < m 0 q uv x u y v ∈ R for its standard representative, which has block radius 0 by Definition S7. Let τ \tau τ be a block position and let p p p be any finite Pauli whose exact electric syndrome is the polynomial q ^ τ \widehat q\tau q τ , supported in a single block when q ≠ 0 q\ne0 q = 0 . Let d q d_q d q be the block ℓ ∞ \ell^\infty ℓ ∞ -radius of q ^ B ⋆ Δ \widehat q B^\star\Delta q B ⋆ Δ . Then:
(i) if τ \tau τ lies in the d q d_q d q -plateau of D t D_t D t ,
⟨ Z t , b , p ⟩ = Tr z , w ( q ^ B ⋆ Δ ) ; (86) \langle Z_{t,b},p\rangle=\operatorname{Tr}_{z,w}(\widehat q B^\star\Delta); \tag*{(86)} ⟨ Z t , b , p ⟩ = Tr z , w ( q B ⋆ Δ ) ; (86) (ii) if supp ( q ^ τ ) \operatorname{supp}(\widehat q\tau) supp ( q τ ) is disjoint from supp A t , b \operatorname{supp} A_{t,b} supp A t , b , then ⟨ Z t , b , p ⟩ = 0 \langle Z_{t,b},p\rangle=0 ⟨ Z t , b , p ⟩ = 0 ;
(iii) d q ≤ r A + 1 d_q\leq r_A+1 d q ≤ r A + 1 by the choice of r A r_A r A in Definition S7, uniformly in q q q and b b b .
(iv) Summand-wise. If the exact electric syndrome of p p p is ∑ j q ^ j τ j \sum_j\widehat q_j\tau_j ∑ j q j τ j , with each q j ∈ A q_j\in A q j ∈ A and each τ j \tau_j τ j a block position, and each summand falls under (i) or under (ii) with its own d q j d_{q_j} d q j , then ⟨ Z t , b , p ⟩ = ∑ j ϵ j \langle Z_{t,b},p\rangle=\sum_j\epsilon_j ⟨ Z t , b , p ⟩ = ∑ j ϵ j , with ϵ j = Tr z , w ( q ^ j B ⋆ Δ ) \epsilon_j=\operatorname{Tr}_{z,w}(\widehat q_jB^\star\Delta) ϵ j = Tr z , w ( q j B ⋆ Δ ) in the first case and ϵ j = 0 \epsilon_j=0 ϵ j = 0 in the second.
The magnetic component of the syndrome of p p p never enters, whatever its position.
Proof. Only the second component of A t , b A_{t,b} A t , b can be nonzero, and the exchange of Eq. (11) pairs it against the electric syndrome, so Lemma S2 gives ⟨ Z t , b , p ⟩ = tr ( F ⋆ q ^ τ ) \langle Z_{t,b},p\rangle=\operatorname{tr}(F^\star\widehat q\tau) ⟨ Z t , b , p ⟩ = tr ( F ⋆ q τ ) with F = B ρ t z w S L t ( z ) S W t ( w ) Δ ⋆ F=B\rho_t z w S_{L_t}(z)S_{W_t}(w)\Delta^\star F = B ρ t z w S L t ( z ) S W t ( w ) Δ ⋆ , whatever the magnetic syndrome. This is an identity in the electric syndrome alone: disjoint support gives (ii), and linearity gives (iv), whose summands need not themselves be syndromes of finite Paulis. For (i) put C = q ^ B ⋆ Δ C=\widehat q B^\star\Delta C = q B ⋆ Δ and τ = ρ t z i + 1 w j + 1 \tau=\rho_tz^{i+1}w^{j+1} τ = ρ t z i + 1 w j + 1 ; then
tr ( F ⋆ q ^ τ ) = ∑ ℓ = 0 L t − 1 ∑ k = 0 W t − 1 tr ( C z i − ℓ w j − k ) , \operatorname{tr}(F^\star\widehat q\tau)=\sum_{\ell=0}^{L_t-1}\sum_{k=0}^{W_t-1}\operatorname{tr}(Cz^{i-\ell}w^{j-k}), tr ( F ⋆ q τ ) = ℓ = 0 ∑ L t − 1 k = 0 ∑ W t − 1 tr ( C z i − ℓ w j − k ) ,
and the index window [ i − L t + 1 , i ] × [ j − W t + 1 , j ] [i-L_t+1,i]\times[j-W_t+1,j] [ i − L t + 1 , i ] × [ j − W t + 1 , j ] contains [ − d q , d q ] 2 [-d_q,d_q]^2 [ − d q , d q ] 2 exactly when τ \tau τ lies in the d q d_q d q -plateau, so each block translate contributing to Tr z , w ( C ) \operatorname{Tr}_{z,w}(C) Tr z , w ( C ) is counted once. Part (iii) holds by definition. □
The Pair-Charge Algebra
A standard configuration of n ≥ 2 n\geq2 n ≥ 2 walls carries two families of finite Pauli operators: one that reads the charge of a twist pair, and one that moves charge between a pair and a fixed reference pair. Together they are a Pauli register on the fusion space. Theorem S3 gives that register 2 ( n − 1 ) Q 2(n-1)Q 2 ( n − 1 ) Q independent logical Pauli classes with a non-degenerate form; Theorem S4 gives its commutation phase, the braiding form composed with the affine involution. Section SIV D uses the first, Section SVI A the second.
The geometric input is the route clause (S3) of Definition S6 and items (L4)–(L6) of Lemma S17.
The Register and Its Phase
Definition S9 (Charge loops and transfer loops). In a standard configuration with n ≥ 2 n\geq2 n ≥ 2 , write A = s m ( a ) ^ A=\widehat{s_m(a)} A = s m ( a ) and let the crossing at an anchor τ u \tau_u τ u be W u ( a ) = W u , 0 ( N × ) ( a ) D u f i n ( a ) W_u(a)=W_{u,0}^{(N_\times)}(a)D_u^{\mathrm{fin}}(a) W u ( a ) = W u , 0 ( N × ) ( a ) D u fin ( a ) , with bare part
W u , 0 ( N × ) ( a ) = Z [ τ u A ℓ ′ ( c u , N , d u , N ) ] X [ τ u A ( d u , N ⋆ , c u , N ⋆ ) ] , (87) W_{u,0}^{(N_\times)}(a)=Z[\tau_u A\ell'(c_{u,N},d_{u,N})]X[\tau_u A(d^\star_{u,N},c^\star_{u,N})], \tag*{(87)} W u , 0 ( N × ) ( a ) = Z [ τ u A ℓ ′ ( c u , N , d u , N )] X [ τ u A ( d u , N ⋆ , c u , N ⋆ )] , (87) where w u w_u w u points from the magnetic to the electric remote bank, ( c u , N , d u , N ) (c_{u,N},d_{u,N}) ( c u , N , d u , N ) is S N × ( w ) ( c , d ) S_N^\times(w)(c,d) S N × ( w ) ( c , d ) for w u = w w_u=w w u = w and w − N × S N × ( w ) ( c , d ) w^{-N_\times}S_{N_\times}(w)(c,d) w − N × S N × ( w ) ( c , d ) for w u = w − 1 w_u=w^{-1} w u = w − 1 , with c , d c,d c , d the common transverse ribbon of (S1). For both seeds, with interblock patterns those of Lemma S26 for Δ u = c u , N v + d u , N h \Delta_u=c_{u,N}v+d_{u,N}h Δ u = c u , N v + d u , N h , the proof of Theorem S8 gives compact linear dressings and patch commutation at the datum’s common depth; r x r_x r x bounds them in both directions and tones, so the crossing window of (L4) contains them and Lemma S30 carries them to the finite wall. The crossing has dressing a product of removed pristine checks, so that
δ W u , 0 ( N × ) ( a ) = ( τ u A ( 1 + w u N × ) , τ u A ( 1 + w u − N × ) ) . (88) \delta W_{u,0}^{(N_\times)}(a)=\left(\tau_u A\left(1+w_u^{N_\times}\right),\ \tau_u A\left(1+w_u^{-N_\times}\right)\right). \tag*{(88)} δ W u , 0 ( N × ) ( a ) = ( τ u A ( 1 + w u N × ) , τ u A ( 1 + w u − N × ) ) . (88)
For s < n s<n s < n and a ∈ V m a\in V_m a ∈ V m put
X s , a = W s ( a ) R e ( a ) W n , s ( a ) R m ( a ) , X_{s,a}=W_s(a)\,R_e(a)\,W_{n,s}(a)\,R_m(a), X s , a = W s ( a ) R e ( a ) W n , s ( a ) R m ( a ) ,
the closed loop along γ s \gamma_s γ s , in which W s ( a ) W_s(a) W s ( a ) and W n , s ( a ) W_{n,s}(a) W n , s ( a ) are the crossings at τ s \tau_s τ s and τ n , s \tau_{n,s} τ n , s , and R e ( a ) R_e(a) R e ( a ) and R m ( a ) R_m(a) R m ( a ) are the products of the standard edge pieces of Eq. (84) along the two paths of (S3), joining their like-tone remote clusters.
Theorem S3 (Pair-charge register). Fix an F 2 \mathbb{F}_2 F 2 -basis μ 1 , … , μ Q \mu_1,\ldots,\mu_Q μ 1 , … , μ Q of V m V_m V m . In a standard configuration the 2 ( n − 1 ) Q 2(n-1)Q 2 ( n − 1 ) Q classes
[ Z t , μ i ] , [ X s , μ i ] , s , t < n , 1 ≤ i ≤ Q , [Z_{t,\mu_i}],\qquad[X_{s,\mu_i}],\qquad s,t<n,\quad1\leq i\leq Q, [ Z t , μ i ] , [ X s , μ i ] , s , t < n , 1 ≤ i ≤ Q , are linearly independent in L ( H f i n ) L(H_{\mathrm{fin}}) L ( H fin ) , and the binary symplectic form on their span is non-degenerate.
Theorem S4 (Pair-charge Weyl relation). In a standard configuration, for all s , t < n s,t<n s , t < n and all a , b ∈ V m a,b\in V_m a , b ∈ V m ,
Z t , b X s , a = λ ( a , b ) δ s t X s , a Z t , b , λ ( a , b ) = B ( a , b ι ) . Z_{t,b}X_{s,a}=\lambda(a,b)^{\delta_{st}}X_{s,a}Z_{t,b},\qquad\lambda(a,b)=B(a,b^{\iota}). Z t , b X s , a = λ ( a , b ) δ s t X s , a Z t , b , λ ( a , b ) = B ( a , b ι ) .
Both follow from one pairing computation. Neither asserts that the classes are canonical: both hold for one fixed admissible construction, and no invariance under a change of crossing depth, corridor routing or rectangle is claimed. The group law of the transfer family is established in Sec. SVIA, where it is used.
Lemma S20 (Exact ledger). Write a ^ = s m ( a ) \hat a=s_m(a) a ^ = s m ( a ) for the standard representative of the label section, and a ^ ι = κ a ^ ∗ \hat a^{\iota}=\kappa\hat a^{*} a ^ ι = κ a ^ ∗ for its affine partner, as in Eq. (30) ; these are the exact lifts the crossing construction uses, not arbitrary representatives of the classes. In a standard configuration,
δ X s , a = Λ s ( a ) + Λ n ( a ) , Λ u ( a ) = ( a ^ ι τ u , a ^ τ u ) , \delta X_{s,a}=\Lambda_s(a)+\Lambda_n(a),\qquad\Lambda_u(a)=\left(\hat a^{\iota}\tau_u,\hat a\tau_u\right), δ X s , a = Λ s ( a ) + Λ n ( a ) , Λ u ( a ) = ( a ^ ι τ u , a ^ τ u ) , with τ s , τ n \tau_s,\tau_n τ s , τ n the two crossing anchors of γ s \gamma_s γ s . X s , a X_{s,a} X s , a has no other exact syndrome cluster.
Proof. By Definition S9 each crossing is the dressed representative whose bare part Eq. (87) has exact syndrome, by Eq. (88) ,
( a ^ ι τ u ( 1 + w u N × ) , a ^ τ u ( 1 + w u − N × ) ) : \left(\hat a^{\iota}\tau_u(1+w_u^{N^\times}),\hat a\tau_u(1+w_u^{-N^\times})\right): ( a ^ ι τ u ( 1 + w u N × ) , a ^ τ u ( 1 + w u − N × ) ) :
a ledger at the anchor and one remote cluster displaced transversally, in each tone. The transmission dressing supplied there is a product of removed pristine checks and has zero pristine syndrome, so it does not contribute.
By (S3) each corridor is a product of the standard edge pieces of Eq. (84) along an axis-aligned path, so Lemma S18(ii) applies to it directly, once to R e ( a ) R_e(a) R e ( a ) on the electric anchors and once to R m ( a ) R_m(a) R m ( a ) on the magnetic ones: each has no wall syndrome and no exact syndrome cluster beyond its two ends. The four displaced terms then cancel against the crossings’ remote clusters and the two anchor terms survive. Which path is chosen never enters. □ \square □
Lemma S21. Every Z t , b Z_{t,b} Z t , b and every X s , a X_{s,a} X s , a is a finite Pauli commuting with every row of the completed finite-wall Hamiltonian.
Proof. For Z t , b Z_{t,b} Z t , b with b ≠ 0 b \ne0 b = 0 this is Lemma S18(i); for b = 0 b=0 b = 0 it is trivial. For X s , a X_{s,a} X s , a , Definition S9 fixes the dressed crossings constructed in the proof of Theorem S8. Their supports lie in the crossing windows of (L4), so Lemma S30 carries their commutation with the straight-wall rows to the installed finite-wall rows. The isolation (L5) excludes foreign wall rows, and the corridors are pristine and clear of every non-pristine row by (S3). By Lemma S20 what remains is supported on removed checks, which the completed Hamiltonian does not contain.
Lemma S22 (Loop–transfer pairing). For all s < n s<n s < n , all t ≤ n t\le n t ≤ n and all a , b ∈ V m a,b\in V_m a , b ∈ V m ,
⟨ Z t , b , X s , a ⟩ = { ϕ ( a , b ι ) t = s or t = n , 0 otherwise. \langle Z_{t,b},X_{s,a}\rangle=
\begin{cases}
\phi(a,b^{\iota}) & t=s\text{ or }t=n,\\
0 & \text{otherwise.}
\end{cases} ⟨ Z t , b , X s , a ⟩ = { ϕ ( a , b ι ) 0 t = s or t = n , otherwise.
Proof. For b = 0 b=0 b = 0 both sides vanish, so take b ≠ 0 b\ne0 b = 0 . By Lemma S2 the pairing is tr ( A t , b † S δ X s , a ) \operatorname{tr}(A_{t,b}^{\dagger}S\,\delta X_{s,a}) tr ( A t , b † S δ X s , a ) , so by Lemma S20 it reads the two ledgers of X s , a X_{s,a} X s , a against A t , b A_{t,b} A t , b and nothing else. That syndrome is a sum of two clusters, not one, so the evaluation used is Lemma S19(iv) and not (i) itself. The filling has only its second component nonzero, so only the electric half a ι τ u a^{\iota}\tau_u a ι τ u of each ledger contributes.
For t < n t<n t < n , every ledger other than the wall-t t t ledger of γ t \gamma_t γ t has electric support disjoint from supp A t , b \operatorname{supp} A_{t,b} supp A t , b by (L6), so Lemma S19(iv) makes its contribution zero; when s ≠ t s\ne t s = t both ledgers of X s , a X_{s,a} X s , a are of that kind and the pairing vanishes.
For t = n t=n t = n it is the reference-wall ledger of γ s \gamma_s γ s that (L6) anchors in the plateau of D n D_n D n , for every s s s , while the electric support of the wall-s s s ledger misses supp A n , b \operatorname{supp} A_{n,b} supp A n , b ; so exactly one ledger contributes in that case too, which is why the value does not depend on s s s there.
In the contributing case the ledger is anchored in the ( r A + 1 ) (r_A+1) ( r A + 1 ) -plateau of its rectangle by (L6), and d q ≤ r A + 1 d_q\le r_A+1 d q ≤ r A + 1 by Lemma S19(iii), so part (iv) evaluates that contribution as Tr z , w ( a ι b ⋆ Δ ) \operatorname{Tr}_{z,w}(a^{\iota}b^{\star}\Delta) Tr z , w ( a ι b ⋆ Δ ) , which is ϕ ( b , a ι ) \phi(b,a^{\iota}) ϕ ( b , a ι ) by Eq. (16) , the period ribbons of (S1) satisfying Eq. (13) ; and ϕ ( b , a ι ) = ϕ ( a , b ι ) \phi(b,a^{\iota})=\phi(a,b^{\iota}) ϕ ( b , a ι ) = ϕ ( a , b ι ) by Eq. (33) .
:::
Proof of Theorem S4. For binary Paulis P Q = ( − 1 ) ⟨ P , Q ⟩ Q P PQ=(-1)^{\langle P,Q\rangle}QP P Q = ( − 1 ) ⟨ P , Q ⟩ QP . Insert Lemma S22 and B = ( − 1 ) ϕ \mathcal{B}=(-1)^{\phi} B = ( − 1 ) ϕ . The identification of Sec. SVI A reads χ = λ \chi=\lambda χ = λ .
Corollary S3 (Action on pair-charge labels). Let P s , c P_{s,c} P s , c be the spectral projector of the commuting family { Z s , b } b ∈ V m \{Z_{s,b}\}_{b\in V_m} { Z s , b } b ∈ V m on the character c c c , as Lemma S24 normalizes it, and P c = ∏ s < n P s , c s P_c=\prod_{s<n}P_{s,c_s} P c = ∏ s < n P s , c s . Then
X s , a P c X s , a − 1 = P c + a e s . X_{s,a}P_cX_{s,a}^{-1}=P_{c+ae_s}. X s , a P c X s , a − 1 = P c + a e s . so X s , a X_{s,a} X s , a shifts the label of pair s s s by a a a and, by Lemma S22 at t = n t=n t = n , the reference label with it, leaving the total charge fixed.
Proof. The projectors are the spectral projectors of the commuting family { Z s , b } \{Z_{s,b}\} { Z s , b } , so it suffices to conjugate a character. By Theorem S4, conjugation by X s , a X_{s,a} X s , a multiplies the Z t , b Z_{t,b} Z t , b eigenvalue by λ ( a , b ) δ s t \lambda(a,b)^{\delta_{st}} λ ( a , b ) δ s t , which is the character of the label shifted by a a a at t = s t=s t = s and unchanged elsewhere. The reference label moves with it because Lemma S22 gives the same factor at t = n t=n t = n for every s s s .
Proof of Theorem S3. By Lemma S21 all 2 ( n − 1 ) Q 2(n-1)Q 2 ( n − 1 ) Q operators centralize H f i n H_{\mathrm{fin}} H fin , so their classes and the induced form are defined. By Lemma S22 the Z Z Z –X X X block of that form is δ s t \delta_{st} δ s t times the matrix ϕ ( μ j , μ k ι ) \phi(\mu_j,\mu_k^{\iota}) ϕ ( μ j , μ k ι ) , invertible by Lemma S5; and the Z Z Z –Z Z Z block vanishes because a pair loop is pristine, so has zero exact pristine syndrome, and Lemma S2 reads only that.
Suppose ∑ t , i β t i [ Z t , μ i ] + ∑ s , j α s j [ X s , μ j ] \sum_{t,i}\beta_{ti}[Z_{t,\mu_i}]+\sum_{s,j}\alpha_{sj}[X_{s,\mu_j}] ∑ t , i β t i [ Z t , μ i ] + ∑ s , j α s j [ X s , μ j ] vanishes. Pair it first with the loops. The Z Z Z –Z Z Z block being zero, pairing with [ Z t , μ k ] [Z_{t,\mu_k}] [ Z t , μ k ] leaves only the transfers at wall t t t and gives ∑ j α t j ϕ ( μ j , μ k ι ) = 0 \sum_j\alpha_{tj}\phi(\mu_j,\mu_k^{\iota})=0 ∑ j α t j ϕ ( μ j , μ k ι ) = 0 for all k k k , whence α t j = 0 \alpha_{tj}=0 α t j = 0 for all t , j t,j t , j by Lemma S5. What remains is a combination of loops alone; pairing it with [ X t , μ k ] [X_{t,\mu_k}] [ X t , μ k ] gives β t i = 0 \beta_{ti}=0 β t i = 0 in the same way. The classes are therefore independent, and the same two computations show the radical of the form on their span is zero. The order matters: the X X X –X X X block is not controlled here, so the loops must be the first probe.
Exhaustion of the Probe Algebra
The probes form a perfect binary Weyl algebra, so the space they act on has dimension at least 2 ( n p a i r − 1 ) Q 2^{(n_{\mathrm{pair}}-1)Q} 2 ( n pair − 1 ) Q . That lower bound alone does not establish a protected, complete non-Abelian defect sector: the substance of what follows is the matching upper bound, that the walls create no other local degree of freedom. We first excise: the logical algebra splits orthogonally into what the underlying torus already had and what the walls added. Then we compare the dimension of the added summand with the span of the probes.
A Logical Basis Routed Clear of the Walls
Lemma S23. Work in a standard configuration, and let S ( H b u l k ) S(H_{\mathrm{bulk}}) S ( H bulk ) be the binary span of the pristine torus stabilizers. Write L ( H b u l k ) = S ( H b u l k ) ⊥ / S ( H b u l k ) \mathcal{L}(H_{\mathrm{bulk}})=S(H_{\mathrm{bulk}})^\perp/S(H_{\mathrm{bulk}}) L ( H bulk ) = S ( H bulk ) ⊥ / S ( H bulk ) , and put u x = x l 0 u_x=x^{l_0} u x = x l 0 , u y = y m 0 u_y=y^{m_0} u y = y m 0 , N x = L 1 / l 0 N_x=L_1/l_0 N x = L 1 / l 0 , N y = L 2 / m 0 N_y=L_2/m_0 N y = L 2 / m 0 and Σ μ = ∑ a = 0 N μ − 1 u μ a \Sigma_\mu=\sum_{a=0}^{N_\mu-1}u_\mu^a Σ μ = ∑ a = 0 N μ − 1 u μ a for μ = x , y \mu=x,y μ = x , y . Reorder the fixed period-ribbon seeds of Eq. (13) by coordinate direction as ( a x , b x ) (a_x,b_x) ( a x , b x ) and ( a y , b y ) (a_y,b_y) ( a y , b y ) , with f ⋆ a μ + g ⋆ b μ = 1 + u μ f^\star a_\mu+g^\star b_\mu=1+u_\mu f ⋆ a μ + g ⋆ b μ = 1 + u μ , so that a x b y + b x a y = Δ a_xb_y+b_xa_y=\Delta a x b y + b x a y = Δ , independently of which wall orientation makes z = u x z=u_x z = u x or z = u y z=u_y z = u y .
Let { η i } i = 1 Q \{\eta_i\}_{i=1}^{Q} { η i } i = 1 Q and { q j } j = 1 Q \{q_j\}_{j=1}^{Q} { q j } j = 1 Q be the bases of V e V_e V e and V m V_m V m fixed in Definition S5, with their compact lifts denoted by hats; these are the bases over which R log R_{\log} R l o g is taken. Anchor all four families at the unique meeting point of γ x \gamma_x γ x and γ y \gamma_y γ y and define, in the finite torus ring,
E μ ( η i ) = Z [ η i ^ Σ μ ( a μ , b μ ) ] , M μ ( q j ) = X [ q j ^ u μ Σ μ ( b μ ⋆ , a μ ⋆ ) ] , μ = x , y , E_\mu(\eta_i)=Z[\widehat{\eta_i}\Sigma_\mu(a_\mu,b_\mu)],\qquad M_\mu(q_j)=X[\widehat{q_j}u_\mu\Sigma_\mu(b_\mu^\star,a_\mu^\star)],\qquad\mu=x,y, E μ ( η i ) = Z [ η i Σ μ ( a μ , b μ )] , M μ ( q j ) = X [ q j u μ Σ μ ( b μ ⋆ , a μ ⋆ )] , μ = x , y , and let B B B be their binary span. Ordering the four families as E x , M x , E y , M y E_x,M_x,E_y,M_y E x , M x , E y , M y , each in the order of its index, the symplectic Gram matrix of B B B is
Ω B = ( 0 0 0 D 0 0 D T 0 0 D 0 0 D T 0 0 0 ) , D i j = ϕ ( q j , η i ) = Tr z , w ( η i ^ q j ^ ⋆ Δ ) , (89) \Omega_B=
\begin{pmatrix}
0 & 0 & 0 & D\\
0 & 0 & D^{T} & 0\\
0 & D & 0 & 0\\
D^{T} & 0 & 0 & 0
\end{pmatrix},
\qquad D_{ij}=\phi(q_j,\eta_i)=\operatorname{Tr}_{z,w}(\widehat{\eta_i}\widehat{q_j}^{\star}\Delta), \tag*{(89)} Ω B = 0 0 0 D T 0 0 D 0 0 D T 0 0 D 0 0 0 , D ij = ϕ ( q j , η i ) = Tr z , w ( η i q j ⋆ Δ ) , (89) where every zero denotes the Q × Q Q\times Q Q × Q zero matrix. The matrix D D D is invertible, so det Ω B = ( det D ) 4 ≠ 0 \det\Omega_B=(\det D)^4\ne0 det Ω B = ( det D ) 4 = 0 . Consequently the four families are independent in L ( H b u l k ) \mathcal{L}(H_{\mathrm{bulk}}) L ( H bulk ) , their classes span that space, and dim B = 4 Q = 2 k ( H b u l k ) \dim B=4Q=2k(H_{\mathrm{bulk}}) dim B = 4 Q = 2 k ( H bulk ) , so k ( H b u l k ) = 2 Q k(H_{\mathrm{bulk}})=2Q k ( H bulk ) = 2 Q . Moreover, under Eq. (80) , all four families have representatives supported in T ∖ U T\setminus U T ∖ U .
Proof. Work in R ‾ = F 2 [ x ± 1 , y ± 1 ] / ( 1 + x L 1 , 1 + y L 2 ) \overline{R}=\mathbb{F}_2[x^{\pm1},y^{\pm1}]/(1+x^{L_1},1+y^{L_2}) R = F 2 [ x ± 1 , y ± 1 ] / ( 1 + x L 1 , 1 + y L 2 ) with coefficient trace tr R ‾ \operatorname{tr}_{\overline{R}} tr R . Since u μ N μ = 1 u_\mu^{N_\mu}=1 u μ N μ = 1 , Eq. (13) gives f ⋆ η ^ Σ μ a μ + g ⋆ η ^ Σ μ b μ = η ^ ( 1 + u μ ) = 0 f^\star\widehat{\eta} \Sigma_\mu a_\mu+g^\star\widehat{\eta}\Sigma_\mu b_\mu=\widehat{\eta}(1+u_\mu)=0 f ⋆ η Σ μ a μ + g ⋆ η Σ μ b μ = η ( 1 + u μ ) = 0 and likewise g q ^ u μ Σ μ b μ ⋆ + f q ^ u μ Σ μ a μ ⋆ = 0 g\widehat{q}u_\mu\Sigma_\mu b_\mu^\star+f\widehat{q}u_\mu\Sigma_\mu a_\mu^\star=0 g q u μ Σ μ b μ ⋆ + f q u μ Σ μ a μ ⋆ = 0 , so all four families lie in S ( H b u l k ) ⊥ S(H_{\mathrm{bulk}})^\perp S ( H bulk ) ⊥ . Same-tone pairings vanish, and ⟨ Z [ p ] , X [ r ] ⟩ = tr R ‾ ( p 1 r 1 ⋆ + p 2 r 2 ⋆ ) \langle Z[p],X[r]\rangle=\operatorname{tr}_{\overline{R}}(p_1r_1^\star+p_2r_2^\star) ⟨ Z [ p ] , X [ r ]⟩ = tr R ( p 1 r 1 ⋆ + p 2 r 2 ⋆ ) ; with Σ ν ⋆ = Σ ν = u ν − 1 Σ ν \Sigma_\nu^\star=\Sigma_\nu=u_\nu^{-1}\Sigma_\nu Σ ν ⋆ = Σ ν = u ν − 1 Σ ν in R ‾ \overline{R} R this gives ⟨ E μ ( η i ) , M ν ( q j ) ⟩ = tr R ‾ ( η i ^ q j ^ ⋆ Σ μ Σ ν ( a μ b ν + b μ a ν ) ) \langle E_\mu(\eta_i),M_\nu(q_j)\rangle=\operatorname{tr}_{\overline{R}}(\widehat{\eta_i}\widehat{q_j}^\star\Sigma_\mu\Sigma_\nu(a_\mu b_\nu+b_\mu a_\nu)) ⟨ E μ ( η i ) , M ν ( q j )⟩ = tr R ( η i q j ⋆ Σ μ Σ ν ( a μ b ν + b μ a ν )) , whose last factor is 0 0 0 for μ = ν \mu=\nu μ = ν and Δ \Delta Δ otherwise. For every compact F F F , coefficient extraction gives tr R ‾ ( Σ x Σ y F ) = ∑ r , s ∈ Z tr ( u x r u y s F ) = Tr z , w ( F ) \operatorname{tr}_{\overline{R}}(\Sigma_x\Sigma_yF)=\sum_{r,s\in\mathbb{Z}}\operatorname{tr}(u_x^ru_y^sF)=\operatorname{Tr}_{z,w}(F) tr R ( Σ x Σ y F ) = ∑ r , s ∈ Z tr ( u x r u y s F ) = Tr z , w ( F ) , in either wall orientation; this is Eq. (89) , and Lemma S4 makes D D D invertible, whence det Ω B = ( det D ) 4 ≠ 0 \det\Omega_B=(\det D)^4\ne0 det Ω B = ( det D ) 4 = 0 . Commensurability and Lemma S1 put the torus period ideal inside ( f , g ) (f,g) ( f , g ) and ( f ⋆ , g ⋆ ) (f^\star,g^\star) ( f ⋆ , g ⋆ ) , so both quotients of R ‾ \overline{R} R have dimension Q Q Q ; the coefficient trace makes R ‾ \overline{R} R Frobenius, so annihilator–quotient duality (Sec. SII D) gives each one-tone stabilizer-generator map rank L 1 L 2 − Q L_1L_2-Q L 1 L 2 − Q , and the CSS rank formula on 2 L 1 L 2 2L_1L_2 2 L 1 L 2 qubits gives k ( H b u l k ) = 2 Q k(H_{\mathrm{bulk}})=2Q k ( H bulk ) = 2 Q . A stabilizer in B B B pairs trivially with B B B and so vanishes by non-degeneracy of Ω B \Omega_B Ω B ; hence B B B injects into L ( H b u l k ) \mathcal{L}(H_{\mathrm{bulk}}) L ( H bulk ) , and since dim B = 4 Q = dim L ( H b u l k ) \dim B=4Q=\dim\mathcal{L}(H_{\mathrm{bulk}}) dim B = 4 Q = dim L ( H bulk ) its classes form a basis. Every fixed labelled seed lies within R log R_{\log} R l o g of its core segment and concatenation keeps that width, so routing along γ x , γ y \gamma_x,\gamma_y γ x , γ y puts the supports in N R log ( γ x ∪ γ y ) ⊆ T ∖ U N_{R_{\log}}(\gamma_x\cup\gamma_y)\subseteq T\setminus U N R l o g ( γ x ∪ γ y ) ⊆ T ∖ U by Eq. (80) .
:::
Excision and the Symplectic Splitting
The no-excitation phase normalization. Theorem S5 below shows that the total pair loop Z t o t , b Z_{\mathrm{tot},b} Z tot , b is a stabilizer class, so it acts on the code space by a single character σ \sigma σ of A = V m A=V_m A = V m . Which character is not fixed by the binary algebra: L ( H ) = S ( H ) ⊥ / S ( H ) \mathcal{L}(H)=S(H)^\perp/S(H) L ( H ) = S ( H ) ⊥ / S ( H ) is a binary symplectic quotient, so a vanishing class determines the Hermitian lift only up to a sign, Z t o t , b = σ ( b ) ∏ r R r α r ( b ) Z_{\mathrm{tot},b}=\sigma(b)\prod_rR_r^{\alpha_r(b)} Z tot , b = σ ( b ) ∏ r R r α r ( b ) over Hermitian Hamiltonian terms R r R_r R r , with σ ( b ) ∈ { ± 1 } \sigma(b)\in\{\pm1\} σ ( b ) ∈ { ± 1 } , and the positive tensor-product lift of Lemma S24 fixes phases only within the loop family. Say that the Hamiltonian lifts carry the no-excitation phase normalization when, for a basis of A A A ,
Z t o t , b ∣ Ω ⟩ = ∣ Ω ⟩ (90) Z_{\mathrm{tot},b}|\Omega\rangle=|\Omega\rangle \tag*{(90)} Z tot , b ∣Ω ⟩ = ∣Ω ⟩ (90)
for a common + 1 +1 + 1 eigenvector ∣ Ω ⟩ |\Omega\rangle ∣Ω ⟩ of the completed Hamiltonian; equivalently, when each positive lift Z t o t , b Z_{\mathrm{tot},b} Z tot , b lies in the group generated by the chosen Hermitian Hamiltonian terms with no scalar factor. State independence then carries Eq. (90) to the whole code space, making σ \sigma σ trivial.
Theorem S5 (Multi-wall excision, global rank and exhaustion of the local fusion factor). Work in a standard configuration on n = n p a i r ≥ 1 n=n_{\mathrm{pair}}\ge1 n = n pair ≥ 1 walls (Definition S6), with the pair rectangles and fillings of Lemma S18. For n ≥ 2 n\ge2 n ≥ 2 wall n n n is the reference; for n = 1 n=1 n = 1 the transfer family is empty. Then
k ( H f i n ) − k ( H b u l k ) = ( n − 1 ) Q . (91) k(H_{\mathrm{fin}})-k(H_{\mathrm{bulk}})=(n-1)Q. \tag*{(91)} k ( H fin ) − k ( H bulk ) = ( n − 1 ) Q . (91) Moreover, with L ( H ) = S ( H ) ⊥ / S ( H ) \mathcal{L}(H)=S(H)^\perp/S(H) L ( H ) = S ( H ) ⊥ / S ( H ) , there is an orthogonal symplectic splitting
L ( H f i n ) = L b u l k ⊥ L U , dim L U = 2 ( n − 1 ) Q , (92) \mathcal{L}(H_{\mathrm{fin}})=\mathcal{L}_{\mathrm{bulk}}\perp\mathcal{L}_U,\qquad\dim\mathcal{L}_U=2(n-1)Q, \tag*{(92)} L ( H fin ) = L bulk ⊥ L U , dim L U = 2 ( n − 1 ) Q , (92)
where L b u l k \mathcal{L}_{\mathrm{bulk}} L bulk is generated by routed pristine torus logical representatives in T ∖ U T \setminus U T ∖ U , and
L U = im ( S ( H f i n ) ⊥ ∩ P ( U ) ⟶ L ( H f i n ) ) = span { [ Z s , b ] , [ X s , a ] : s < n } . (93) \mathcal{L}_U=\operatorname{im}\left(S(H_{\mathrm{fin}})^\perp\cap\mathcal{P}(U)\longrightarrow\mathcal{L}(H_{\mathrm{fin}})\right)=\operatorname{span}\{[Z_{s,b}],[X_{s,a}]:s<n\}. \tag*{(93)} L U = im ( S ( H fin ) ⊥ ∩ P ( U ) ⟶ L ( H fin ) ) = span {[ Z s , b ] , [ X s , a ] : s < n } . (93)
Both summands are non-degenerate. For n = 1 n=1 n = 1 , L U = 0 \mathcal{L}_U=0 L U = 0 ; for n ≥ 2 n\geq2 n ≥ 2 , non-degeneracy of L U \mathcal{L}_U L U follows from Theorem S3, which gives independence of the 2 ( n − 1 ) Q 2(n-1)Q 2 ( n − 1 ) Q basis-labelled classes and a non-degenerate form. Hence the charge-loop and transfer-loop algebra is the full matrix algebra on a 2 ( n − 1 ) Q 2^{(n-1)Q} 2 ( n − 1 ) Q -dimensional factor and acts irreducibly there; there is no endpoint, wall-local, radical, or reference-pair spectator sector. (The register operators Z s , b Z_{s,b} Z s , b , X s , a X_{s,a} X s , a are not the code’s Pauli constructors Z [ ⋅ ] Z[\cdot] Z [ ⋅ ] , X [ ⋅ ] X[\cdot] X [ ⋅ ] .)
Finally, let Z t o t , b = ∑ s = 1 n Z s , b Z_{\mathrm{tot},b}=\sum_{s=1}^{n}Z_{s,b} Z tot , b = ∑ s = 1 n Z s , b . Then [ Z t o t , b ] = 0 [Z_{\mathrm{tot},b}]=0 [ Z tot , b ] = 0 in L ( H f i n ) \mathcal{L}(H_{\mathrm{fin}}) L ( H fin ) for every b b b . Thus the total pair charge is fixed, and the reference-pair charge is determined by the other n − 1 n-1 n − 1 pair charges. With the no-excitation phase normalization of Eq. (90) , this fixed character is the vacuum-total-charge sector.
Proof. Equation (S87) is the common-frame case of Proposition S1, whose hypotheses every configuration assumed here satisfies: the walls are translates of one construction whose first-block origins lie in the common period-block lattice, and its room contains the separations assumed there. Here J L = 0 J_L=0 J L = 0 , and each o s / o 1 o_s/o_1 o s / o 1 is a monomial in x r 0 x^{r_0} x r 0 and y m 0 y^{m_0} y m 0 , so ( o s / o 1 ) 2 (o_s/o_1)^2 ( o s / o 1 ) 2 acts trivially on V m V_m V m (Lemma S1); Eq. (96) then gives k ( H f i n ) = n Q + Q k(H_{\mathrm{fin}})=nQ+Q k ( H fin ) = n Q + Q , counting qubits for Hermitian signs that keep − I -I − I out of the stabilizer group, which is the binary count k ( H ) k(H) k ( H ) . Since k ( H b u l k ) = 2 Q k(H_{\mathrm{bulk}})=2Q k ( H bulk ) = 2 Q (Lemma S23), this is Eq. (91) .
Apply Lemma S23 to the same region U U U , and let B B B be the routed representative space supplied there. The lemma gives B ⊆ S ( H b u l k ) ⊥ B\subseteq S(H_{\mathrm{bulk}})^\perp B ⊆ S ( H bulk ) ⊥ , dim B = 4 Q = 2 k ( H b u l k ) \dim B=4Q=2k(H_{\mathrm{bulk}}) dim B = 4 Q = 2 k ( H bulk ) , shows that the form on B B B is non-degenerate, identifies its image with all of L ( H b u l k ) \mathcal{L}(H_{\mathrm{bulk}}) L ( H bulk ) , and places its support in T ∖ U T\setminus U T ∖ U . Retained pristine rows commute with B B B , while every non-pristine row of H f i n H_{\mathrm{fin}} H fin is supported in U U U and hence is disjoint from B B B . Thus B ⊆ S ( H f i n ) ⊥ B\subseteq S(H_{\mathrm{fin}})^\perp B ⊆ S ( H fin ) ⊥ . If an element of B B B belonged to S ( H f i n ) S(H_{\mathrm{fin}}) S ( H fin ) , it would pair trivially with all of B B B ; non-degeneracy would force it to vanish. Consequently the quotient map injects B B B into L ( H f i n ) \mathcal{L}(H_{\mathrm{fin}}) L ( H fin ) , and its image is a non-degenerate summand denoted by L b u l k \mathcal{L}_{\mathrm{bulk}} L bulk .
Let W W W be the span of the displayed loop and transfer classes for s < n s<n s < n . For n = 1 n=1 n = 1 , W = 0 W=0 W = 0 and the assertion is immediate. For n ≥ 2 n\geq2 n ≥ 2 , by Theorem S3, which rests on the perfect pairing of Lemma S5, these 2 ( n − 1 ) Q 2(n-1)Q 2 ( n − 1 ) Q classes are independent and the symplectic form on W W W is non-degenerate. Since W W W is supported in U U U and B B B outside U U U , W ⊥ L b u l k W\perp\mathcal{L}_{\mathrm{bulk}} W ⊥ L bulk . Equation (S87) gives dim L ( H f i n ) = 2 k ( H b u l k ) + 2 ( n − 1 ) Q = dim L b u l k + dim W \dim\mathcal{L}(H_{\mathrm{fin}})=2k(H_{\mathrm{bulk}})+2(n-1)Q=\dim\mathcal{L}_{\mathrm{bulk}}+\dim W dim L ( H fin ) = 2 k ( H bulk ) + 2 ( n − 1 ) Q = dim L bulk + dim W . Therefore L ( H f i n ) = L b u l k ⊥ W \mathcal{L}(H_{\mathrm{fin}})=\mathcal{L}_{\mathrm{bulk}}\perp W L ( H fin ) = L bulk ⊥ W . Every H f i n H_{\mathrm{fin}} H fin centralizer supported in U U U is orthogonal to L b u l k \mathcal{L}_{\mathrm{bulk}} L bulk , so its class lies in W W W ; the reverse inclusion is already supplied by the Z Z Z and X X X representatives. This proves Eqs. (92) –(93) and excludes every local spectator sector.
The Pauli algebra of a non-degenerate binary symplectic space of dimension 2 m 2m 2 m is the full matrix algebra on C 2 m \mathbb{C}^{2^m} C 2 m . Taking m = ( n − 1 ) Q m=(n-1)Q m = ( n − 1 ) Q proves irreducibility and the asserted fusion-factor dimension.
Finally, Z t o t , b Z_{\mathrm{tot},b} Z tot , b commutes with every pair loop. It also commutes with each transfer loop because the source and reference commutators are two equal copies of ϕ ( a , b ′ ) \phi(a,b^{\prime}) ϕ ( a , b ′ ) (Lemma S22) and cancel over F 2 \mathbb{F}_2 F 2 . It is supported in U U U , so its class lies in L U = W \mathcal{L}_U=W L U = W ; since it commutes with all generators of the non-degenerate space W W W , its class is zero. Perfectness of ( a , b ) ↦ ϕ ( a , b ′ ) (a,b)\mapsto\phi(a,b^{\prime}) ( a , b ) ↦ ϕ ( a , b ′ ) (Lemma S5) then makes the reference charge the unique value whose sum with the other pair charges equals the fixed total character. Thus the local fusion factor has ∣ V m ∣ n − 1 = 2 ( n − 1 ) Q |V_m|^{n-1}=2^{(n-1)Q} ∣ V m ∣ n − 1 = 2 ( n − 1 ) Q states at fixed total charge, not an additional factor of ∣ V m ∣ |V_m| ∣ V m ∣ .
Pair-Loop Characters
Throughout this subsection put A = V m A=V_m A = V m , with λ \lambda λ the pairing of Lemma S5; Figure S7 shows the two families and the crossings that produce it.
Lemma S24 (Pair loops form a character family). *Work in the configuration of Theorem S5. Each Z u , b Z_{u,b} Z u , b of Eq. (81) is a pure-X X X binary Pauli; give it the positive tensor-product lift, so that Z u , b Z_{u,b} Z u , b is Hermitian and Z u , b Z u ′ , b ′ Z_{u,b}Z_{u',b'} Z u , b Z u ′ , b ′ carries no extra sign. With that convention, for every wall u = 1 , … , n p a i r u=1,\ldots,n_{\mathrm{pair}} u = 1 , … , n pair and all b , b ′ ∈ A b,b'\in A b , b ′ ∈ A , Z u , 0 = I Z_{u,0}=I Z u , 0 = I , Z u , b Z u , b ′ = Z u , b + b ′ Z_{u,b}Z_{u,b'}=Z_{u,b+b'} Z u , b Z u , b ′ = Z u , b + b ′ , and loops on distinct walls commute. Consequently { Z u , b } \{Z_{u,b}\} { Z u , b } is a commuting family, its joint eigenspaces are labelled by tuples ( c 1 , … , c n p a i r ) ∈ A n p a i r (c_1,\ldots,c_{n_{\mathrm{pair}}})\in A^{n_{\mathrm{pair}}} ( c 1 , … , c n pair ) ∈ A n pair , and on the eigenspace of such a tuple
Z u , b ψ = λ ( c u , b ) ψ for every u , the reference pair included. (94) Z_{u,b}\psi=\lambda(c_u,b)\psi\qquad\text{for every }u,\text{ the reference pair included.} \tag*{(94)} Z u , b ψ = λ ( c u , b ) ψ for every u , the reference pair included. (94) We call c u c_u c u the charge label of pair $u.
Proof. Lemma S18 gives Z u , 0 = I Z_{u,0}=I Z u , 0 = I and formulas linear in b b b ; the binary Pauli of Z u , b Z u , b ′ Z_{u,b}Z_{u,b'} Z u , b Z u , b ′ is therefore that of Z u , b + b ′ Z_{u,b+b'} Z u , b + b ′ , and the positive lift fixes the scalar to 1 1 1 , so b ↦ Z u , b b\mapsto Z_{u,b} b ↦ Z u , b is a representation of the additive group A A A . For u ≠ u ′ u\ne u' u = u ′ , write Z u , b = ∂ u u , b Z_{u,b}=\partial u_{u,b} Z u , b = ∂ u u , b , since Z u ′ , b ′ Z_{u',b'} Z u ′ , b ′ is a closed pristine loop, its exact pristine syndrome vanishes, and Lemma S2 gives ⟨ Z u , b , Z u ′ , b ′ ⟩ = tr ( A u , b † S δ u u ′ , b ′ ) = 0 \langle Z_{u,b},Z_{u',b'}\rangle=\operatorname{tr}(A_{u,b}^{\dagger}S\delta u_{u',b'})=0 ⟨ Z u , b , Z u ′ , b ′ ⟩ = tr ( A u , b † S δ u u ′ , b ′ ) = 0 . A commuting family of this form is simultaneously diagonalizable, and on each joint eigenspace b ↦ λ ( c u , b ) b\mapsto\lambda(c_u,b) b ↦ λ ( c u , b ) (eigenvalue of Z u , b Z_{u,b} Z u , b ) is a character of A A A . By Lemma S5, c ↦ λ ( c , ⋅ ) c\mapsto\lambda(c,\cdot) c ↦ λ ( c , ⋅ ) identifies A A A with its full character group; hence each such character is λ ( c u , ⋅ ) \lambda(c_u,\cdot) λ ( c u , ⋅ ) for a unique c u ∈ A c_u\in A c u ∈ A , which is Eq. (94) . Nothing here uses Theorem S3.
Walls in Different Frames and on Incommensurate Tori
In a BB code the label of an anyon is tied to its position modulo the anyon periods: translating an excitation by o o o multiplies its label by o o o . A closed path that carries a translation therefore acts on labels, and this has two consequences for walls.
The position of a wall fixes its type. A wall whose block layout is translated by a monomial o o o from the frame of Sec. SIII A is the translate of a wall in that frame: its composites pair sites by the same block rotation ι \iota ι , now about the centres of the translated blocks. By translation covariance of the whole normalized realization (Theorem S8, and Corollary S5 for a finite wall in a crossing window) it transmits by o D κ o − 1 = D o 2 κ oD_\kappa o^{-1}=D_{o^2\kappa} o D κ o − 1 = D o 2 κ (Lemma S7): moving a mirror by o o o moves its reflection by o 2 o^2 o 2 . In a common planar lift, crossing wall 1 and then wall 2 acts by D o 2 2 κ D o 1 2 κ = ( o 2 / o 1 ) 2 D_{o_2^2\kappa}D_{o_1^2\kappa}=(o_2/o_1)^2 D o 2 2 κ D o 1 2 κ = ( o 2 / o 1 ) 2 ; the two walls enact the same duality if and only if o 1 2 ≡ o 2 2 ( m o d ⟨ f , g ⟩ ) o_1^2\equiv o_2^2\pmod{\langle f,g\rangle} o 1 2 ≡ o 2 2 ( mod ⟨ f , g ⟩) , and any additional winding on a frustrated torus must be included separately. Every absorbable bulk charge can be transferred unchanged between twist pairs of the two walls by a process admitting a common planar lift only when the two dualities agree. The common frame (S1) of a standard configuration ensures this agreement; the commensurability and geometric hypotheses of Theorem S5 supply the corresponding transfer operators.
Frustrated tori. On a torus that is not commensurate (Sec. SI B), magnetic total charge is conserved only modulo J L J_L J L and electric total charge modulo J e , L J_{e,L} J e , L . Under the hypotheses below, winding processes realize exactly the Q − Q L Q-Q_L Q − Q L directions of J L J_L J L as changes of one twist pair’s channel with every other channel held fixed; on a commensurate torus no such change exists.
Proposition S1 (Walls in arbitrary frames). Fix the code and the planar construction data: one wall orientation, the transverse-normalized ribbon templates, the label section, and the patch data and convention of Definition S4. On an arbitrary L 1 × L 2 L_1\times L_2 L 1 × L 2 torus, let the checks be the retained pristine checks and n ≥ 1 n\ge1 n ≥ 1 disjoint, naturally terminated translated copies of this wall construction, with prescribed nonwrapping lifts whose first-block origins o 1 , … , o n o_1,\ldots,o_n o 1 , … , o n need not lie in one period-block lattice. Assume that every wall has at least ρ 0 \rho_0 ρ 0 blocks and that the block distance between distinct walls, and from a lift of a wall to its other periodic images, is at least ρ 0 \rho_0 ρ 0 . Choose Hermitian signs so that the stabilizer group does not contain − I -I − I , and let k k k be the number of qubits of its simultaneous + 1 +1 + 1 space. Then every logical class of the pristine code on the same torus is represented in the completed code, and the walls add exactly dim F 2 K \dim_{\mathbb F_2}K dim F 2 K logical qubits to its 2 Q L 2Q_L 2 Q L :
k = 2 Q L + dim F 2 K , K = { ( a 1 , … , a n ) ∈ V m n : ∑ s o s a s ∈ J L , ∑ s o s − 1 a s ∈ J L } . (95) k=2Q_L+\dim_{\mathbb F_2}K,\qquad
K=\left\{(a_1,\ldots,a_n)\in V_m^n:\ \sum_s o_sa_s\in J_L,\ \sum_s o_s^{-1}a_s\in J_L\right\}. \tag*{(95)} k = 2 Q L + dim F 2 K , K = { ( a 1 , … , a n ) ∈ V m n : s ∑ o s a s ∈ J L , s ∑ o s − 1 a s ∈ J L } . (95)
where a s a_s a s is the change of the channel of the twist pair of wall s s s under a completed logical operator: its syndrome on that wall, read in the wall’s own frame, has total label m E s a s m_{\mathcal E_s}a_s m E s a s , and absolute channels need a reference sector. The two conditions are conservation of total magnetic and, after the antipode, total electric syndrome charge on the torus. Equivalently,
k = n Q + dim F 2 V m J L + ∑ s > 1 ( 1 + ( o s / o 1 ) 2 ) V m . (96) k=nQ+\dim_{\mathbb F_2}\frac{V_m}{J_L+\sum_{s>1}(1+(o_s/o_1)^2)V_m}. \tag*{(96)} k = n Q + dim F 2 J L + ∑ s > 1 ( 1 + ( o s / o 1 ) 2 ) V m V m . (96)
Two cases carry the physics.
On a commensurate torus (J L = 0 J_L=0 J L = 0 ), a second wall adds dim ker V m ( 1 + ( o 2 / o 1 ) 2 ) \dim\ker_{V_m}(1+(o_2/o_1)^2) dim ker V m ( 1 + ( o 2 / o 1 ) 2 ) qubits: Q Q Q if the two walls have the same type, and none when V m V_m V m is a field and the types differ.
One wall gives k = Q + Q L k=Q+Q_L k = Q + Q L , that is Q − Q L Q-Q_L Q − Q L qubits beyond the pristine 2 Q L 2Q_L 2 Q L . When V m V_m V m is a field and the torus is frustrated, the bulk encodes nothing and a single twist pair encodes Q Q Q qubits.
For BB( 2 , 2 , 2 , 2 ) (2,2,2,2) ( 2 , 2 , 2 , 2 ) , V m ≅ F 4 V_m\cong\mathbb F_4 V m ≅ F 4 , x y = 1 xy=1 x y = 1 and l 0 = m 0 = 3 l_0=m_0=3 l 0 = m 0 = 3 . On a commensurate torus, two sufficiently separated walls whose relative origin is congruent to ( 1 , 1 ) (1,1) ( 1 , 1 ) modulo ( 3 , 3 ) (3,3) ( 3 , 3 ) gain two qubits over the one-wall code, and relative residue ( 1 , 0 ) (1,0) ( 1 , 0 ) gains none. On every L × L L\times L L × L torus with 3 ∤ L 3\nmid L 3 ∤ L , Q L = 0 Q_L=0 Q L = 0 , so a one-wall installation satisfying Proposition S1, which needs L L L large enough for that room ρ 0 \rho_0 ρ 0 , encodes two qubits.
For a single wall (n = 1 n=1 n = 1 ) on a frustrated torus, the Q − Q L Q-Q_L Q − Q L released qubits have character readers paired perfectly with winding writers of channel changes in J L J_L J L ; dual bases, with writers multiplied by readers where needed to cancel their mutual commutators, give Q − Q L Q-Q_L Q − Q L logical Pauli pairs. To read the channel of the wall s = 1 s=1 s = 1 , let E s E_s E s be its removed electric anchors, with their prescribed wall lifts. For χ ∈ V m ∗ \chi\in V_m^* χ ∈ V m ∗ put ℓ χ = χ ∘ o s − 1 \ell_\chi=\chi\circ o_s^{-1} ℓ χ = χ ∘ o s − 1 and P χ = ∏ v ∈ E s A v ℓ χ ( [ v / o s ] e ) P_\chi=\prod_{v\in E_s}A_v^{\ell_\chi([v/o_s]_e)} P χ = ∏ v ∈ E s A v ℓ χ ([ v / o s ] e ) , where A v A_v A v is the pristine electric-detecting check; whenever an embedded check has support exactly where the removed electric anchor is available, multiplying by retained electric checks extends P χ P_\chi P χ to its character filling. By bilinearity in the finite-torus Pauli space, the torus version of Lemma S2, ⟨ P χ , W ⟩ = ∑ v ∈ E s ℓ χ ( [ v / o s ] e ) syn e W ( v ) = χ ( a ) \langle P_\chi,W\rangle=\sum_{v\in E_s}\ell_\chi([v/o_s]_e)\operatorname{syn}_eW(v)=\chi(a) ⟨ P χ , W ⟩ = ∑ v ∈ E s ℓ χ ([ v / o s ] e ) syn e W ( v ) = χ ( a ) for a completed logical operator W W W of channel change a a a , and the completed logical class of P χ P_\chi P χ is nonzero exactly when χ ∣ J L ≠ 0 \chi|_{J_L}\ne0 χ ∣ J L = 0 . To write the channel, electric and magnetic winding transports produce the matched wall syndrome with labels m a ε κ a ⋆ m_a\varepsilon\kappa_a^\star m a ε κ a ⋆ , a ∈ J L a \in J_L a ∈ J L ; the two torus cycles supply the generators of J L J_L J L , finite cluster corrections give the prescribed exact syndrome, and a product of removed pristine checks cancels the remaining interblock and patch commutators. A nonzero channel writer cannot admit a syndrome-preserving joint finite planar lift of its support and all affected pristine checks, with the removed-check syndromes lifted in the wall’s frame: such a planar Pauli has zero total electric and magnetic label.
Proof. Let S b u l k S_{\mathrm{bulk}} S bulk be the pristine stabilizer span, C ⊂ S b u l k C \subset S_{\mathrm{bulk}} C ⊂ S bulk the span of retained and composite rows, and F F F the completed span. On each wall the interblock syndromes span the open-path incidence image ((Lemma S11)), and the installed references add l 0 m 0 − Q l_0m_0-Q l 0 m 0 − Q independent ledger directions of I e I_e I e ((Theorem S2)). The collars of (L1), whose proof uses only the lengths and separations assumed here, are disjoint and lift without wrapping, so distinct walls have disjoint removed anchors and each wall’s syndromes are computed in a planar lift of its collar. If a combination of interblock and reference syndromes on wall s s s vanishes, the block sum Σ \Sigma Σ removes the interblock part and leaves ∑ a λ a h a = 0 \sum_a\lambda_a h_a=0 ∑ a λ a h a = 0 , so every λ a \lambda_a λ a vanishes, and injectivity of d w d_w d w removes the interblock coefficients. Hence the removed-check electric syndromes of the interblock and reference rows are independent. By Eq. (74) the installed translates of M ( h a ) M(h_a) M ( h a ) on wall s s s are those with j j j in the interval J s , a J_{s,a} J s , a , and for adjacent j , j + 1 ∈ J s , a j,j+1\in J_{s,a} j , j + 1 ∈ J s , a the translated certificate of Eq. (73) writes M j + 1 , a M j , a M_{j+1,a}M_{j,a} M j + 1 , a M j , a as a product of legal rows of the finite wall (L1). So every installed patch row is a reference translate modulo legal rows, so F = C + span { interblock rows, references } F=C+\operatorname{span}\{\text{interblock rows, references}\} F = C + span { interblock rows, references } and F ∩ S b u l k ⊥ = C F\cap S_{\mathrm{bulk}}^\perp=C F ∩ S bulk ⊥ = C .
A completed centralizer has pristine syndrome only on removed checks, matched by the composites, so its syndrome on wall s s s , read in that wall’s own frame, has total label m a ε κ a ⋆ m_a\varepsilon\kappa_a^\star m a ε κ a ⋆ . A pristine torus syndrome is realizable exactly when its magnetic residue vanishes in V m / J L V_m/J_L V m / J L and its electric residue vanishes in V e / J e , L V_e/J_{e,L} V e / J e , L : the two syndrome images over R / ( 1 + x L 1 , 1 + y L 2 ) R/(1+x^{L_1},1+y^{L_2}) R / ( 1 + x L 1 , 1 + y L 2 ) are generated by ( f , g ) (f,g) ( f , g ) and ( f ⋆ , g ⋆ ) (f^\star,g^\star) ( f ⋆ , g ⋆ ) . Applying the antipode to the electric condition and cancelling the common unit κ ⋆ \kappa^\star κ ⋆ gives
∑ s o s a s ∈ J L , ∑ s o s − 1 a s ∈ J L . \sum_s o_s a_s \in J_L,\qquad\sum_s o_s^{-1}a_s \in J_L. s ∑ o s a s ∈ J L , s ∑ o s − 1 a s ∈ J L .
For every tuple ( a s ) (a_s) ( a s ) satisfying both conditions there is therefore a pristine Pauli W 0 W_0 W 0 with exactly the matched syndrome. Let A v A_v A v run over the removed electric checks; by the independence above the matrix ⟨ B i , A v ⟩ \langle B_i,A_v\rangle ⟨ B i , A v ⟩ , with B i B_i B i the interblock and reference rows, has full row rank, so a product ∏ v A v β v \prod_v A_v^{\beta_v} ∏ v A v β v cancels every commutator of W 0 W_0 W 0 with an installed row without changing its pristine syndrome. Completed stabilizer rows change no channel, and the channel changes of completed logical operators form exactly K K K . With b s = o s a s b_s=o_sa_s b s = o s a s the two conditions read ∑ s b s ∈ J L \sum_s b_s\in J_L ∑ s b s ∈ J L and ∑ s o s − 2 b s ∈ J L \sum_s o_s^{-2}b_s\in J_L ∑ s o s − 2 b s ∈ J L ; putting c = ∑ s b s c=\sum_s b_s c = ∑ s b s , the second becomes o 1 − 2 c + ∑ s > 1 o s − 2 ( 1 + ( o s / o 1 ) 2 ) b s ∈ J L o_1^{-2}c+\sum_{s>1}o_s^{-2}(1+(o_s/o_1)^2)b_s\in J_L o 1 − 2 c + ∑ s > 1 o s − 2 ( 1 + ( o s / o 1 ) 2 ) b s ∈ J L with c c c and the b s > 1 b_{s>1} b s > 1 free. Hence the image of V m n V_m^n V m n in ( V m / J L ) 2 (V_m/J_L)^2 ( V m / J L ) 2 has dimension Q L + dim I / J L = 2 Q L − dim V m / I Q_L+\dim I/J_L=2Q_L-\dim V_m/I Q L + dim I / J L = 2 Q L − dim V m / I , where I = J L + ∑ s > 1 ( 1 + ( o s / o 1 ) 2 ) V m I=J_L+\sum_{s>1}(1+(o_s/o_1)^2)V_m I = J L + ∑ s > 1 ( 1 + ( o s / o 1 ) 2 ) V m , so dim K = n Q − 2 Q L + dim V m / I \dim K=nQ-2Q_L+\dim V_m/I dim K = n Q − 2 Q L + dim V m / I , which turns Eq. (95) into Eq. (96) .
A zero-channel centralizer has the same pristine syndrome as a product of interblock and reference rows; subtracting that product gives a pristine centralizer in the same completed logical class. Conversely, the removed-check correction applies to every pristine centralizer and preserves its pristine logical class. Since F ∩ S b u l k ⊥ = C ⊂ S b u l k F\cap S_{\mathrm{bulk}}^\perp=C\subset S_{\mathrm{bulk}} F ∩ S bulk ⊥ = C ⊂ S bulk , this defines a surjective pairing-preserving map from the zero-channel logical subspace A \mathcal A A onto S b u l k ⊥ / S b u l k S_{\mathrm{bulk}}^\perp/S_{\mathrm{bulk}} S bulk ⊥ / S bulk , of dimension 4 Q L 4Q_L 4 Q L , whose kernel is the space T T T of completed logical classes represented in S b u l k S_{\mathrm{bulk}} S bulk . Moreover A ⊥ = T \mathcal A^\perp=T A ⊥ = T , because ( F ⊥ ∩ S b u l k ) ⊥ = F + S b u l k (F^\perp\cap S_{\mathrm{bulk}})^\perp=F+S_{\mathrm{bulk}} ( F ⊥ ∩ S bulk ) ⊥ = F + S bulk ; since the channel map is onto K K K , codim A = dim K \operatorname{codim}\mathcal A=\dim K codim A = dim K and hence dim T = dim K \dim T=\dim K dim T = dim K , and products of the wall stabilizer operators realize all restricted characters of K K K , so they span T T T . Therefore 2 k = 4 Q L + 2 dim K 2k=4Q_L+2\dim K 2 k = 4 Q L + 2 dim K , which is Eq. (95) . □
Local Exactness at a Natural Endpoint
Theorem S6 rules out additional local logical Pauli classes: in an endpoint window, every Pauli commuting with the Hamiltonian is, up to phase, a product of completed rows.
Endpoint constants. Theorem S6 uses the check radius r c h k r_{\mathrm{chk}} r chk , the radii r i n c r_{\mathrm{inc}} r inc and r i n c r_{\mathrm{inc}} r inc of Eq. (59) , and the radius of the patch packages. Take the pivot basis { ξ ν } \{\xi_\nu\} { ξ ν } of I e I_e I e and the patch rows M ν M_\nu M ν of Eq. (71) as the fixed basis and family of Definition S4, with translation packages P ν = { M ν , z M ν } ∪ C ν \mathcal P_\nu=\{M_\nu,zM_\nu\}\cup\mathcal C_\nu P ν = { M ν , z M ν } ∪ C ν and offset sets A ν ⊂ Z A_\nu\subset\mathbb Z A ν ⊂ Z , and write α ν = min A ν \alpha_\nu=\min A_\nu α ν = min A ν and β ν = max A ν \beta_\nu=\max A_\nu β ν = max A ν . With π ν \pi_\nu π ν the anchor block of P ν \mathcal P_\nu P ν , the wall block of carrier exponent 0 0 0 , let
r p k g = max ν [ max χ d b l k ( χ , π ν ) ] . (97) r_{\mathrm{pkg}}=\max_\nu\left[\max_\chi d_{\mathrm{blk}}(\chi,\pi_\nu)\right]. \tag*{(97)} r pkg = ν max [ χ max d blk ( χ , π ν ) ] . (97)
where χ \chi χ ranges over every support point of every row of P ν \mathcal P_\nu P ν and over every block of every required scaffold-row carrier of that package, the same data that A ν A_\nu A ν collects longitudinally, but measured in the two-dimensional block metric; in particular max k ∈ A ν ∣ k ∣ ≤ r p k g \max_{k\in A_\nu}|k|\le r_{\mathrm{pkg}} max k ∈ A ν ∣ k ∣ ≤ r pkg . Put
ρ e n d = 2 r p k g + r i n c + r c h k + 2 , N e n d = 2 ρ e n d + 3. (98) \rho_{\mathrm{end}}=2r_{\mathrm{pkg}}+r_{\mathrm{inc}}+r_{\mathrm{chk}}+2,\qquad N_{\mathrm{end}}=2\rho_{\mathrm{end}}+3. \tag*{(98)} ρ end = 2 r pkg + r inc + r chk + 2 , N end = 2 ρ end + 3. (98)
The finite-window form of the transmission theorem also uses the interblock-row diameter
d T = max o r i e n t a t i o n s , u ∈ Λ 0 max q , q ′ ∈ supp T 0 , u d b l k ( q , q ′ ) , (99) d_T = \max_{\mathrm{orientations},\,u\in\Lambda_0}\ \max_{q,q'\in\operatorname{supp}T_{0,u}} d_{\mathrm{blk}}(q,q'), \tag*{(99)} d T = orientations , u ∈ Λ 0 max q , q ′ ∈ supp T 0 , u max d blk ( q , q ′ ) , (99)
so that an interblock row with one support point in a set lies entirely within d T d_T d T blocks of that set. When l 0 m 0 = Q l_0m_0=Q l 0 m 0 = Q the ideal I e I_e I e vanishes and there is no patch basis; we then set r p k g = 0 r_{\mathrm{pkg}}=0 r pkg = 0 , and every patch assertion below is vacuous.
Let the blocks of a naturally terminated wall carry exponents 0 , … , N − 1 0,\ldots,N-1 0 , … , N − 1 , and denote its endpoints at block 0 0 0 and at block N − 1 N-1 N − 1 by s − s_- s − and s + s_+ s + . By Eq. (74) the installed translates of M ν M_\nu M ν are z j M ν z^jM_\nu z j M ν with − α ν ≤ j ≤ N − 1 − β ν -\alpha_\nu\le j\le N-1-\beta_\nu − α ν ≤ j ≤ N − 1 − β ν . The two extreme ones are the installed rows nearest the endpoints,
M ν , s − = z − α ν M ν , M ν , s + = z N − 1 − β ν M ν , K s = ⋃ ν supp M ν , s . (100) M_{\nu,s_-}=z^{-\alpha_\nu}M_\nu,\qquad M_{\nu,s_+}=z^{N-1-\beta_\nu}M_\nu,\qquad K_s=\bigcup_\nu\operatorname{supp}M_{\nu,s}. \tag*{(100)} M ν , s − = z − α ν M ν , M ν , s + = z N − 1 − β ν M ν , K s = ν ⋃ supp M ν , s . (100)
Lemma S25 (Patch rows at an endpoint). On a naturally terminated wall (Definition S4) of N ≥ N e n d N\ge N_{\mathrm{end}} N ≥ N end complete period blocks, for either endpoint s s s :
(i) every M ν , s M_{\nu,s} M ν , s is an installed row, and K s K_s K s lies within block distance 2 r p k g 2r_{\mathrm{pkg}} 2 r pkg of the block of s s s ;
(ii) every installed translate of M ν M_\nu M ν has ledger ξ ν \xi_\nu ξ ν , so for every h = ∑ ν h ν ξ ν ∈ I e h=\sum_\nu h_\nu\xi_\nu\in I_e h = ∑ ν h ν ξ ν ∈ I e the operator M s ( h ) = ∏ ν ( M ν , s ) h ν M_s(h)=\prod_\nu(M_{\nu,s})^{h_\nu} M s ( h ) = ∏ ν ( M ν , s ) h ν is a product of installed rows, supported in K s K_s K s , with ℓ ( M s ( h ) ) = h \ell(M_s(h))=h ℓ ( M s ( h )) = h . It need not itself be an installed row.
Proof. If I e = 0 I_e=0 I e = 0 there is nothing to prove. Otherwise β ν − α ν ≤ 2 r p k g < N e n d ≤ N \beta_\nu-\alpha_\nu\le2r_{\mathrm{pkg}}<N_{\mathrm{end}}\le N β ν − α ν ≤ 2 r pkg < N end ≤ N , so the index interval above is nonempty and its two extreme members are installed. The package of z − α ν M ν z^{-\alpha_\nu}M_\nu z − α ν M ν lies within r p k g r_{\mathrm{pkg}} r pkg of its anchor block, which has exponent − α ν -\alpha_\nu − α ν , with ∣ α ν ∣ ≤ r p k g \lvert\alpha_\nu\rvert\le r_{\mathrm{pkg}} ∣ α ν ∣ ≤ r pkg , hence within $2r_{\mathrm{pkg}}o f b l o c k of block o f b l oc k 0; likewise at s + s_+ s + , where the anchor has exponent N − 1 − β ν N-1-\beta_\nu N − 1 − β ν with ∣ β ν ∣ ≤ r p k g \lvert\beta_\nu\rvert\le r_{\mathrm{pkg}} ∣ β ν ∣ ≤ r pkg . This is (i). A translation along the wall shifts the removed-check syndrome sequence without changing its sum in Eq. (54) , so Eq. (69) gives ℓ ( z j M ν ) = ξ ν \ell(z^jM_\nu)=\xi_\nu ℓ ( z j M ν ) = ξ ν , and the ledger is additive, which is (ii).
Throughout, “commuting with the completed Hamiltonian” means centralizing every completed row separately, as is standard for a Hamiltonian listed as a sum of commuting Pauli rows.
Definition S10 (Endpoint window). Let 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ , let the wall have at least N e n d N_{\mathrm{end}} N end blocks, and fix either endpoint s s s . An endpoint window at s s s is a block rectangle Ω i n \Omega_{\mathrm{in}} Ω in whose lift contains s s s and no other endpoint, at longitudinal block distance at least ρ e n d \rho_{\mathrm{end}} ρ end from the opposite endpoint s o p p s_{\mathrm{opp}} s opp , together with Ω o u t = N ρ e n d ( Ω i n ) \Omega_{\mathrm{out}}=N_{\rho_{\mathrm{end}}}(\Omega_{\mathrm{in}}) Ω out = N ρ end ( Ω in ) , provided Ω o u t \Omega_{\mathrm{out}} Ω out lifts to the plane without wrapping and contains no removed check of another wall.
Theorem S6 (Natural finite-endpoint exactness). Use the natural termination of Definition S4. Let Ω i n ⊂ Ω o u t \Omega_{\mathrm{in}}\subset\Omega_{\mathrm{out}} Ω in ⊂ Ω out be an endpoint window at an endpoint s s s (Definition S10). Then every Pauli supported in Ω i n \Omega_{\mathrm{in}} Ω in and commuting with the completed finite-wall Hamiltonian is, up to scalar phase, a product of completed rows, each supported in Ω o u t \Omega_{\mathrm{out}} Ω out .
This is a local-topological-order statement of the type posited as TQO-1 and TQO-2 in the stability literature [91 , 92 ] , where it serves as a hypothesis of the perturbative gap-stability theorem; Corollary S6 below establishes it for this model up to the room of a standard configuration. For translation-invariant Pauli stabilizer Hamiltonians the corresponding condition is equivalent to exactness of the associated module complex and admits a constructive proof by polynomial division [37 ] , Def. 7 and Lem. 3.1; that argument assumes translation invariance throughout and covers the homogeneous bulk only. The content of Theorem S6 is that a buffer of fixed width around the hull Ξ s \Xi_s Ξ s survives at a wall endpoint, where translation invariance fails locally.
Proof. We treat one endpoint; the argument at the other is the same.
Put Ξ s = conv ( Ω ~ i n ∪ K s ) \Xi_s=\operatorname{conv}(\widetilde{\Omega}_{\mathrm{in}}\cup K_s) Ξ s = conv ( Ω in ∪ K s ) in the lifted plane, with K s K_s K s as in Eq. (100) . The proof uses three properties of the window.
(H0) One wall. No removed check of another wall lies in Ω ~ o u t \widetilde{\Omega}_{\mathrm{out}} Ω out .
(H1) The hull stays inside. N r i n c + r c h k ( Ξ s ) ⊆ Ω ~ o u t N_{r_{\mathrm{inc}}+r_{\mathrm{chk}}}(\Xi_s)\subseteq\widetilde{\Omega}_{\mathrm{out}} N r inc + r chk ( Ξ s ) ⊆ Ω out .
(H2) One internal block survives. Some complete internal wall block j 0 j_0 j 0 before s o p p s_{\mathrm{opp}} s opp satisfies j 0 ∩ N r i n c ( Ξ s ) = ∅ j_0\cap N_{r_{\mathrm{inc}}}(\Xi_s)=\varnothing j 0 ∩ N r inc ( Ξ s ) = ∅ .
(H0) is part of Definition S10. Every point of K s K_s K s lies within block distance 2 r p k g 2r_{\mathrm{pkg}} 2 r pkg of the block of s s s by Lemma S25(i), and that block lies in the block rectangle Ω ~ i n \widetilde{\Omega}_{\mathrm{in}} Ω in ; so a point λ p + ( 1 − λ ) k \lambda p+(1-\lambda)k λ p + ( 1 − λ ) k of Ξ s \Xi_s Ξ s , with p ∈ conv Ω ~ i n p\in\operatorname{conv}\widetilde{\Omega}_{\mathrm{in}} p ∈ conv Ω in and k k k within ℓ ∞ \ell^\infty ℓ ∞ -distance 2 r p k g 2r_{\mathrm{pkg}} 2 r pkg of a point s ′ s' s ′ of that block, lies within 2 r p k g 2r_{\mathrm{pkg}} 2 r pkg of the point λ p + ( 1 − λ ) s ′ \lambda p+(1-\lambda)s' λ p + ( 1 − λ ) s ′ of conv Ω ~ i n \operatorname{conv}\widetilde{\Omega}_{\mathrm{in}} conv Ω in . Hence Ξ s ⊆ N 2 r p k g + 1 ( Ω ~ i n ) \Xi_s\subseteq N_{2r_{\mathrm{pkg}}+1}(\widetilde{\Omega}_{\mathrm{in}}) Ξ s ⊆ N 2 r pkg + 1 ( Ω in ) , and ρ e n d = 2 r p k g + r i n c + r c h k + 2 \rho_{\mathrm{end}}=2r_{\mathrm{pkg}}+r_{\mathrm{inc}}+r_{\mathrm{chk}}+2 ρ end = 2 r pkg + r inc + r chk + 2 gives (H1). The wall block at longitudinal distance 2 r p k g + r i n c + 2 2r_{\mathrm{pkg}}+r_{\mathrm{inc}}+2 2 r pkg + r inc + 2 from Ω ~ i n \widetilde{\Omega}_{\mathrm{in}} Ω in towards s o p p s_{\mathrm{opp}} s opp lies outside N r i n c ( Ξ s ) N_{r_{\mathrm{inc}}}(\Xi_s) N r inc ( Ξ s ) and at least r c h k ≥ 1 r_{\mathrm{chk}}\ge1 r chk ≥ 1 blocks before s o p p s_{\mathrm{opp}} s opp , which is (H2).
Let p p p be supported in Ω i n \Omega_{\mathrm{in}} Ω in and centralize every completed row. Let W j X , W j Z ∈ A W_j^X,W_j^Z\in A W j X , W j Z ∈ A be its commutator patterns with the removed pristine checks, and put h = ∑ j W j X h=\sum_j W_j^X h = ∑ j W j X . After lifting the non-wrapping window, the full pristine syndrome of p p p has trivial anyon label. As in Lemma S12, the relation z = 1 z=1 z = 1 in V e V_e V e gives π e ( h ) = 0 \pi_e(h)=0 π e ( h ) = 0 , h ∈ I e h\in I_e h ∈ I e . This uses only the complete pristine syndrome of the compact Pauli; no interblock row beyond either endpoint is used.
Write h = ∑ ν h ν ξ ν h=\sum_\nu h_\nu\xi_\nu h = ∑ ν h ν ξ ν , and let M s ( h ) = ∏ ν ( M ν , s ) h ν M_s(h)=\prod_\nu(M_{\nu,s})^{h_\nu} M s ( h ) = ∏ ν ( M ν , s ) h ν be the product of the nearest installed patch basis rows; by Lemma S25 it is a product of installed rows supported in K s K_s K s with ledger h h h . Put q = p M s ( h ) q=pM_s(h) q = p M s ( h ) . Then ℓ ( q ) = 0 \ell(q)=0 ℓ ( q ) = 0 , and
supp q ⊆ Ω ~ i n ∪ K s ⊆ Ξ s . (101) \operatorname{supp} q\subseteq\widetilde{\Omega}_{\mathrm{in}}\cup K_s\subseteq\Xi_s. \tag*{(101)} supp q ⊆ Ω in ∪ K s ⊆ Ξ s . (101)
Since q q q centralizes every installed row, its pristine syndrome lies on removed checks within r c h k r_{\mathrm{chk}} r chk of Ξ s \Xi_s Ξ s , hence in Ω ~ o u t \widetilde{\Omega}_{\mathrm{out}} Ω out by (H1), and these belong to this wall by (H0). With ℓ ( q ) = 0 \ell(q)=0 ℓ ( q ) = 0 , Lemma S14 applies to q q q with Ω = Ξ s \Omega=\Xi_s Ω = Ξ s ; only interblock rows between installed blocks are used. Its filling lies in N r i n c ( Ξ s ) N_{r_{\mathrm{inc}}}(\Xi_s) N r inc ( Ξ s ) , so hypothesis (H2) leaves a complete internal block j 0 j_0 j 0 before the opposite endpoint on which
A X ( j 0 , u ) = A Z ( j 0 , u ) = 0 for every u , (102) A_X(j_0,u)=A_Z(j_0,u)=0\qquad\text{for every }u, \tag*{(102)} A X ( j 0 , u ) = A Z ( j 0 , u ) = 0 for every u , (102)
hence m j 0 = 0 m_{j_0}=0 m j 0 = 0 ; no interblock row beyond either endpoint is required. Part (iii) of the lemma expresses q q q , and with M s ( h ) M_s(h) M s ( h ) restored p p p , as a product of completed rows; the patch factors lie in K s ⊆ Ξ s K_s\subseteq\Xi_s K s ⊆ Ξ s by Eq. (101) and all other factors in N r i n c + r c h k ( Ξ s ) ⊆ Ω ~ o u t N_{r_{\mathrm{inc}}+r_{\mathrm{chk}}}(\Xi_s)\subseteq\widetilde{\Omega}_{\mathrm{out}} N r inc + r chk ( Ξ s ) ⊆ Ω out by (H1). This proves the stated buffered decomposition.
Non-Abelian Fusion
With four twists at fixed total charge, one pair carries 2 Q 2^Q 2 Q orthogonal charge sectors, each containing exactly one state, together exhausting the local space — the statement an experiment would meet, since the Wilson loops encircling one pair both label the state and determine it. In the standard description of extrinsic defects [52 , 59 ] , the twist is a self-dual object σ \sigma σ of a Z 2 \mathbb{Z}_2 Z 2 -crossed Tambara–Yamagami theory over A = V m A=V_m A = V m , and F n \mathcal{F}_n F n is its fusion space, in which the sectors read by the Wilson loops are the fusion channels of every cut, with one labelling of A A A . Channels add because V m V_m V m is a group, and absorption is Lemma S16; the work is in the single state per sector: the transfers make all 2 Q 2^Q 2 Q charge projectors nonzero, and being orthogonal and summing to the identity their ranks add to dim F 2 = 2 Q \dim\mathcal{F}_2=2^Q dim F 2 = 2 Q .
Setting for this subsection. Throughout, work in a standard configuration (Definition S6), whose endpoint windows are those of Lemma S17(L7) and whose region U U U the splitting Eq. (93) consumes through the transfer loops. Put A = V m A=V_m A = V m , ∣ A ∣ = 2 Q |A|=2^Q ∣ A ∣ = 2 Q , ϵ a = ( a , a ′ ) = m a ϵ a ′ \epsilon_a=(a,a')=m_a\epsilon_{a'} ϵ a = ( a , a ′ ) = m a ϵ a ′ , let σ \sigma σ denote the natural endpoint species, and use the no-excitation phase normalization of Eq. (11) . Theorem S5 is called vacuum. Write F n \mathcal{F}_n F n for the local fusion factor of Theorem S5 at n = n p a i r n=n_{\mathrm{pair}} n = n pair walls, after the pristine torus logical factor has been removed by the exact splitting of Theorem S5.
Theorem S7 (Rank-one charge sectors). Choose wall n n n as reference. For every c = ( c 1 , … , c n − 1 ) ∈ A n − 1 \mathbf{c}=(c_1,\ldots,c_{n-1})\in A^{n-1} c = ( c 1 , … , c n − 1 ) ∈ A n − 1 the operator
P c = ∏ s = 1 n − 1 P s , c s , P s , c = 2 − Q ∑ b ∈ A λ ( c , b ) Z s , b , (103) P_{\mathbf{c}}=\prod_{s=1}^{n-1}P_{s,c_s},\qquad P_{s,c}=2^{-Q}\sum_{b\in A}\lambda(c,b)Z_{s,b}, \tag*{(103)} P c = s = 1 ∏ n − 1 P s , c s , P s , c = 2 − Q b ∈ A ∑ λ ( c , b ) Z s , b , (103) is a rank-one projector on F n \mathcal{F}_n F n , and F n = ⨁ c ∈ A n − 1 im P c \mathcal{F}_n=\bigoplus_{\mathbf{c}\in A^{n-1}}\operatorname{im}P_{\mathbf{c}} F n = ⨁ c ∈ A n − 1 im P c , with dim F n = ∣ A ∣ n − 1 = 2 ( n − 1 ) Q \dim\mathcal{F}_n=|A|^{n-1}=2^{(n-1)Q} dim F n = ∣ A ∣ n − 1 = 2 ( n − 1 ) Q . The reference-pair charge is uniquely fixed by the total charge; in the vacuum sector it is c n = ∑ s < n c s c_n=\sum_{s<n}c_s c n = ∑ s < n c s . Every label occurs: the transfer loop X s , a X_{s,a} X s , a carries any sector to the sector shifted by a a a . No further sector exists, and no sector has dimension greater than one. In particular, for n = 2 n=2 n = 2 the four-twist space at fixed total charge carries exactly ∣ A ∣ |A| ∣ A ∣ states, one for each label ϵ a \epsilon_a ϵ a of the selected pair.
Proof. Lemma S24 gives the canonical Hermitian phases, the group law Z s , 0 = I Z_{s,0}=I Z s , 0 = I , Z s , b Z s , b ′ = Z s , b + b ′ Z_{s,b}Z_{s,b'}=Z_{s,b+b'} Z s , b Z s , b ′ = Z s , b + b ′ , commutation of loops on distinct walls, and the identification of A A A with its complete character group by c ↦ λ ( c , ⋅ ) c\mapsto\lambda(c,\cdot) c ↦ λ ( c , ⋅ ) . Character orthogonality gives
P s , c P s , c ′ = δ c , c ′ P s , c , ∑ c ∈ A P s , c = I . (104) P_{s,c}P_{s,c'}=\delta_{c,c'}P_{s,c},\qquad\sum_{c\in A}P_{s,c}=I. \tag*{(104)} P s , c P s , c ′ = δ c , c ′ P s , c , c ∈ A ∑ P s , c = I . (104)
The transfer loops of Definition S9 exist for every a a a , and Corollary S3, whose projectors are those of Eq. (103) , gives X s , a P c X s , a − 1 = P c + a e s X_{s,a}P_cX_{s,a}^{-1}=P_{c+ae_s} X s , a P c X s , a − 1 = P c + a e s . The transfers therefore act transitively on the projectors in Eq. (103) . At least one is nonzero because they sum to the identity, so all ∣ A ∣ n − 1 |A|^{n-1} ∣ A ∣ n − 1 are nonzero and have equal rank. Theorem S5 identifies the full local logical algebra with the loop-transfer algebra and gives dim F n = 2 ( n − 1 ) Q = ∣ A ∣ n − 1 \dim\mathcal{F}_n=2^{(n-1)Q}=|A|^{n-1} dim F n = 2 ( n − 1 ) Q = ∣ A ∣ n − 1 . The sum of the ranks of the ∣ A ∣ n − 1 |A|^{n-1} ∣ A ∣ n − 1 nonzero orthogonal projectors is this same number, so every rank is one. This proves rank-one microscopic sectors and exclusion: any extra sector would add an orthogonal summand, while a hidden microscopic degree of freedom invisible to the loop characters would raise the rank of one displayed summand. The exhausted non-degenerate algebra permits neither possibility.
For n = 2 n=2 n = 2 , start in the calibrated vacuum summand and apply X 1 , a X_{1,a} X 1 , a . The resulting nonzero rank-one summand has the exact cap label ϵ a = ( a , a ι ) \epsilon_a=(a,a^{\iota}) ϵ a = ( a , a ι ) , so every displayed label occurs physically, and the triviality of the total loop fixes the reference charge to the same label. This completes the proof.
Corollary S4 (Fusion reconstruction). The endpoint object is categorically simple, every ϵ a \epsilon_a ϵ a is absorbed by it, and these objects obey the fusion rules
ϵ a × ϵ b = ϵ a + b , σ × ϵ a = σ , σ × σ = ⨁ a ∈ A ϵ a (105) \epsilon_a \times\epsilon_b = \epsilon_{a+b}, \qquad\sigma\times\epsilon_a = \sigma, \qquad\sigma\times\sigma= \bigoplus_{a\in A}\epsilon_a \tag*{(105)} ϵ a × ϵ b = ϵ a + b , σ × ϵ a = σ , σ × σ = a ∈ A ⨁ ϵ a (105) with categorical multiplicity one in both rules containing σ \sigma σ , and
d ϵ a = 1 , d σ = ∣ A ∣ 1 / 2 = 2 Q / 2 . d_{\epsilon_a}=1,\qquad d_\sigma=|A|^{1/2}=2^{Q/2}. d ϵ a = 1 , d σ = ∣ A ∣ 1/2 = 2 Q /2 .
Proof. Bulk charges add and the caps of Lemma S16 are linear in the label, which is the first rule. For a ≠ 0 a\ne0 a = 0 the cap E s , a E_{s,a} E s , a has as its only pristine syndrome the matched terminal cluster ϵ a \epsilon_a ϵ a and one remote cluster of the same label; applied after a bulk ϵ a \epsilon_a ϵ a is brought to the remote cluster, it removes that syndrome without changing the completed endpoint sector, so the endpoint absorbs ϵ a \epsilon_a ϵ a .
Cutting the four-twist system along the loop that encloses one twist pair, with its charge held at ϵ a \epsilon_a ϵ a , gives
P 1 , a F 2 ≃ V σ σ ϵ a ⊗ ( V σ σ ϵ a ) ∗ (106) P_{1,a}\mathcal{F}_2 \simeq V_{\sigma\sigma}^{\epsilon_a}\otimes\left(V_{\sigma\sigma}^{\epsilon_a}\right)^* \tag*{(106)} P 1 , a F 2 ≃ V σ σ ϵ a ⊗ ( V σ σ ϵ a ) ∗ (106)
compatibly with the loop-charge projectors: the usual cut-and-glue dictionary between a ground space and a fusion space. Theorem S7 gives rank P 1 , a = 1 = ( N σ σ ϵ a ) 2 P_{1,a}=1=(N_{\sigma\sigma}^{\epsilon_a})^2 P 1 , a = 1 = ( N σ σ ϵ a ) 2 , hence N σ σ ϵ a = 1 N_{\sigma\sigma}^{\epsilon_a}=1 N σ σ ϵ a = 1 for every a a a , while the resolution of the identity leaves no further summand. In particular N σ σ 1 = 1 N_{\sigma\sigma}^{1}=1 N σ σ 1 = 1 . Since σ \sigma σ is self-dual, rigidity gives
End ( σ ) ≅ Hom ( 1 , σ ∗ × σ ) ≅ Hom ( 1 , σ × σ ) , \operatorname{End}(\sigma)\cong\operatorname{Hom}(1,\sigma^*\times\sigma)\cong\operatorname{Hom}(1,\sigma\times\sigma), End ( σ ) ≅ Hom ( 1 , σ ∗ × σ ) ≅ Hom ( 1 , σ × σ ) ,
whose dimension is one; hence σ \sigma σ is categorically simple. Each ϵ a \epsilon_a ϵ a is invertible, so σ × ϵ a \sigma\times\epsilon_a σ × ϵ a is also simple. The cap, read as a nonzero morphism, therefore gives σ × ϵ a ≅ σ \sigma\times\epsilon_a\cong\sigma σ × ϵ a ≅ σ with a one-dimensional morphism space. Every ϵ a \epsilon_a ϵ a is Abelian, so d ϵ a = 1 d_{\epsilon_a}=1 d ϵ a = 1 and Eq. (105) gives d σ 2 = ∑ a ∈ A d ϵ a = ∣ A ∣ = 2 Q d_\sigma^2=\sum_{a\in A}d_{\epsilon_a}=|A|=2^Q d σ 2 = ∑ a ∈ A d ϵ a = ∣ A ∣ = 2 Q , d σ = 2 Q / 2 d_\sigma=2^{Q/2} d σ = 2 Q /2 , and iterating the multiplicity-one rule reproduces the fixed-total-charge count ∣ A ∣ n − 1 = 2 ( n − 1 ) Q |A|^{n-1}=2^{(n-1)Q} ∣ A ∣ n − 1 = 2 ( n − 1 ) Q already established there.
Affine-Dual Transmission through the Completed Wall
The wall interior is locally exact (Sec. SIII D). This section realizes the target label action of Sec. SIII A by explicit crossing operators and shows that the remote label pairs an admissible crossing of the transverse-normalized wall can realize are exactly the graph of D l a b D_{\mathrm{lab}} D lab , which justifies calling the construction a duality wall; Sec. SVI consumes its crossing construction.
The proof rests on one idea. Fold a crossing with the affine antipode, so that its magnetic syndrome joins its electric syndrome on one side. Summed over the translates of an interblock row at one offset, the interblock commutators obey a transverse Gauss law in this folded syndrome (Lemma S27). The transverse normalization fixed in the interblock construction, which confines the transverse support of Δ ‾ \overline{\Delta} Δ to the removed block’s fundamental interval, then leaves only the folded syndrome beyond the wall, and the sum becomes the braiding pairing (Lemma S29) evaluated on the mismatch between the label that went in and the label the duality prescribes. That pairing is perfect (Lemma S4), so the mismatch vanishes, which forces one half of the duality; charge accounting (Lemma S28) forces the other half. No general transmission theorem for unnormalized realizations is established here.
The Infinite Straight Wall
Crossing Operators and Their Only Obstruction
Setting for this section. Fix once, for the whole of Sec. SV: a BB code with 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ ; the block algebras B = R / ( 1 + z ) \mathsf{B}=R/(1+z) B = R / ( 1 + z ) , A = R / ( 1 + z , 1 + w ) \mathsf{A}=R/(1+z,1+w) A = R / ( 1 + z , 1 + w ) , with the fixed block fundamental domain and the ideals I e = ( f ∗ , g ∗ ) A \mathcal{I}_e=(f^*,g^*)\mathsf{A} I e = ( f ∗ , g ∗ ) A and I m = ( f , g ) A \mathcal{I}_m=(f,g)\mathsf{A} I m = ( f , g ) A ; the finite longitudinal and transverse ribbons, satisfying f ∗ h + g ∗ w = 1 + z f^*h+g^*w=1+z f ∗ h + g ∗ w = 1 + z , f ∗ c + g ∗ d = 1 + w f^*c+g^*d=1+w f ∗ c + g ∗ d = 1 + w , Δ = c w + d h \Delta=cw+dh Δ = c w + d h ; and the affine anchoring ι ( u ) = κ u ∗ \iota(u)=\kappa u^* ι ( u ) = κ u ∗ of Eq. (29) . Results in this section assume this Setting and state only the hypotheses that go beyond it.
For each class r ∈ V e r\in V_e r ∈ V e , choose once and linearly a standard block lift r ~ = ∑ u r u u ∈ A \widetilde r=\sum_u r_u u\in A r = ∑ u r u u ∈ A , and abbreviate
r ^ = ∑ u r u u ^ , r ‾ = ∑ u r u ι ( u ) = κ r ∗ . (107) \widehat r=\sum_u r_u\widehat u,\qquad\overline r=\sum_u r_u\iota(u)=\kappa r^*. \tag*{(107)} r = u ∑ r u u , r = u ∑ r u ι ( u ) = κ r ∗ . (107)
Changing the lift by an element of I e \mathcal{I}_e I e does not change the crossing’s remote anyon classes.
Lemma S26 (Matched crossing obstruction). For r ∈ V e r \in V_e r ∈ V e and its standard lift above, the provisional crossing operator
W 0 ( r ) = Z [ r ^ ( c , d ) ] X [ r ‾ ( d ⋆ , c ⋆ ) ] (108) W_0(r)=Z[\widehat{r}(c,d)]\,X[\overline{r}(d^\star,c^\star)] \tag*{(108)} W 0 ( r ) = Z [ r ( c , d )] X [ r ( d ⋆ , c ⋆ )] (108) commutes with every composite and with every retained row except the two designated remote charge-syndrome check clusters. Its only possible scaffold obstruction is its interblock-commutator pattern, and its remote clusters represent e r e_r e r and m r ˉ m_{\bar r} m r ˉ on the two banks. If t j , u ( r ) = ⟨ W 0 ( r ) , T j , u ⟩ t_{j,u}(r)=\langle W_0(r),T_{j,u}\rangle t j , u ( r ) = ⟨ W 0 ( r ) , T j , u ⟩ , then
t j , u ( r ) = tr ( z j r ⋆ u ^ Δ ⋆ + z j − 1 r ‾ ⋆ u ‾ Δ ) , u ‾ = ι ( u ) , (109) t_{j,u}(r)=\operatorname{tr}(z^j r^\star\widehat{u}\,\Delta^\star+z^{j-1}\overline{r}^{\,\star}\overline{u}\,\Delta),\qquad\overline{u}=\iota(u), \tag*{(109)} t j , u ( r ) = tr ( z j r ⋆ u Δ ⋆ + z j − 1 r ⋆ u Δ ) , u = ι ( u ) , (109) ∑ j ∈ Z t j , u ( r ) = 0 for every u . (110) \sum_{j\in\mathbb{Z}}t_{j,u}(r)=0\qquad\text{for every }u. \tag*{(110)} j ∈ Z ∑ t j , u ( r ) = 0 for every u . (110)
Proof. Equation (S8) and its antipode give
syn e W 0 ( r ) = r ^ ( 1 + w ) , syn m W 0 ( r ) = r ‾ ( 1 + w − 1 ) . (111) \operatorname{syn}_e W_0(r)=\widehat{r}(1+w),\qquad\operatorname{syn}_m W_0(r)=\overline{r}(1+w^{-1}). \tag*{(111)} syn e W 0 ( r ) = r ( 1 + w ) , syn m W 0 ( r ) = r ( 1 + w − 1 ) . (111)
The two clusters adjacent to the wall are ι \iota ι -matched and hence cancel in the composites; the other two are the stated remote charges. Direct substitution of Eqs. (S104) and (S40) into the binary symplectic pairing gives Eq. (S105). Finally W 0 ( r ) W_0(r) W 0 ( r ) has the affine form of Lemma S15(ii) with ( a , b ) = r ^ ( c , d ) (a,b)=\widehat{r}(c,d) ( a , b ) = r ( c , d ) , which gives Eq. (S106).
Reduce Δ = c v + d h \Delta=cv+dh Δ = c v + d h modulo 1 + z 1+z 1 + z , without quotienting by 1 + w 1+w 1 + w . For the transverse-normalized wall fixed in the construction, Eq. (S36) gives Δ ‾ = r \overline{\Delta}=r Δ = r , the remainder of Eq. (S35), so
supp t Δ ‾ ⊆ { 0 , 1 , … , p ⊥ − 1 } . (112) \operatorname{supp}_t\overline{\Delta}\subseteq\{0,1,\ldots,p_\perp-1\}. \tag*{(112)} supp t Δ ⊆ { 0 , 1 , … , p ⊥ − 1 } . (112)
For a finite crossing Pauli W W W , decompose its exact pristine syndrome into the wall block and the two strict banks, E = E − + E 0 + E + E=E_-+E_0+E_+ E = E − + E 0 + E + and M = M − + M 0 + M + M=M_-+M_0+M_+ M = M − + M 0 + M + . The + + + and − - − banks are the right and left sides: E + , M + E_+,M_+ E + , M + are supported at transverse coordinates at least p ⊥ p_\perp p ⊥ and E − , M − E_-,M_- E − , M − at transverse coordinates at most − 1 -1 − 1 , and the remote labels of W W W are r R = π e ( E + ) r_R=\pi_e(E_+) r R = π e ( E + ) , s R = π m ( M + ) s_R=\pi_m(M_+) s R = π m ( M + ) , r L = π e ( E − ) r_L=\pi_e(E_-) r L = π e ( E − ) , s L = π m ( M − ) s_L=\pi_m(M_-) s L = π m ( M − ) .
Remote Crossings
Definition S11 (Remote crossing relation). For the fixed transverse-normalized wall, choose after the crossing datum an admissibility block radius r a d m ≥ r × r_{\rm adm}\ge r_\times r adm ≥ r × of Definition S5; every statement below holds for any larger value. A finite crossing Pauli is admissible if its support lies within r a d m r_{\rm adm} r adm of the crossing anchor and it commutes with every completed-wall row (that is, with every composite C j , u C_{j,u} C j , u , every interblock row T j , u T_{j,u} T j , u , and every installed patch row) and with every retained check other than its designated remote syndrome checks. The designated remote syndrome checks are retained checks and hence lie strictly outside the removed wall block. Let Rel w a l l \operatorname{Rel}_{\rm wall} Rel wall be the additive remote-label relation realized by finite admissible crossings with such designated remote syndromes.
An admissible crossing may also have matched pristine syndrome inside the removed wall block; this is ledger syndrome carried by E 0 , M 0 E_0,M_0 E 0 , M 0 and handled by the composites, not designated remote syndrome. Closure under addition follows by multiplying crossing Paulis at a common anchor. Leaving a completed-wall row or a non-designated retained check excited is excluded: such an operator flips a measured stabilizer, so the charge is a visible excitation, not a hidden channel. The condition therefore constrains the final crossing Pauli, not the microscopic wall ledger.
The Transverse Gauss Law
For a finite Pauli p p p and an offset u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 set
σ u ( p ) = ∑ j ∈ Z ⟨ p , T j , u ⟩ ∈ F 2 , (113) \sigma_u(p)=\sum_{j\in\mathbb{Z}}\langle p,T_{j,u}\rangle\in\mathbb{F}_2, \tag*{(113)} σ u ( p ) = j ∈ Z ∑ ⟨ p , T j , u ⟩ ∈ F 2 , (113)
a finite sum because compact p p p meets only finitely many translates T j , u T_{j,u} T j , u .
Lemma S27 (The interblock obstruction is a syndrome invariant). Let p p p be a finite Pauli with exact syndrome ( E , M ) (E,M) ( E , M ) and folded syndrome H = E + κ M ⋆ H=E+\kappa M^\star H = E + κ M ⋆ . Then
σ u ( p ) = ∑ n ≥ 1 Tr z ( w − n u ^ ⋆ Δ H ) . (114) \sigma_u(p)=\sum_{n\ge1}\operatorname{Tr}_z\left(w^{-n}\widehat{u}^{\,\star}\Delta H\right). \tag*{(114)} σ u ( p ) = n ≥ 1 ∑ Tr z ( w − n u ⋆ Δ H ) . (114) Thus σ u ( p ) \sigma_u(p) σ u ( p ) depends only on the exact syndrome δ p \delta p δ p . It is linear in the syndrome, vanishes on every product of pristine checks, and is unchanged by dressing with removed pristine checks. Consequently a finite Pauli with a prescribed syndrome can commute with every interblock row only if σ u = 0 \sigma_u=0 σ u = 0 for every u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 .
Proof. Write p = ( u 1 , v 1 ∣ u 2 , v 2 ) p=(u_1,v_1\mid u_2,v_2) p = ( u 1 , v 1 ∣ u 2 , v 2 ) , so that E = f ⋆ u 1 + g ⋆ v 1 E=f^\star u_1+g^\star v_1 E = f ⋆ u 1 + g ⋆ v 1 and M = g u 2 + f v 2 M=gu_2+fv_2 M = g u 2 + f v 2 , and fold it:
( U , V ) = ( u 1 + κ v 2 ⋆ , v 1 + κ u 2 ⋆ ) , f ⋆ U + g ⋆ V = H , A = U v + V h . (115) (U,V)=(u_1+\kappa v_2^\star,v_1+\kappa u_2^\star),\qquad f^\star U+g^\star V=H,\qquad A=Uv+Vh. \tag*{(115)} ( U , V ) = ( u 1 + κ v 2 ⋆ , v 1 + κ u 2 ⋆ ) , f ⋆ U + g ⋆ V = H , A = U v + V h . (115)
Expanding the pairing with Eqs. (45) and (29) and the invariance of tr \operatorname{tr} tr under ⋆ \star ⋆ gives
⟨ p , T j , u ⟩ = tr ( z − j u ^ ⋆ ( u 1 v + v 1 h ) ) + tr ( z j − 1 u ^ ⋆ κ ( v 2 ⋆ v + u 2 ⋆ h ) ) , \langle p,T_{j,u}\rangle=\operatorname{tr}(z^{-j}\hat{u}^\star(u_1v+v_1h))+\operatorname{tr}(z^{j-1}\hat{u}^\star\kappa(v_2^\star v+u_2^\star h)), ⟨ p , T j , u ⟩ = tr ( z − j u ^ ⋆ ( u 1 v + v 1 h )) + tr ( z j − 1 u ^ ⋆ κ ( v 2 ⋆ v + u 2 ⋆ h )) ,
so σ u ( p ) = Tr z ( u ^ ⋆ A ) \sigma_u(p)=\operatorname{Tr}_z(\hat{u}^\star A) σ u ( p ) = Tr z ( u ^ ⋆ A ) . Multiplying out with Eq. (13) gives the exact identity
( 1 + w ) A = Δ H + ( 1 + z ) ( c V + d U ) . (116) (1+w)A=\Delta H+(1+z)(cV+dU). \tag*{(116)} ( 1 + w ) A = Δ H + ( 1 + z ) ( c V + d U ) . (116)
Put α n = Tr z ( w − n u ^ ⋆ A ) \alpha_n=\operatorname{Tr}_z(w^{-n}\hat{u}^\star A) α n = Tr z ( w − n u ^ ⋆ A ) . Applying Tr z ( w − n u ^ ⋆ ⋅ ) \operatorname{Tr}_z(w^{-n}\hat{u}^\star\cdot) Tr z ( w − n u ^ ⋆ ⋅ ) to Eq. (116) and using Lemma S15(i) on the last term gives α n + α n − 1 = Tr z ( w − n u ^ ⋆ Δ H ) \alpha_n+\alpha_{n-1}=\operatorname{Tr}_z(w^{-n}\hat{u}^\star\Delta H) α n + α n − 1 = Tr z ( w − n u ^ ⋆ Δ H ) . Since A A A is finite, α n = 0 \alpha_n=0 α n = 0 for large n n n , and summing over n ≥ 1 n\geq1 n ≥ 1 gives Eq. (114) . Its right-hand side is linear in the syndrome, and a product of pristine checks, in particular a removed one, has zero syndrome.
The Folded Syndrome of a Crossing
Let W W W be an admissible crossing, and split its folded syndrome by banks:
H + = E + + κ M − ⋆ , H − = E − + κ M + ⋆ , H 0 = E 0 + κ M 0 ⋆ . (117) H_+=E_++\kappa M^\star_-,\qquad H_-=E_-+\kappa M^\star_+,\qquad H_0=E_0+\kappa M^\star_0. \tag*{(117)} H + = E + + κ M − ⋆ , H − = E − + κ M + ⋆ , H 0 = E 0 + κ M 0 ⋆ . (117)
The affine antipode u ↦ κ u ⋆ u\mapsto\kappa u^\star u ↦ κ u ⋆ sends a transverse exponent k k k to p ⊥ − 1 − k p_\perp-1-k p ⊥ − 1 − k , so H + H_+ H + is supported at transverse coordinates at least p ⊥ p_\perp p ⊥ and H − H_- H − at transverse coordinates at most − 1 -1 − 1 . By Eq. (38) and the affine anchoring, commutation with the composites matches the wall syndromes coefficientwise: writing E 0 = ∑ j z j e ^ j E_0=\sum_j z^j\hat{e}_j E 0 = ∑ j z j e ^ j and M 0 = ∑ j z j m ^ j M_0=\sum_j z^j\hat{m}_j M 0 = ∑ j z j m ^ j , it gives e ^ j + κ m ^ j ⋆ = 0 \hat{e}_j+\kappa\hat{m}_j^\star=0 e ^ j + κ m ^ j ⋆ = 0 for every j j j , hence H ‾ 0 = 0 \overline{H}_0=0 H 0 = 0 in B. Since 1 + z ∈ ⟨ f ⋆ , g ⋆ ⟩ 1+z\in\langle f^\star,g^\star\rangle 1 + z ∈ ⟨ f ⋆ , g ⋆ ⟩ , also π e ( H ‾ 0 ) = 0 \pi_e(\overline{H}_0)=0 π e ( H 0 ) = 0 . The other two parts carry the mismatches
π e ( H + ) = r R + s L ℓ = : η e , π e ( H − ) = r L + s R u = : η m ℓ . (118) \pi_e(H_+)=r_R+s_L^\ell=:\eta_e,\qquad\pi_e(H_-)=r_L+s_R^u=:\eta_m^\ell. \tag*{(118)} π e ( H + ) = r R + s L ℓ =: η e , π e ( H − ) = r L + s R u =: η m ℓ . (118)
where η m = s R + r L u \eta_m=s_R+r_L^u η m = s R + r L u . The law a R = D l a b ( a L ) a_R=D_{\mathrm{lab}}(a_L) a R = D lab ( a L ) is exactly the pair of equations η e = 0 \eta_e=0 η e = 0 and η m = 0 \eta_m=0 η m = 0 .
Lemma S28 (Charge-accounting constraint on transmitted labels). Let W W W be an admissible finite crossing Pauli as in Definition S11, and assume its support, its syndrome clusters, and every check whose support can meet it lie in a buffered region on which the scaffold agrees with the lifted infinite straight-wall scaffold. Write its remote labels as a L = e r L m s L a_L=e_{r_L}m_{s_L} a L = e r L m s L and a R = e r R m s R a_R=e_{r_R}m_{s_R} a R = e r R m s R . Then
s L + s R = ( r L + r R ) ν , (119) s_L+s_R=(r_L+r_R)^\nu, \tag*{(119)} s L + s R = ( r L + r R ) ν , (119) that is, η m = η e ℓ \eta_m=\eta_e^\ell η m = η e ℓ .
Proof. Both E E E and κ M ⋆ \kappa M^\star κ M ⋆ lie in ⟨ f ⋆ , g ⋆ ⟩ \langle f^\star,g^\star\rangle ⟨ f ⋆ , g ⋆ ⟩ , so π e ( H ) = 0 \pi_e(H)=0 π e ( H ) = 0 . As π e ( H 0 ) = 0 \pi_e(H_0)=0 π e ( H 0 ) = 0 , Eq. (118) gives η e + η m ℓ = 0 \eta_e+\eta_m^\ell=0 η e + η m ℓ = 0 .
Lemma S29 (Interblock sum identity). Let W W W be an admissible crossing of the fixed transverse-normalized wall, on the infinite straight wall or in a non-wrapping lifted window containing its exact syndrome together with every interblock translate that can meet it. Then for every offset u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 ,
σ u ( W ) = Tr z , w ( η ^ e u ^ ⋆ Δ ) = ϕ ( u , η e ) , η e = r R + s L ℓ . (120) \sigma_u(W)=\operatorname{Tr}_{z,w}(\hat{\eta}_e\hat{u}^\star\Delta)=\phi(u,\eta_e),\qquad\eta_e=r_R+s_L^\ell. \tag*{(120)} σ u ( W ) = Tr z , w ( η ^ e u ^ ⋆ Δ ) = ϕ ( u , η e ) , η e = r R + s L ℓ . (120) where u u u also denotes the class of the monomial u ^ \hat{u} u ^ in V m V_m V m .
Proof. Insert H = H + + H 0 + H − H=H_++H_0+H_- H = H + + H 0 + H − in Eq. (114) . The term in H 0 H_0 H 0 vanishes because H ‾ 0 = 0 \overline{H}_0=0 H 0 = 0 . By Eq. (112) , Δ H ‾ + \overline{\Delta H}_+ Δ H + is supported at transverse coordinates at least p ⊥ p_\perp p ⊥ and Δ H ‾ − \overline{\Delta H}_- Δ H − at transverse coordinates at most p ⊥ − 2 p_\perp-2 p ⊥ − 2 , while the monomial w − n u ^ w^{-n}\hat{u} w − n u ^ has transverse coordinate at most p ⊥ − 1 p_\perp-1 p ⊥ − 1 for n ≤ 0 n\leq0 n ≤ 0 and at least p ⊥ p_\perp p ⊥ for n ≥ 1 n\geq1 n ≥ 1 . Thus H − H_- H − contributes nothing to Eq. (114) , and H + H_+ H + contributes nothing to the same sum over n ≤ 0 n\leq0 n ≤ 0 , so
σ u ( W ) = ∑ n ∈ Z Tr z ( w − n u ^ ⋆ Δ H + ) = Tr z , w ( u ^ ⋆ Δ H + ) . \sigma_u(W)=\sum_{n\in\mathbb{Z}}\operatorname{Tr}_z(w^{-n}\hat{u}^\star\Delta H_+)=\operatorname{Tr}_{z,w}(\hat{u}^\star\Delta H_+). σ u ( W ) = n ∈ Z ∑ Tr z ( w − n u ^ ⋆ Δ H + ) = Tr z , w ( u ^ ⋆ Δ H + ) .
By Lemma S3 the last trace depends on H + H_+ H + only through its class, which is η e \eta_e η e by Eq. (118) .
The Transmission Theorem
Theorem S8 (Microscopic affine straight-wall transmission). Let the BB code satisfy 0 < Q < ∞ 0 < Q < \infty 0 < Q < ∞ , fix either wall orientation, and let the wall be a transverse-normalized microscopic longitudinal-ribbon realization produced by the interblock construction, with any choice of lift and the corresponding patch rows. Then finite admissible crossing Paulis with designated remote syndromes on retained checks exist for every electric and magnetic label in both crossing directions, and
Rel w a l l = Graph ( D l a b ) . (121) \operatorname{Rel}_{\mathrm{wall}} = \operatorname{Graph}(D_{\mathrm{lab}}). \tag*{(121)} Rel wall = Graph ( D lab ) . (121) Two finite admissible crossing Paulis with the same exact remote syndrome differ, up to phase, by a completed-wall stabilizer.
Proof. For the forward inclusion, put c N = S N ( w ) c c_N = S_N(w)c c N = S N ( w ) c and d N = S N ( w ) d d_N = S_N(w)d d N = S N ( w ) d . Then
f ⋆ c N + g ⋆ d N = 1 + w N . (122) f^\star c_N + g^\star d_N = 1 + w^N. \tag*{(122)} f ⋆ c N + g ⋆ d N = 1 + w N . (122)
For r ∈ V e r \in V_e r ∈ V e , define
W 0 ( N ) ( r ) = Z [ r ~ ( c N , d N ) ] X [ r ( d N ⋆ , c N ⋆ ) ] . (123) W_0^{(N)}(r) = Z[\tilde r(c_N,d_N)]X[r(d_N^\star,c_N^\star)]. \tag*{(123)} W 0 ( N ) ( r ) = Z [ r ~ ( c N , d N )] X [ r ( d N ⋆ , c N ⋆ )] . (123)
Its exact syndromes are syn e W 0 ( N ) ( r ) = r ~ ( 1 + w N ) \operatorname{syn}_e W_0^{(N)}(r) = \tilde r(1+w^N) syn e W 0 ( N ) ( r ) = r ~ ( 1 + w N ) and syn m W 0 ( N ) ( r ) = r ˉ ( 1 + w − N ) \operatorname{syn}_m W_0^{(N)}(r) = \bar r(1+w^{-N}) syn m W 0 ( N ) ( r ) = r ˉ ( 1 + w − N ) . The block-zero clusters are affine matched, while the strict-bank clusters lie at distance at least ( N − 1 ) p ⊥ + 1 (N-1)p_\perp+1 ( N − 1 ) p ⊥ + 1 , and hence outside the removed wall block for every N ≥ 1 N \ge1 N ≥ 1 . Moreover, W 0 ( N ) ( r ) W_0^{(N)}(r) W 0 ( N ) ( r ) has the affine form of Lemma S15(ii), so its interblock pattern, that of Lemma S26 with Δ N = c N v + d N h = S N ( w ) Δ \Delta_N = c_Nv+d_Nh=S_N(w)\Delta Δ N = c N v + d N h = S N ( w ) Δ in place of Δ \Delta Δ , sums to zero at every offset.
The compact path recurrence therefore supplies removed-check dressing that cancels every pointwise interblock commutator. Choose N N N large enough that the remote clusters also lie beyond the uniform support collar of the relations z M a = M a zM_a=M_a z M a = M a (mod S 0 S_0 S 0 ). For the dressed crossing, b n = ⟨ W ( N ) ( r ) , z n M a ⟩ b_n=\langle W^{(N)}(r),z^nM_a\rangle b n = ⟨ W ( N ) ( r ) , z n M a ⟩ satisfies b n + 1 = b n b_{n+1}=b_n b n + 1 = b n ; it vanishes for large ∣ n ∣ |n| ∣ n ∣ by support disjointness and hence for every n n n . Thus W ( N ) ( r ) W^{(N)}(r) W ( N ) ( r ) is admissible and commutes with every patch row. Reversing w w w and exchanging the CSS halves gives both crossing directions and both tones. Since the label spaces are finite dimensional, the standard lifts, incidence dressings, and final choice of N N N may be fixed on a basis with one uniform support bound and extended linearly. Hence
Graph ( D l a b ) ⊆ Rel w a l l . \operatorname{Graph}(D_{\mathrm{lab}}) \subseteq\operatorname{Rel}_{\mathrm{wall}}. Graph ( D lab ) ⊆ Rel wall .
Conversely, let W W W be an admissible crossing and write its remote labels as a L = e r L m s L a_L=e_{r_L}m_{s_L} a L = e r L m s L and a R = e r R m s R a_R=e_{r_R}m_{s_R} a R = e r R m s R . Commutation with every interblock row gives σ u ( W ) = 0 \sigma_u(W)=0 σ u ( W ) = 0 , so Lemma S29 gives ϕ ( u , η e ) = 0 \phi(u,\eta_e)=0 ϕ ( u , η e ) = 0 for every u ∈ Λ 0 u\in\Lambda_0 u ∈ Λ 0 . The classes of the monomials u ^ b \hat u^b u ^ b span V m V_m V m , and ϕ \phi ϕ is perfect (Lemma S4), so η e = 0 \eta_e=0 η e = 0 . Lemma S28 then gives η m = 0 \eta_m=0 η m = 0 . These are r R = s L ⋆ r_R=s_L^\star r R = s L ⋆ and s R = r L ⋆ s_R=r_L^\star s R = r L ⋆ , that is, a R = D l a b ( a L ) a_R=D_{\mathrm{lab}}(a_L) a R = D lab ( a L ) , proving the reverse inclusion.
Finally, if W W W and W ′ W' W ′ have the same exact remote syndrome, their remote-check commutators cancel, so W W ′ WW' W W ′ is a compact completed-wall centralizer. Straight-wall local exactness makes it, up to scalar phase, a completed-wall stabilizer. The uniqueness clause is for equal exact remote syndromes, not for crossings agreeing only in anyon class.
Without Normalization
Normalizing the ribbon is not a gauge choice: two solutions of the period equation differ by a syzygy, whose checks inside the removed block the wall has merged away (Sec. SIII C), and by the proposition below an unnormalized realization can transmit a label pair the duality forbids while normalized walls of the same code do not. The anomaly lies in the realization, not the code. No necessary-and-sufficient criterion for an unnormalized realization to be anomalous is proved.
Proposition S2 (An unnormalized wall realization). There is a code with 0 < Q < ∞ 0<Q<\infty 0 < Q < ∞ , an un-normalized fixed longitudinal-ribbon wall realization of it with a patch basis and lifts, and a finite Pauli of weight 21 21 21 that is an admissible crossing in the sense of Definition S11 with this realization in place of the transverse-normalized wall and whose remote label pair lies outside Graph ( D l a b ) \operatorname{Graph}(D_{\mathrm{lab}}) Graph ( D lab ) . So the remote-label relation this realization defines is not contained in Graph ( D l a b ) \operatorname{Graph}(D_{\mathrm{lab}}) Graph ( D lab ) .
Proof. Fix BB( 2 , 2 , 1 , 4 ) (2,2,1,4) ( 2 , 2 , 1 , 4 ) , so that f = 1 + x + x − 2 y 4 f=1+x+x^{-2}y^4 f = 1 + x + x − 2 y 4 and g = 1 + y + x y − 2 g=1+y+xy^{-2} g = 1 + y + x y − 2 , with l 0 = m 0 = 3 l_0=m_0=3 l 0 = m 0 = 3 , Q = 2 Q=2 Q = 2 and κ = x 2 y 2 \kappa=x^2y^2 κ = x 2 y 2 , and fix the un-normalized realization whose period ribbons are
h = y 3 + x 2 y 3 + y 4 + x y 4 + y 5 + x 2 y 5 , v = x 2 + x 4 + y + x 4 y + y 2 + x 2 y 2 + y 3 + x y 3 + x 2 y 3 + x 3 y 3 , c = x y 2 + y 3 + y 4 + x y 4 , d = x 3 y − 1 + x 2 + x 3 + y + y 2 + x 2 y 2 . (124) \begin{aligned}
h &= y^3+x^2y^3+y^4+xy^4+y^5+x^2y^5,\\
v &= x^2+x^4+y+x^4y+y^2+x^2y^2+y^3+xy^3+x^2y^3+x^3y^3,\\
c &= xy^2+y^3+y^4+xy^4,\\
d &= x^3y^{-1}+x^2+x^3+y+y^2+x^2y^2. \tag*{(124)}
\end{aligned} h v c d = y 3 + x 2 y 3 + y 4 + x y 4 + y 5 + x 2 y 5 , = x 2 + x 4 + y + x 4 y + y 2 + x 2 y 2 + y 3 + x y 3 + x 2 y 3 + x 3 y 3 , = x y 2 + y 3 + y 4 + x y 4 , = x 3 y − 1 + x 2 + x 3 + y + y 2 + x 2 y 2 . (124)
which satisfy f ⋆ h + g ⋆ v = 1 + x 3 f^\star h+g^\star v=1+x^3 f ⋆ h + g ⋆ v = 1 + x 3 and f ⋆ c + g ⋆ d = 1 + y 3 f^\star c+g^\star d=1+y^3 f ⋆ c + g ⋆ d = 1 + y 3 exactly. Its comparison polynomial reduces to Δ ‾ = y 4 + x 2 y 4 + x y 5 + x 2 y 5 + y 6 + x y 6 \overline{\Delta}=y^4+x^2y^4+xy^5+x^2y^5+y^6+xy^6 Δ = y 4 + x 2 y 4 + x y 5 + x 2 y 5 + y 6 + x y 6 , whose transverse support { 4 , 5 , 6 } \{4,5,6\} { 4 , 5 , 6 } lies outside the range { 0 , 1 , 2 } \{0,1,2\} { 0 , 1 , 2 } of Eq. (112) . For this realization there is a finite Pauli of weight 21 whose designated remote excitations are retained checks, of minimum distance 1 from the wall block. It commutes with every composite and interblock row of a buffered window, but its remote label pair is ( a L , a R ) = ( 1 , e y m 1 ) ∉ Graph ( D l a b ) (a_L,a_R)=(1,e_{y m_1})\notin\operatorname{Graph}(D_{\mathrm{lab}}) ( a L , a R ) = ( 1 , e y m 1 ) ∈ / Graph ( D lab ) , the − - − and + + + banks being the left and right sides as fixed above. In the label bases V e = V m = span ( 1 , y ) V_e=V_m=\operatorname{span}(1,y) V e = V m = span ( 1 , y ) and the component order (S1), one realizing Pauli is
u 1 = x − 2 y − 3 + x y − 3 + y − 2 + x − 2 y − 1 + x − 1 y − 1 + y − 1 + x − 2 + x − 3 y + x − 2 y + x − 1 y + x − 2 y 2 + x − 2 y 3 + x − 3 y 4 + x − 3 y 5 , v 1 = x − 3 y − 1 + x − 2 y − 1 + x − 2 + x − 3 y + x − 3 y 4 , u 2 = x − 3 y − 2 + x − 3 y 2 , v 2 = 0 , (125) \begin{aligned}
u_1={}&x^{-2}y^{-3}+xy^{-3}+y^{-2}+x^{-2}y^{-1}+x^{-1}y^{-1}+y^{-1}+x^{-2}\\
&+x^{-3}y+x^{-2}y+x^{-1}y+x^{-2}y^2+x^{-2}y^3+x^{-3}y^4+x^{-3}y^5,\\
v_1={}&x^{-3}y^{-1}+x^{-2}y^{-1}+x^{-2}+x^{-3}y+x^{-3}y^4,\\
u_2={}&x^{-3}y^{-2}+x^{-3}y^2,\qquad v_2=0, \tag*{(125)}
\end{aligned} u 1 = v 1 = u 2 = x − 2 y − 3 + x y − 3 + y − 2 + x − 2 y − 1 + x − 1 y − 1 + y − 1 + x − 2 + x − 3 y + x − 2 y + x − 1 y + x − 2 y 2 + x − 2 y 3 + x − 3 y 4 + x − 3 y 5 , x − 3 y − 1 + x − 2 y − 1 + x − 2 + x − 3 y + x − 3 y 4 , x − 3 y − 2 + x − 3 y 2 , v 2 = 0 , (125)
with support bounds [ − 3 , 1 ] × [ − 3 , 5 ] [-3,1]\times[-3,5] [ − 3 , 1 ] × [ − 3 , 5 ] . Direct Laurent multiplication gives its exact syndromes: all non-wall syndrome sites are designated strict-bank checks, and the wall-block violations are paired by the composites. These data and its commutators with the composites and interblock rows follow from Eq. (124) . For the patch family of Eq. (71) built from these ribbons, exact F 2 \mathbb{F}_2 F 2 arithmetic confirms that the basis centralizes the scaffold with ledgers spanning I e I_e I e , and that the Pauli commutes with every translate of every patch row meeting its support. It therefore meets every clause of admissibility.
Finite Walls
Definition S12 (Crossing window). For a transverse-normalized wall, take the pivot basis { ξ ν } \{\xi_\nu\} { ξ ν } of I e I_e I e and the patch rows M ν M_\nu M ν of Eq. (71) as the fixed patch basis and family of Definition S4, fix a crossing datum (Definition S5) of depth N N N and radius r × r_\times r × , and put
ρ w i n = ρ e n d + r i n c + max { 2 r c h k , d T , r p k g } , N w i n = 2 ρ w i n + 3 , L × r o o m = max { r × + 2 r c h k , r p k g } . (126) \rho_{\mathrm{win}}=\rho_{\mathrm{end}}+r_{\mathrm{inc}}+\max\{2r_{\mathrm{chk}},d_T,r_{\mathrm{pkg}}\},\qquad N_{\mathrm{win}}=2\rho_{\mathrm{win}}+3,\qquad L_\times^{\mathrm{room}}=\max\{r_\times+2r_{\mathrm{chk}},r_{\mathrm{pkg}}\}. \tag*{(126)} ρ win = ρ end + r inc + max { 2 r chk , d T , r pkg } , N win = 2 ρ win + 3 , L × room = max { r × + 2 r chk , r pkg } . (126) Write N w a l l N_{\mathrm{wall}} N wall for the number of blocks of the finite wall, reserving N N N for the transverse crossing depth. Let the wall be naturally terminated, with blocks carrying exponents 0 , … , N w a l l − 1 0,\ldots,N_{\mathrm{wall}}-1 0 , … , N wall − 1 and N w a l l ≥ N w i n N_{\mathrm{wall}}\ge N_{\mathrm{win}} N wall ≥ N win . A crossing window at a wall block τ \tau τ is a pair Ω i n = N L × r o o m ( { τ } ) ⊂ Ω o u t = N ρ w i n ( Ω i n ) \Omega_{\mathrm{in}}=N_{L_\times^{\mathrm{room}}}(\{\tau\})\subset\Omega_{\mathrm{out}}=N_{\rho_{\mathrm{win}}}(\Omega_{\mathrm{in}}) Ω in = N L × room ({ τ }) ⊂ Ω out = N ρ win ( Ω in ) such that
(W1) Bulk window. Ω o u t = N ρ w i n ( Ω i n ) \Omega_{\mathrm{out}}=N_{\rho_{\mathrm{win}}}(\Omega_{\mathrm{in}}) Ω out = N ρ win ( Ω in ) lifts to the plane without wrapping and lies in the straight-wall interior; in particular the longitudinal projection of its lift lies in the exponent interval { 0 , … , N w a l l − 1 } \{0,\ldots,N_{\mathrm{wall}}-1\} { 0 , … , N wall − 1 } ;
(W2) Endcaps far. Both endcaps are at least N w i n N_{\mathrm{win}} N win complete blocks from Ω o u t \Omega_{\mathrm{out}} Ω out .
By the choice of L × r o o m L_\times^{\mathrm{room}} L × room it then has two further properties.
(W3) Room for one package per direction. For each patch direction ν \nu ν the block b ν = τ b_\nu=\tau b ν = τ satisfies N r p k g ( b ν ) ⊆ Ω i n N_{r_{\mathrm{pkg}}}(b_\nu)\subseteq\Omega_{\mathrm{in}} N r pkg ( b ν ) ⊆ Ω in .
(W4) Room for the basis crossings. Ω i n \Omega_{\mathrm{in}} Ω in contains, with a 2 r c h k 2r_{\mathrm{chk}} 2 r chk -collar, the supports of the datum’s admissible crossings at τ \tau τ realizing every label of the fixed bases of V e V_e V e and V m V_m V m , in both crossing directions and both CSS tones: such crossings exist by Theorem S8, and their supports lie in N r × ( { τ } ) N_{r_\times}(\{\tau\}) N r × ({ τ }) (Definition S5).
Lemma S30. On a naturally terminated wall (Definition S4), let Ω i n ⊂ Ω o u t \Omega_{\mathrm{in}}\subset\Omega_{\mathrm{out}} Ω in ⊂ Ω out satisfy (W1)–(W2) and let W W W be a finite crossing supported in Ω i n \Omega_{\mathrm{in}} Ω in . Then every composite, interblock or installed patch row whose support can meet W W W is, after lifting, the corresponding translate of the infinite straight-wall row, and no endpoint row is encountered. Every pristine check whose commutator with W W W can be nonzero has support in Ω o u t \Omega_{\mathrm{out}} Ω out and is therefore a pristine lifted check, and likewise for a designated remote check and for a removed bank check used as bookkeeping. Every interblock row that can meet W W W has its entire support in Ω o u t \Omega_{\mathrm{out}} Ω out . Consequently the finite commutator table of W W W with everything that can contribute to its syndrome, ledger or interblock obstruction coincides with the table computed from the lifted infinite straight-wall scaffold.
Proof. By (W2) the finite wall has at least N w i n N_{\mathrm{win}} N win blocks of straight-wall interior on both sides of Ω o u t \Omega_{\mathrm{out}} Ω out , so natural termination (Definition S4) installs every composite, interblock and patch row meeting Ω o u t \Omega_{\mathrm{out}} Ω out as the translate of the straight-wall row, the whole package of such a patch translating in the wall since N w i n ≥ 2 r p k g ≥ max A a − min A a N_{\mathrm{win}}\ge2r_{\mathrm{pkg}}\ge\max A_a-\min A_a N win ≥ 2 r pkg ≥ max A a − min A a ; and by (W1) the lift is injective there. A pristine check q q q with nonzero commutator against W W W meets supp W ⊆ Ω i n \operatorname{supp}W\subseteq\Omega_{\mathrm{in}} supp W ⊆ Ω in , so supp q ⊆ N 2 r c h k ( Ω i n ) ⊆ Ω o u t \operatorname{supp}q\subseteq N_{2r_{\mathrm{chk}}}(\Omega_{\mathrm{in}})\subseteq\Omega_{\mathrm{out}} supp q ⊆ N 2 r chk ( Ω in ) ⊆ Ω out by Eq. (126) , and likewise for a designated remote check and a removed bank check; an interblock row T T T meeting W W W has diameter at most d T d_T d T , so supp T ⊆ N d T ( Ω i n ) ⊆ Ω o u t \operatorname{supp}T\subseteq N_{d_T}(\Omega_{\mathrm{in}})\subseteq\Omega_{\mathrm{out}} supp T ⊆ N d T ( Ω in ) ⊆ Ω out . ∎
Corollary S5. This is the finite-wall form of Theorem S8. Let Ω i n \Omega_{\mathrm{in}} Ω in be a crossing window (Definition S12). Restrict Rel w a l l \operatorname{Rel}_{\mathrm{wall}} Rel wall to admissible crossings W W W with supp W ⊆ Ω i n \operatorname{supp} W \subseteq\Omega_{\mathrm{in}} supp W ⊆ Ω in . Then:
(i) every electric and magnetic label is realized in both crossing directions by an admissible crossing;
(ii) the restricted relation satisfies Rel w a l l = Graph ( D l a b ) \operatorname{Rel}_{\mathrm{wall}} = \operatorname{Graph}(D_{\mathrm{lab}}) Rel wall = Graph ( D lab ) ;
(iii) if W W W and W ′ W' W ′ are two such crossings with the same exact remote syndrome, then W W ′ WW' W W ′ is, up to scalar phase, a completed-wall stabilizer, and admits a factorization into installed rows (retained checks, composites, interblock rows and installed patch rows) with every individual factor supported in Ω o u t \Omega_{\mathrm{out}} Ω out . Retained checks are named explicitly here because the scaffold R 0 R_0 R 0 contains them, so they occur among the factors even though they are not completed-wall rows in the sense of Definition S11.
Proof. By (W4), Ω i n \Omega_{\mathrm{in}} Ω in contains a basis crossing for every label, in both directions and CSS tones, at the datum’s depth and at one common anchor, while (W1)–(W2) and the prescribed collars make them admissible for the finite wall. Products of these crossings realize every electric and magnetic label, remain supported in Ω i n \Omega_{\mathrm{in}} Ω in , and remain admissible at that anchor. Since D l a b D_{\mathrm{lab}} D lab is additive, this proves (i) and the inclusion Graph ( D l a b ) ⊆ Rel w a l l \operatorname{Graph}(D_{\mathrm{lab}}) \subseteq\operatorname{Rel}_{\mathrm{wall}} Graph ( D lab ) ⊆ Rel wall . Conversely, by Lemma S30 every wall row meeting a crossing supported in Ω i n \Omega_{\mathrm{in}} Ω in is the corresponding installed straight-wall row. Thus every restricted admissible crossing is covered by Theorem S8, giving Rel w a l l ⊆ Graph ( D l a b ) \operatorname{Rel}_{\mathrm{wall}} \subseteq\operatorname{Graph}(D_{\mathrm{lab}}) Rel wall ⊆ Graph ( D lab ) and proving (ii). For (iii), put P = W W ′ P = WW' P = W W ′ . Equality of the exact remote syndromes and admissibility imply that P P P is supported in Ω i n \Omega_{\mathrm{in}} Ω in and centralizes every scaffold row; hence h : = ℓ ( P ) ∈ I e h := \ell(P) \in I_{\mathrm{e}} h := ℓ ( P ) ∈ I e by Lemma S12. Since r i n c = r c h k + r T + 1 r_{\mathrm{inc}} = r_{\mathrm{chk}} + r_T + 1 r inc = r chk + r T + 1 , Eqs. (126) and (S60) give ρ w i n ≥ R 0 \rho_{\mathrm{win}} \ge R_0 ρ win ≥ R 0 . Write h = ∑ ν h ν ξ ν h = \sum_{\nu} h_\nu\xi_\nu h = ∑ ν h ν ξ ν ; by (W3), Theorem S2, Lemma S25(ii), and Definition S4, the corresponding translates M ν , b ν M_{\nu,b_\nu} M ν , b ν are installed, supported in Ω i n \Omega_{\mathrm{in}} Ω in , and have ledger ξ ν \xi_\nu ξ ν . For M = ∏ ν M ν , b ν h ν M = \prod_{\nu} M_{\nu,b_\nu}^{h_\nu} M = ∏ ν M ν , b ν h ν , therefore, P M PM P M is supported in Ω i n \Omega_{\mathrm{in}} Ω in , centralizes the scaffold, and has zero ledger. Corollary S1 yields P M ∈ S i n , o u t PM \in S_{\mathrm{in,out}} P M ∈ S in , out , so it is a product of retained checks, composites, and interblock rows, each individually supported in Ω o u t \Omega_{\mathrm{out}} Ω out . Multiplying by the installed patch factors of M M M , themselves supported in Ω i n ⊆ Ω o u t \Omega_{\mathrm{in}} \subseteq\Omega_{\mathrm{out}} Ω in ⊆ Ω out , gives the required completed-wall-stabilizer factorization of P = W W ′ P = WW' P = W W ′ , up to scalar phase.
Corollary S6 (Local exactness up to the room). Let Λ ≥ 0 \Lambda\ge0 Λ ≥ 0 and work in a standard configuration at room ρ 0 + Λ \rho_0 + \Lambda ρ 0 + Λ . Every Pauli that commutes with every row and is supported in a non-wrapping box of block diameter at most Λ \Lambda Λ is, up to phase, a product of rows, each within a fixed buffer of the box. With δ H \delta_H δ H the largest block diameter of a row, the code distance therefore exceeds 1 + Λ / δ H 1 + \Lambda/\delta_H 1 + Λ/ δ H ; for n ≥ 2 n \ge2 n ≥ 2 the pair loops Z t , b Z_{t,b} Z t , b , t < n t < n t < n , b ≠ 0 b \ne0 b = 0 , are logical (Theorem S3) and bound it by their weight, at most 2 s r i b ( L t + W t ) 2s_{\mathrm{rib}}(L_t + W_t) 2 s rib ( L t + W t ) (Lemma S18). The same factorization gives the conditions TQO-1 and TQO-2 of Ref. [91] at every scale up to Λ \Lambda Λ , for coarse cells larger than twice the buffer; for a family with the code and its realization fixed and the walls, separations and room growing in proportion to a square torus, the gap is then stable under weak local perturbations.
Proof. Walls are at least ρ 0 + Λ \rho_0 + \Lambda ρ 0 + Λ long and apart, also from their own periodic images, and as in the proof of Lemma S17 both torus periods exceed 2 ( ρ 0 + Λ ) 2(\rho_0 + \Lambda) 2 ( ρ 0 + Λ ) . Put
a = r c h k + r p k g + 2 , e = a + ρ w i n + N w i n + 1 , b = e + ρ e n d + 2 ; a = r_{\mathrm{chk}} + r_{\mathrm{pkg}} + 2,\qquad e = a + \rho_{\mathrm{win}} + N_{\mathrm{win}} + 1,\qquad b = e + \rho_{\mathrm{end}} + 2; a = r chk + r pkg + 2 , e = a + ρ win + N win + 1 , b = e + ρ end + 2 ;
ρ 0 \rho_0 ρ 0 is taken with ρ 0 ≥ e + ρ e n d + 3 \rho_0 \ge e + \rho_{\mathrm{end}} + 3 ρ 0 ≥ e + ρ end + 3 and ρ 0 ≥ b + r c h k + max { r c h k , r r o w } + 2 \rho_0 \ge b + r_{\mathrm{chk}} + \max\{r_{\mathrm{chk}}, r_{\mathrm{row}}\} + 2 ρ 0 ≥ b + r chk + max { r chk , r row } + 2 . Let A A A be a box of diameter at most Λ \Lambda Λ . Then N b ( A ) N_b(A) N b ( A ) lifts without wrapping, and if A A A is within r c h k r_{\mathrm{chk}} r chk of the carrier of a wall s s s , N b ( A ) N_b(A) N b ( A ) contains no removed check of another wall. If A A A is farther than r c h k r_{\mathrm{chk}} r chk from every carrier, Lemma S13 factors the Pauli into retained checks within r c h k r_{\mathrm{chk}} r chk of A A A . If A A A is within r c h k r_{\mathrm{chk}} r chk of the carrier of wall s s s and its longitudinal projection lies in the wall at least e e e blocks from both end blocks, then Ω i n = N a ( A ) \Omega_{\mathrm{in}} = N_a(A) Ω in = N a ( A ) and Ω o u t = N ρ w i n ( Ω i n ) \Omega_{\mathrm{out}} = N_{\rho_{\mathrm{win}}}(\Omega_{\mathrm{in}}) Ω out = N ρ win ( Ω in ) satisfy (W1)–(W3), with b v b_v b v the carrier block nearest A A A , and the proof of Corollary S5(iii), which uses P = W W ′ P = WW' P = W W ′ only its support and its commutation with the rows, and of the window only (W1)–(W3), factors the Pauli in Ω o u t ⊆ N b ( A ) \Omega_{\mathrm{out}} \subseteq N_b(A) Ω out ⊆ N b ( A ) . Otherwise A A A lies within e e e blocks of the end block of an endpoint s s s ; the least block rectangle containing A A A and that block lies in N e + 1 ( A ) N_{e+1}(A) N e + 1 ( A ) and at least ρ 0 + Λ − ( Λ + e + 3 ) ≥ ρ e n d \rho_0 + \Lambda- (\Lambda+ e + 3) \ge\rho_{\mathrm{end}} ρ 0 + Λ − ( Λ + e + 3 ) ≥ ρ end blocks from s o p p s_{\mathrm{opp}} s opp , so it is an endpoint window with Ω o u t ⊆ N b ( A ) \Omega_{\mathrm{out}} \subseteq N_b(A) Ω out ⊆ N b ( A ) , and Theorem S6 gives the factorization. A commuting Pauli of weight at most 1 + Λ / δ H 1 + \Lambda/\delta_H 1 + Λ/ δ H splits into pieces linked through rows, each commuting with every row by itself and lying in such a box, so it is a stabilizer. The factorization is TQO-1, and TQO-2 once each row is assigned to a 2 × 2 2 \times2 2 × 2 square of cells containing it, chosen in each coordinate toward the side of the row’s midpoint; Theorem 1 of Ref. [91] then gives the gap.
The F and R Matrices as Categorical Data
The fusion rules (S101) determine which processes can occur; the F F F - and R R R -matrices determine their amplitudes. This section matches the microscopic data — the channel group, its pairing, and the two loop families — to the data of a Tambara–Yamagami category (Sec. SVIA), reads the recoupling off that identification twice, once from the model and once from the category (Sec. SVIB), and reads off the exchange, separating what the code fixes from the choice of quadratic refinement (Sec. SVIC).
Setting for this section. Sec. SVI uses the period ribbons of Definition S6(S1) and the label section of Lemma S16 in a common non-wrapping lift, so that for b ∈ V m b \in V_m b ∈ V m one may write B b = s m ( b ) B_b=s_m(b) B b = s m ( b ) and B b ι = κ B b ⋆ B_b^{\iota}=\kappa B_b^{\star} B b ι = κ B b ⋆ and quantify over b b b freely. Results in this section assume this Setting and state only the hypotheses that go beyond it.
Microscopic Data for the Tambara–Yamagami Category
We first separate a pairing fixed directly by BB ribbon algebra from the abstract bicharacter of a Tambara–Yamagami (TY) category. Recall that TY associativity data are classified by a non-degenerate symmetric bicharacter χ \chi χ on A A A together with a sign ν = ± 1 \nu=\pm1 ν = ± 1 , giving [ F σ σ ′ ] a , b = ν ∣ A ∣ − 1 / 2 χ ( a , b ) − 1 [F^{\sigma\sigma'}]_{a,b}=\nu|A|^{-1/2}\chi(a,b)^{-1} [ F σ σ ′ ] a , b = ν ∣ A ∣ − 1/2 χ ( a , b ) − 1 [79 Def. 3.1 and Thm. 3.2] , while the ordinary braidings of TY ( A , χ , ν ) \operatorname{TY}(A,\chi,\nu) TY ( A , χ , ν ) exist precisely when every element of A A A squares to the identity [80 Thm. 1.2] , which A ≅ Z 2 Q A\cong\mathbb{Z}_2^Q A ≅ Z 2 Q satisfies; the modular data of the Drinfeld centre Z ( TY ) Z(\operatorname{TY}) Z ( TY ) are given in Ref. [81 §4.3] . What the code fixes is not the existence of such data but which bicharacter occurs: the identification χ = λ \chi=\lambda χ = λ below makes it the code’s pairing. The exchange phases of the twists are crossed R R R -symbols of the Z 2 \mathbb{Z}_2 Z 2 -crossed extension describing extrinsic defects [59 §V and §VI.B] , the G G G -graded categorical extension of [97 ] , not an ordinary braiding of the TY fusion category.
The twist and the invariant channels form a Tambara–Yamagami category TY ( A , χ , ν ) \operatorname{TY}(A,\chi,\nu) TY ( A , χ , ν ) : A A A is computed from the code below, χ = λ \chi=\lambda χ = λ is Theorem S9, and of the fusion-category data only the sign ν \nu ν is left undetermined (Sec. SVIC). For fixed ( A , χ ) (A,\chi) ( A , χ ) the two TY fusion categories differ precisely in ν \nu ν . Nor can the charge sectors supply it — the squared vacuum-channel overlap is ∣ A ∣ − 1 |A|^{-1} ∣ A ∣ − 1 identically, which fixes ∣ [ F σ σ ′ ] 0 , 0 ∣ |[F^{\sigma\sigma'}]_{0,0}| ∣ [ F σ σ ′ ] 0 , 0 ∣ and erases its sign. No further F 2 F_2 F 2 datum computed here determines ν \nu ν .
The code-derived pairing. Let
A = { ϵ a = ( a , a ι ) : a ∈ V m } ≅ V m (127) A=\{\epsilon_a=(a,a^{\iota}):a\in V_m\}\cong V_m \tag*{(127)} A = { ϵ a = ( a , a ι ) : a ∈ V m } ≅ V m (127)
be the additive group of defect-invariant channels, indexed by their magnetic components; we use that indexing throughout, writing ϵ a \epsilon_a ϵ a for the channel and a ∈ V m a\in V_m a ∈ V m for its index. The pairing λ \lambda λ of Eq. (32) , which Theorem S4 makes the commutation phase of the two loop families, is read on channels through their indices, λ ( ϵ a , ϵ b ) : = λ ( a , b ) \lambda(\epsilon_a,\epsilon_b):=\lambda(a,b) λ ( ϵ a , ϵ b ) := λ ( a , b ) ; the arguments fed to B \mathcal{B} B are always the indices, never the pairs themselves.
Lemma S31 (Channel spin and trivial parent monodromy). The diagonal of the symmetric non-degenerate bicharacter λ \lambda λ (Lemma S5) is the spin of the channel,
λ ( a , a ) = θ ϵ a = B ( a , a ι ) . (128) \lambda(a,a)=\theta_{\epsilon_a}=\mathcal{B}(a,a^{\iota}). \tag*{(128)} λ ( a , a ) = θ ϵ a = B ( a , a ι ) . (128) *The full parent-theory monodromy on V e ⊕ V m V_e\oplus V_m V e ⊕ V m , for r , r ′ ∈ V e r,r'\in V_e r , r ′ ∈ V e and s , s ′ ∈ V m s,s'\in V_m s , s ′ ∈ V m ,
M ( ϵ r m s , ϵ r ′ m s ′ ) = B ( s , r ′ ) B ( s ′ , r ) , (129) \mathcal{M}(\epsilon_r m_s,\epsilon_{r'}m_{s'})=\mathcal{B}(s,r')\mathcal{B}(s',r), \tag*{(129)} M ( ϵ r m s , ϵ r ′ m s ′ ) = B ( s , r ′ ) B ( s ′ , r ) , (129) is nevertheless trivial on two invariant channels:*
M ( ϵ a , ϵ b ) = λ ( a , b ) λ ( b , a ) = 1. (130) \mathcal{M}(\epsilon_a,\epsilon_b)=\lambda(a,b)\lambda(b,a)=1. \tag*{(130)} M ( ϵ a , ϵ b ) = λ ( a , b ) λ ( b , a ) = 1. (130) Proof. The diagonal formula is the spin of the composite of bosonic electric and magnetic constituents. Eq. (129) gives the first equality in Eq. (130) , and symmetry of λ \lambda λ and λ ( a , b ) 2 = 1 \lambda(a,b)^2=1 λ ( a , b ) 2 = 1 give the second.
The abstract TY category. The abstract TY category associated with the fusion rules Eq. (105) is specified by a symmetric non-degenerate bicharacter χ : A × A → U ( 1 ) \chi:A\times A\to U(1) χ : A × A → U ( 1 ) and
τ TY = ν ∣ A ∣ , ν ∈ { ± 1 } . (131) \tau_{\operatorname{TY}}=\frac{\nu}{\sqrt{|A|}},\qquad\nu\in\{\pm1\}. \tag*{(131)} τ TY = ∣ A ∣ ν , ν ∈ { ± 1 } . (131)
In the normal basis of Ref. [80 ] , χ ( a , b ) = σ 0 ( a , b ) \chi(a,b)=\sigma_0(a,b) χ ( a , b ) = σ 0 ( a , b ) is the scalar for the single braiding isomorphism ϵ a ϵ b → ϵ b ϵ a \epsilon_a\epsilon_b\to\epsilon_b\epsilon_a ϵ a ϵ b → ϵ b ϵ a . It is not their full monodromy, which is σ 0 ( a , b ) σ 0 ( b , a ) = 1 \sigma_0(a,b)\sigma_0(b,a)=1 σ 0 ( a , b ) σ 0 ( b , a ) = 1 .
Commutation within the Transfer Family
Theorem S4 gives the commutation phase of the two loop families, and Lemma S5 makes the pairing behind it perfect. For them to define two bases, each family must also be internally commuting: one cannot simultaneously measure noncommuting observables. For the pair-loop family Z s Z_s Z s , of pristine boundaries, this is immediate by Lemma S2. The transfer family X s X_s X s needs a computation, which we now record.
Lemma S32 (The transfer family is isotropic). *Under the hypotheses of Lemma S20, in a standard configuration (Definition S6), and for any crossing directions w u w_u w u in (S3),
⟨ X s , a , X s , b ⟩ = 0 for all a , b ∈ V m . (132) \langle X_{s,a},X_{s,b}\rangle=0\qquad\text{for all }a,b\in V_m. \tag*{(132)} ⟨ X s , a , X s , b ⟩ = 0 for all a , b ∈ V m . (132)
Proof. Write X s , b = U ( b ) D ( b ) X_{s,b}=U(b)D(b) X s , b = U ( b ) D ( b ) , where D ( b ) = D s ( b ) D n , s ( b ) D(b)=D_s(b)D_{n,s}(b) D ( b ) = D s ( b ) D n , s ( b ) collects the two removed-check transmission dressings and U ( b ) U(b) U ( b ) is the undressed product of the two crossings and the two corridors. Substituting the displayed crossing and corridor formulas gives the exact binary identity
U ( b ) = Z [ B b ι ( E 1 , E 2 ) ] X [ B b ( M 1 , M 2 ) ] , (133) U(b)=Z[B_b^{\iota}(E_1,E_2)]X[B_b(M_1,M_2)], \tag*{(133)} U ( b ) = Z [ B b ι ( E 1 , E 2 )] X [ B b ( M 1 , M 2 )] , (133)
in which the four finite Laurent seeds E 1 , E 2 , M 1 , M 2 E_1,E_2,M_1,M_2 E 1 , E 2 , M 1 , M 2 collect both crossing contributions and every corridor edge and, crucially, do not depend on the label b b b .
Expand the symplectic form using Eq. (133) and put F a , b = κ ⋆ A B ( E 1 ⋆ M 1 + E 2 ⋆ M 2 ) F_{a,b}=\kappa^{\star}AB(E_1^{\star}M_1+E_2^{\star}M_2) F a , b = κ ⋆ A B ( E 1 ⋆ M 1 + E 2 ⋆ M 2 ) , where A = s m ( a ) ^ A=\widehat{s_m(a)} A = s m ( a ) and B = s m ( b ) ^ B=\widehat{s_m(b)} B = s m ( b ) . Since the Laurent ring is commutative and A ι = κ A ⋆ A^{\iota}=\kappa A^{\star} A ι = κ A ⋆ , the two opposite-tone contributions are F a , b F_{a,b} F a , b and its antipode F ^ a , b \widehat{F}_{a,b} F a , b . The coefficient trace is antipode invariant, so
⟨ U ( a ) , U ( b ) ⟩ = tr ( F a , b + F ^ a , b ) = 2 tr F a , b = 0 \langle U(a),U(b)\rangle=\operatorname{tr}(F_{a,b}+\widehat{F}_{a,b})=2\operatorname{tr}F_{a,b}=0 ⟨ U ( a ) , U ( b )⟩ = tr ( F a , b + F a , b ) = 2 tr F a , b = 0
over F 2 \mathbb{F}_2 F 2 . Every same-tone pairing vanishes by the CSS form.
For the dressings, products of pristine checks commute, so ⟨ D ( a ) , D ( b ) ⟩ = 0 \langle D(a),D(b)\rangle=0 ⟨ D ( a ) , D ( b )⟩ = 0 . By boundary–syndrome adjointness D u ( a ) D_u(a) D u ( a ) reads only the exact syndrome of U ( b ) U(b) U ( b ) on its removed checks, which by Lemma S20 and the isolation (L5) is the ledger Λ u ( b ) \Lambda_u(b) Λ u ( b ) at its own anchor. Label the blocks of that wall as in Sec. SIII B, block j j j carrying z j − 1 z^{j-1} z j − 1 relative to the anchor; write B = ∑ v B v v ^ B=\sum_v B_v\hat{v} B = ∑ v B v v ^ ; and let c j , v ( a ) c_{j,v}(a) c j , v ( a ) be the parity of the coefficients of S j , ι ( v ) X S^X_{j,\iota(v)} S j , ι ( v ) X and S j , v Z S^Z_{j,v} S j , v Z in the prescribed compact straight-wall dressing, carried into the window with the same factors, each within r × r_\times r × of the anchor by Definition S5 (Lemma S30). By Eq. (29) , B ι = ∑ v B v ι ( v ) B^{\iota}=\sum_v B_v\iota(v) B ι = ∑ v B v ι ( v ) , so the anchor contributes ∑ v B v c 1 , v ( a ) \sum_v B_vc_{1,v}(a) ∑ v B v c 1 , v ( a ) . The dressed crossing commutes with every interblock row, so c j , v + c j + 1 , v = t j , v c_{j,v}+c_{j+1,v}=t_{j,v} c j , v + c j + 1 , v = t j , v , the pattern of Eq. (109) with r ^ = A ι \hat{r}=A^{\iota} r ^ = A ι and Δ u \Delta_u Δ u in place of Δ \Delta Δ , and compactness gives c 1 , v = ∑ j ≤ 0 t j , v c_{1,v}=\sum_{j\leq0}t_{j,v} c 1 , v = ∑ j ≤ 0 t j , v . Antipode invariance of the trace turns the pattern into
t j , v ( a ) = tr ( κ ⋆ A v ^ Δ u ⋆ ( z j + z 1 − j ) ) ; t_{j,v}(a)=\operatorname{tr}(\kappa^{\star}A\hat{v}\Delta_u^{\star}(z^j+z^{1-j})); t j , v ( a ) = tr ( κ ⋆ A v ^ Δ u ⋆ ( z j + z 1 − j )) ;
as j ≤ 0 j\leq0 j ≤ 0 and 1 − j ≥ 1 1-j\geq1 1 − j ≥ 1 exhaust Z \mathbb{Z} Z , the anchor contributes Tr z ( κ ⋆ A B Δ u ⋆ ) \operatorname{Tr}_z(\kappa^{\star}AB\Delta_u^{\star}) Tr z ( κ ⋆ A B Δ u ⋆ ) , symmetric in a a a and b b b . So the mixed terms ⟨ D ( a ) , U ( b ) ⟩ \langle D(a),U(b)\rangle ⟨ D ( a ) , U ( b )⟩ and ⟨ D ( b ) , U ( a ) ⟩ \langle D(b),U(a)\rangle ⟨ D ( b ) , U ( a )⟩ cancel, giving Eq. (132) .
Lemma S33 (Phase normalization of the transfer family). Assume Lemma S32, so that the binary Paulis X s , a X_{s,a} X s , a , a ∈ V m a\in V_m a ∈ V m , pairwise commute, and recall that the construction is linear in the label. Then Hermitian lifts may be chosen so that
X s , 0 = I , X s , a X s , b = X s , a + b for all a , b ∈ V m , (134) X_{s,0}=I,\qquad X_{s,a}X_{s,b}=X_{s,a+b}\qquad\text{for all }a,b\in V_m, \tag*{(134)} X s , 0 = I , X s , a X s , b = X s , a + b for all a , b ∈ V m , (134) as an identity of operators and not merely modulo scalar phase.
Proof. Fix an F 2 \mathbb{F}_2 F 2 -basis μ 1 , … , μ Q \mu_1,\ldots,\mu_Q μ 1 , … , μ Q of V m V_m V m and give each X s , μ i X_{s,\mu_i} X s , μ i its Hermitian lift; a Hermitian Pauli squares to I I I . By Lemma S32 these commute pairwise, so
X s , ∑ i a i μ i : = ∏ i ( X s , μ i ) a i , a i ∈ { 0 , 1 } , X_{s,\sum_i a_i\mu_i}:=\prod_i(X_{s,\mu_i})^{a_i},\qquad a_i\in\{0,1\}, X s , ∑ i a i μ i := i ∏ ( X s , μ i ) a i , a i ∈ { 0 , 1 } ,
is independent of the order of the factors and hence well defined, and it agrees with the original operator up to phase because the construction is label-linear. Since V m V_m V m is elementary abelian and each generator squares to I I I , the assignment is a homomorphism, which is Eq. (134) . Commutativity is what makes the product unambiguous; without it no such choice need exist.
Corollary S7 (Two complete measurement bases). Under the hypotheses of Lemma S32 and Theorem S5, each family { Z s , a } \{Z_{s,a}\} { Z s , a } and { X s , b } \{X_{s,b}\} { X s , b } is commuting, carries a group law in its label as an operator identity (Lemmas S24, S32 and S33), and is complete on the ∣ A ∣ |A| ∣ A ∣ -dimensional four-twist space at fixed total charge: the loop–transfer algebra is the full matrix algebra there (Theorem S5), and Theorem S4 with non-degeneracy of λ \lambda λ (Lemma S5) gives each family ∣ A ∣ |A| ∣ A ∣ distinct characters, hence rank-one joint eigenspaces. The rank-one conclusion does not need the group law; the recoupling argument below does. With the transfer route realizing the (23)(14) cut (Sec. SIV B), the two joint eigenbases are the (12)(34) and (23)(14) fusion bases.
The Tambara–Yamagami Identification
Theorem S9 (Microscopic TY identification). Assume Theorems S7, S5 and S4, the last for the Weyl relation, and Corollary S7 for the internal commutativity and group law of the X s X_s X s family. Then, with the transfer route realizing the (23)(14) cut, the (12)(34) and (23)(14) fusion bases diagonalize the two loop families in Theorem S4. The Weyl relation and global rank exhaustion force the recoupling between them to be the finite Fourier transform with kernel λ \lambda λ , up to row and column phases and a simultaneous relabeling of A A A ; this cut comparison is the categorical associator, whose row-and-column-phase invariant determines χ \chi χ . With labels fixed operationally by the Wilson-loop signatures, the TY bicharacter is therefore the code’s own braiding form: in the TY normal basis,
χ ( a , b ) = λ ( a , b ) = B ( a , b ι ) . (135) \chi(a,b)=\lambda(a,b)=B(a,b^{\iota}). \tag*{(135)} χ ( a , b ) = λ ( a , b ) = B ( a , b ι ) . (135)
Proof. Non-degeneracy of λ \lambda λ makes Theorem S4 the finite Weyl algebra of A A A . Theorem S5 supplies the dimension ∣ A ∣ |A| ∣ A ∣ of the completed fusion space, and irreducibility is then automatic. The exhaustion theorem treats all registers; here there is only the Z s , X s Z_s,X_s Z s , X s register. Indeed the commuting family Z s Z_s Z s splits the space into joint eigenspaces labelled by the characters λ ( ⋅ , c ) \lambda(\cdot,c) λ ( ⋅ , c ) , distinct by non-degeneracy; by the Weyl relation X s , b X_{s,b} X s , b maps the c c c -eigenspace onto the ( c + b ) (c+b) ( c + b ) -eigenspace, so all ∣ A ∣ |A| ∣ A ∣ eigenspaces occur with one common dimension, which the dimension ∣ A ∣ |A| ∣ A ∣ forces to be one. This is the finite Stone–von Neumann statement: the representation is irreducible and unique up to equivalence. Choose Z s , a ∣ c ⟩ = λ ( a , c ) ∣ c ⟩ Z_{s,a}|c\rangle=\lambda(a,c)|c\rangle Z s , a ∣ c ⟩ = λ ( a , c ) ∣ c ⟩ . The Weyl relation implies that X s , b ∣ c ⟩ X_{s,b}|c\rangle X s , b ∣ c ⟩ has the Z s Z_s Z s character labeled by c + b c+b c + b , up to a phase — this step needs λ \lambda λ symmetric , by Lemma S5, non-degeneracy alone leaving it twisted. After rephasing ∣ c ⟩ |c\rangle ∣ c ⟩ , the X s X_s X s eigenvectors are Fourier sums with kernel λ ( c , d ) \lambda(c,d) λ ( c , d ) . Row and column phases are not all fusion-vertex gauge, which fixes the ( 0 , 0 ) (0,0) ( 0 , 0 ) entry; read the bicharacter instead off the phase-independent ratio U a b U 00 / ( U a 0 U 0 b ) U_{ab}U_{00}/(U_{a0}U_{0b}) U ab U 00 / ( U a 0 U 0 b ) , equal to λ ( a , b ) \lambda(a,b) λ ( a , b ) here and to χ ( a , b ) \chi(a,b) χ ( a , b ) for the TY normal associator F a b = τ T Y χ ( a , b ) − 1 F_{ab}=\tau_{\mathrm{TY}}\chi(a,b)^{-1} F ab = τ TY χ ( a , b ) − 1 , both signs on an elementary abelian A A A . A simultaneous group automorphism is fixed once the microscopic Wilson loops are assigned their operational labels. □
The code-specific formulas below use χ = λ \chi=\lambda χ = λ ; the abstract TY formulas are independent of this identification.
F-Matrix
The recoupling matrix is computed from the model and compared with the Tambara–Yamagami classification.
From the model. Operationally, recoupling is a change of measurement basis between the groupings (12)(34) and (23)(14), each with a complete pair-charge family (Corollary S7, the transfer route realizing the (23)(14) cut); the matrix relating the two outcome bases is the recoupling matrix. By the proof of Theorem S9 it is the finite Fourier transform
[ U ( 12 ) → ( 23 ) ] a , b = 1 ∣ A ∣ B ( a , b ℓ ) , (136) \left[U_{(12)\to(23)}\right]_{a,b}=\frac{1}{\sqrt{|A|}}\,\mathcal{B}(a,b^\ell), \tag*{(136)} [ U ( 12 ) → ( 23 ) ] a , b = ∣ A ∣ 1 B ( a , b ℓ ) , (136)
up to the phase convention chosen for each basis vector. Nothing categorical enters this kernel, which follows from the commutation relations of operators built from the code polynomials.
From the category. In the canonical TY normal basis, the nontrivial recoupling matrix is
[ F σ σ σ σ ] a , b = ν ∣ A ∣ χ ( a , b ) − 1 . (137) \left[F^{\sigma\sigma\sigma}_{\sigma}\right]_{a,b}=\frac{\nu}{\sqrt{|A|}}\chi(a,b)^{-1}. \tag*{(137)} [ F σ σ σ σ ] a , b = ∣ A ∣ ν χ ( a , b ) − 1 . (137)
For A ≅ Z 2 2 A\cong\mathbb{Z}_2^2 A ≅ Z 2 2 , χ \chi χ takes values in { ± 1 } \{ \pm1\} { ± 1 } and the inverse may be omitted. Equation (S133), rather than a general symmetric-Hadamard ansatz, is the complete canonical solution of the pentagon equations [79 , 80 ] . Other fusion-vertex gauges multiply rows and columns by the corresponding vertex phases. A simultaneous permutation can always be used merely to reorder a displayed table. A physical relabeling of the group objects, however, must be induced by a group automorphism of A A A ; an automorphism preserving the same displayed bicharacter lies in Aut ( A , χ ) \operatorname{Aut}(A,\chi) Aut ( A , χ ) .
For B B ( 1 , 1 , 3 , 1 ) \mathrm{BB}(1,1,3,1) BB ( 1 , 1 , 3 , 1 ) we use throughout the binary-compatible magnetic-label order
( 0 , x 2 , x , x 2 + x , 1 , x 2 + 1 , x + 1 , x 2 + x + 1 ) , (138) (0,x^2,x,x^2+x,1,x^2+1,x+1,x^2+x+1), \tag*{(138)} ( 0 , x 2 , x , x 2 + x , 1 , x 2 + 1 , x + 1 , x 2 + x + 1 ) , (138)
corresponding to the ordered basis ( x 2 , x , 1 ) (x^2,x,1) ( x 2 , x , 1 ) . Direct evaluation of Eq. (32) gives exactly the 8 × 8 8\times8 8 × 8 sign matrix tabulated in Table S1 (Sec. SVII), read as λ ( a , b ) = B ( a , b ℓ ) \lambda(a,b)=\mathcal{B}(a,b^\ell) λ ( a , b ) = B ( a , b ℓ ) with both labels in the order (S134). It is symmetric, Hadamard, and biadditive in the channel labels, and its diagonal is the spin e θ e a e^{\theta_{e_a}} e θ e a . Under Eq. (135) , this is the matrix χ \chi χ entering Eq. (137) .
The two descriptions agree. Since χ = λ \chi=\lambda χ = λ by Theorem S9 and χ − 1 = χ \chi^{-1}=\chi χ − 1 = χ , Eqs. (136) and (137) have the same entries up to the overall sign ν \nu ν . Neither makes the other redundant: Eq. (136) gives the code’s spectral overlap but not coherence for larger twist configurations, which Eq. (137) , the complete solution of the pentagon equations, supplies; the latter in turn needs the data ( A , χ ) (A,\chi) ( A , χ ) from outside the pentagon — here the code’s pairing.
One datum is supplied by neither, the sign ν \nu ν : it is invisible to the spins θ e a \theta_{e_a} θ e a , which are unchanged under ν ↦ − ν \nu\mapsto-\nu ν ↦ − ν . The sign remains undetermined here, and Sec. SVIII A verifies that no later conclusion depends on it: ν \nu ν contributes only an overall phase to a braid word.
R-Matrix
The bicharacter λ \lambda λ is fixed by the microscopic Wilson/transfer algebra; a quadratic refinement of it is not fixed by that algebra alone.
The TY hexagon equations are most transparently solved by a quadratic refinement
ϱ ( a + b ) = ϱ ( a ) ϱ ( b ) χ ( a , b ) , ϱ ( 0 ) = 1. (139) \varrho(a+b)=\varrho(a)\varrho(b)\chi(a,b),\qquad\varrho(0)=1. \tag*{(139)} ϱ ( a + b ) = ϱ ( a ) ϱ ( b ) χ ( a , b ) , ϱ ( 0 ) = 1. (139)
Because every a ∈ A a \in A a ∈ A obeys 2 a = 0 2a=0 2 a = 0 , ϱ ( a ) 2 = χ ( a , a ) \varrho(a)^2=\chi(a,a) ϱ ( a ) 2 = χ ( a , a ) . In the same normal basis as Eq. (137) , the categorical exchange of two twists is diagonal in their fusion channel and satisfies
R σ σ ϵ a = R σ σ 1 ϱ ( a ) − 1 , ( R σ σ 1 ) 2 = τ T Y ∑ c ∈ A ϱ ( c ) . (140) R^{\epsilon_a}_{\sigma\sigma}=R^1_{\sigma\sigma}\varrho(a)^{-1},\qquad\left(R^1_{\sigma\sigma}\right)^2=\tau_{\mathrm{TY}}\sum_{c\in A}\varrho(c). \tag*{(140)} R σ σ ϵ a = R σ σ 1 ϱ ( a ) − 1 , ( R σ σ 1 ) 2 = τ TY c ∈ A ∑ ϱ ( c ) . (140)
Thus the relative channel phases are not independent. Once the values of ϱ \varrho ϱ on a basis of A A A are chosen, all remaining values are fixed by Eq. (139) .
The code fixes every square ϱ ( a ) 2 \varrho(a)^2 ϱ ( a ) 2 of the categorical refinement: by Eq. (139) and Theorem S9, ϱ ( a ) 2 = χ ( a , a ) = λ ( a , a ) = B ( a , a ι ) = θ ϵ a \varrho(a)^2=\chi(a,a)=\lambda(a,a)=\mathcal{B}(a,a^\iota)=\theta_{\epsilon_a} ϱ ( a ) 2 = χ ( a , a ) = λ ( a , a ) = B ( a , a ι ) = θ ϵ a , the spin of the channel (Lemma S31). Hence the relative exchange phase R σ σ ϵ a / R σ σ 1 = ϱ ( a ) − 1 R^{\epsilon_a}_{\sigma\sigma}/R^1_{\sigma\sigma}=\varrho(a)^{-1} R σ σ ϵ a / R σ σ 1 = ϱ ( a ) − 1 squares to θ ϵ a \theta_{\epsilon_a} θ ϵ a : it is ± 1 \pm1 ± 1 on bosonic and ± i \pm i ± i on fermionic channels. What is left undetermined is one sign per basis element of A A A , a character’s worth of freedom.
Extrinsic-defect exchange is defined only up to an overall phase [39 , 52 ] . Separately, changing the refinement by a character multiplies the exchange by a diagonal Pauli, up to phase, and Eq. (140) fixes the categorical exchange once the refinement, ν \nu ν , and the overall root are chosen.
Which refinement is realized therefore matters for the exchange phases of a given code, but not for the conclusions drawn from them below. Every refinement obeys ϱ ( a ) 2 = χ ( a , a ) ∈ { ± 1 } \varrho(a)^2=\chi(a,a)\in\{\pm1\} ϱ ( a ) 2 = χ ( a , a ) ∈ { ± 1 } , so its values are fourth roots of unity and lie in the phase group of the Pauli group. Theorem S10 uses those fourth-root factors together with Eq. (139) itself, not the values alone. Theorem S11 is insensitive to it for a different reason: its conclusion is an identity between binary symplectic matrices, and two refinements differ by a character, so the exchanges differ, up to an overall phase, by a Pauli, which has trivial binary action. Both statements are therefore the same for all 2 Q + 1 2^{Q+1} 2 Q + 1 braided choices at each sign ν \nu ν .
The sign ν \nu ν is the Frobenius–Schur indicator of σ \sigma σ in the canonical pivotal structure [98 Thm. 3.4] , and the two signs give inequivalent fusion categories [79 Thm. 3.2] .
If ϱ 0 \varrho_0 ϱ 0 is one quadratic refinement, every other one is ϱ 0 ψ \varrho_0\psi ϱ 0 ψ for a character ψ ∈ A ^ \psi\in\widehat{A} ψ ∈ A . Hence, for each fixed ν \nu ν , there are ∣ A ∣ = 2 Q |A|=2^Q ∣ A ∣ = 2 Q channelwise refinements and, for each, two roots for R σ σ 1 R^1_{\sigma\sigma} R σ σ 1 . These are the 2 Q + 1 2^{Q+1} 2 Q + 1 ordinary braided choices for the TY fusion category in Ref. [80 ] . A physical twist exchange agrees with the corresponding exchange of Eq. (140) up to an overall phase and a Pauli. Collapsing the channel assignments of these choices to unordered multisets can lose the Pauli factor distinguishing the exchanges, although their binary symplectic action is unchanged.
The diagonal of a symmetric { ± 1 } \{\pm1\} { ± 1 } -valued bicharacter is a character, and its sum obeys a strict dichotomy.
Lemma S34 (Diagonal character sum). Let χ : A × A → { ± 1 } \chi:A\times A\to\{\pm1\} χ : A × A → { ± 1 } be a symmetric bicharacter on A ≅ Z 2 Q A\cong\mathbb{Z}_2^Q A ≅ Z 2 Q . Then
∑ a ∈ A χ ( a , a ) ∈ { 0 , ∣ A ∣ } . (141) \sum_{a\in A}\chi(a,a)\in\{0,|A|\}. \tag*{(141)} a ∈ A ∑ χ ( a , a ) ∈ { 0 , ∣ A ∣ } . (141)
Symmetry makes d χ ( a ) = χ ( a , a ) d_\chi(a)=\chi(a,a) d χ ( a ) = χ ( a , a ) a character of A A A , and a character sums to ∣ A ∣ |A| ∣ A ∣ or to 0 0 0 . The two cases are the two kinds of symmetric form over F 2 \mathbb{F}_2 F 2 , d χ d_\chi d χ being trivial exactly when χ \chi χ is alternating; they separate the boson-only from the half-fermionic levels of the hierarchy of Ref. [62 , 85 ] . A non-degenerate alternating form exists only in even dimension: for a ≠ 0 a\ne0 a = 0 choose b b b with χ ( a , b ) = − 1 \chi(a,b)=-1 χ ( a , b ) = − 1 ; the plane ⟨ a , b ⟩ \langle a,b\rangle ⟨ a , b ⟩ is non-degenerate, A A A is its orthogonal sum with its complement, and induction applies.
Corollary S8 (Odd index forces fermions). If Q Q Q is odd, exactly half of the 2 Q 2^Q 2 Q channels ϵ a \epsilon_a ϵ a are fermions.
Proof. The pairing λ \lambda λ is symmetric and non-degenerate (Lemma S5). Were every channel bosonic, λ \lambda λ would be alternating, which forces Q Q Q to be even. So d λ d_\lambda d λ is a non-trivial character and equals − 1 -1 − 1 on exactly half of A A A . □
For the code-derived pairing, d λ ( a ) = B ( a , a ι ) d_\lambda(a)=\mathcal{B}(a,a^\iota) d λ ( a ) = B ( a , a ι ) is the spin of ϵ a \epsilon_a ϵ a . For BB( 1 , 1 , 3 , 1 ) (1,1,3,1) ( 1 , 1 , 3 , 1 ) the diagonal in the order Eq. (138) is ( + 1 , − 1 , + 1 , − 1 , − 1 , + 1 , − 1 , + 1 ) (+1,-1,+1,-1,-1,+1,-1,+1) ( + 1 , − 1 , + 1 , − 1 , − 1 , + 1 , − 1 , + 1 ) and sums to zero, as Corollary S8 requires for Q = 3 Q=3 Q = 3 .
Measurement-Only Braiding
The preceding sections define the twists and their categorical data; this section shows how to braid them without physically moving them, using only pair-charge measurements by Wilson loops. The twist is self-dual, so σ ˉ = σ \bar{\sigma}=\sigma σ ˉ = σ in the notation below.
We use the measurement-only framework [50 ] , which replaces the physical braiding of twists (σ \sigma σ ) by an adaptive sequence of topological charge measurements. To braid twists 1 and 4 without moving them, introduce an auxiliary pair of twists, 2 and 3, initialized from the vacuum 1 into the maximally entangled state ∣ σ ˉ , σ ; 1 ⟩ 23 |\bar{\sigma},\sigma;1\rangle_{23} ∣ σ ˉ , σ ; 1 ⟩ 23 . At vacuum total charge, four twists with (23) in vacuum leave (14) in vacuum as well, so a third pair, 5 and 6, carries the charge that balances (14).
Setting. Work in a standard configuration on n = 3 n=3 n = 3 walls (Definition S6), built as in its construction, with wall 3 the reference. Number the twists so that wall 2 carries twists 2 and 3, wall 3 carries twists 1 and 4, and wall 1 carries twists 5 and 6, with twists 2 and 1 the facing ends of wall 2 and the reference wall; the route γ 2 \gamma_2 γ 2 of (S3) then encloses twists 1 and 2. With the no-excitation normalization, Theorem S5 fixes the total pair charge to vacuum, so the three pair labels sum to zero, and with (23) at label 0 the pairs (14) and (56) carry one common label q ∈ A q \in A q ∈ A . These 2 Q 2^Q 2 Q values form the register of Q Q Q qubits on which the braid acts. The pair (56) is a spectator: none of the operators below meets wall 1.
The three measured families. For a ∈ A a \in A a ∈ A put
A a = Z 2 , a , B a = X 2 , a , C a ∝ X 2 , a Z 3 , a . (142) A_a=Z_{2,a},\qquad B_a=X_{2,a},\qquad C_a\propto X_{2,a}Z_{3,a}. \tag*{(142)} A a = Z 2 , a , B a = X 2 , a , C a ∝ X 2 , a Z 3 , a . (142)
the pair loop of (23), the transfer loop along γ 2 \gamma_2 γ 2 , and the product of that transfer loop with the pair loop of the reference wall, whose cycle γ 2 + ∂ D 3 \gamma_2+\partial D_3 γ 2 + ∂ D 3 encloses twists 2 and 4 modulo two. We call the measurements of B B B and C C C the (12) and (24) measurements after the twists these cycles enclose; C C C is the product just defined, not the transfer loop of a second route. The family A carries the positive lift of Lemma S24. The binary Paulis of B and C are linear in a a a and pairwise commuting: for B by Lemma S32; for C because the two cross terms ϕ ( a , b ι ) \phi(a,b^\iota) ϕ ( a , b ι ) and ϕ ( b , a ι ) \phi(b,a^\iota) ϕ ( b , a ι ) of Lemma S22 at t = n t=n t = n cancel by Eq. (33) , while the remaining terms vanish by Lemmas S32 and S24. The proof of Lemma S33 therefore gives each family Hermitian lifts with F 0 = I F_0=I F 0 = I and F a F b = F a + b F_aF_b=F_{a+b} F a F b = F a + b , which we fix. Lemma S22, at t = s t=s t = s and at t = n t=n t = n , together with these isotropy statements and the commutation of pair loops on distinct walls gives
F b H a = λ ( a , b ) H a F b , a , b ∈ A , (143) F_bH_a=\lambda(a,b)H_aF_b,\qquad a,b\in A, \tag*{(143)} F b H a = λ ( a , b ) H a F b , a , b ∈ A , (143)
for any two distinct families F , H ∈ { A , B , C } F,H\in\{A,B,C\} F , H ∈ { A , B , C } , with λ \lambda λ non-degenerate (Lemma S5). Each family is therefore diagonal on joint eigenspaces labelled by the characters λ ( t , ⋅ ) \lambda(t,\cdot) λ ( t , ⋅ ) , t ∈ A t\in A t ∈ A , with spectral projectors
P F t = ∣ A ∣ − 1 ∑ a ∈ A λ ( t , a ) F a , F ∈ { A , B , C } . (144) P_F^t=|A|^{-1}\sum_{a\in A}\lambda(t,a)F_a,\qquad F\in\{A,B,C\}. \tag*{(144)} P F t = ∣ A ∣ − 1 a ∈ A ∑ λ ( t , a ) F a , F ∈ { A , B , C } . (144)
For A the label t t t is the pair label of (23) (Lemma S24); for B and C it is defined relative to the fixed lifts. All three families lie in L U L_U L U of Eq. (93) and so commute with the bulk logical factor.
Lemma S35 (Phase of C a B a C_aB_a C a B a relative to the pair loop Z 3 , a Z_{3,a} Z 3 , a ). The fixed lifts determine a function η : A → { ± 1 , ± i } \eta:A\to\{\pm1,\pm i\} η : A → { ± 1 , ± i } by
C a B a = η ( a ) Z 3 , a , a ∈ A , (145) C_aB_a=\eta(a)Z_{3,a},\qquad a\in A, \tag*{(145)} C a B a = η ( a ) Z 3 , a , a ∈ A , (145) and it satisfies
η ( a + b ) = η ( a ) η ( b ) λ ( a , b ) , η ( 0 ) = 1 , η ( a ) 2 = λ ( a , a ) . (146) \eta(a+b)=\eta(a)\eta(b)\lambda(a,b),\qquad\eta(0)=1,\qquad\eta(a)^2=\lambda(a,a). \tag*{(146)} η ( a + b ) = η ( a ) η ( b ) λ ( a , b ) , η ( 0 ) = 1 , η ( a ) 2 = λ ( a , a ) . (146) Conversely, for every function η ′ \eta' η ′ obeying Eq. (146) the operators η ′ ( a ) Z 3 , a B a \eta'(a)Z_{3,a}B_a η ′ ( a ) Z 3 , a B a are Hermitian lifts of C with the group law. With B fixed, the Hermitian lifts of C with the group law are therefore the ∣ A ∣ |A| ∣ A ∣ families λ ( r , a ) C a \lambda(r,a)C_a λ ( r , a ) C a , r ∈ A r\in A r ∈ A ; passing to λ ( r , a ) C a \lambda(r,a)C_a λ ( r , a ) C a replaces η \eta η by λ ( r , ⋅ ) η \lambda(r,\cdot)\eta λ ( r , ⋅ ) η and P C t P_C^t P C t by P C t + r P_C^{t+r} P C t + r .
Proof. The operators C a B a C_aB_a C a B a and Z 3 , a Z_{3,a} Z 3 , a have the same binary Pauli by Eq. (142) , so they differ by a scalar η ( a ) \eta(a) η ( a ) , and C a = η ( a ) Z 3 , a B a C_a=\eta(a)Z_{3,a}B_a C a = η ( a ) Z 3 , a B a because B a 2 = I B_a^2=I B a 2 = I . Lemma S22 at t = n t=n t = n gives B a Z 3 , b = λ ( a , b ) Z 3 , b B a B_aZ_{3,b}=\lambda(a,b)Z_{3,b}B_a B a Z 3 , b = λ ( a , b ) Z 3 , b B a . With the group laws of B and of Z ( Lemma S24),
C a C b = η ( a ) η ( b ) Z 3 , a B a Z 3 , b B b = η ( a ) η ( b ) λ ( a , b ) Z 3 , a + b B a + b , C_aC_b=\eta(a)\eta(b)Z_{3,a}B_aZ_{3,b}B_b=\eta(a)\eta(b)\lambda(a,b)Z_{3,a+b}B_{a+b}, C a C b = η ( a ) η ( b ) Z 3 , a B a Z 3 , b B b = η ( a ) η ( b ) λ ( a , b ) Z 3 , a + b B a + b ,
and the group law of C equates this with η ( a + b ) Z 3 , a + b B a + b \eta(a+b)Z_{3,a+b}B_{a+b} η ( a + b ) Z 3 , a + b B a + b . The lifts at label 0 are I I I , so η ( 0 ) = 1 \eta(0)=1 η ( 0 ) = 1 , and b = a b=a b = a gives η ( a ) 2 λ ( a , a ) = 1 \eta(a)^2\lambda(a,a)=1 η ( a ) 2 λ ( a , a ) = 1 ; hence η \eta η takes values in { ± 1 , ± i } \{\pm1,\pm i\} { ± 1 , ± i } . For the converse, the displayed computation read backwards is the group law of η ′ ( a ) Z 3 , a B a \eta'(a)Z_{3,a}B_a η ′ ( a ) Z 3 , a B a , and its adjoint is η ′ ( a ) λ ( a , a ) Z 3 , a B a \eta'(a)\lambda(a,a)Z_{3,a}B_a η ′ ( a ) λ ( a , a ) Z 3 , a B a , which is the operator itself because η ′ ( a ˉ ) η ′ ( a ) 2 = η ′ ( a ) \eta'(\bar a)\eta'(a)^2=\eta'(a) η ′ ( a ˉ ) η ′ ( a ) 2 = η ′ ( a ) . Two Hermitian lifts of C with the group law differ by a homomorphism A → { ± 1 } A\to\{\pm1\} A → { ± 1 } , which is λ ( r , ⋅ ) \lambda(r,\cdot) λ ( r , ⋅ ) for a unique r r r by Lemma S5; the statement about P C t P_C^t P C t is Eq. (144) . □
Lemma S36 (Forced-measurement algebra). For distinct F , H ∈ { A , B , C } F,H\in\{A,B,C\} F , H ∈ { A , B , C } and all u , v , w ∈ A u,v,w\in A u , v , w ∈ A ,
P F u P H v P F w = ∣ A ∣ − 1 λ ( v , u + w ) H u + w P F w . (147) P_F^uP_H^vP_F^w=|A|^{-1}\lambda(v,u+w)H_{u+w}P_F^w. \tag*{(147)} P F u P H v P F w = ∣ A ∣ − 1 λ ( v , u + w ) H u + w P F w . (147) In particular P F u P H v P F u = ∣ A ∣ − 1 P F u P_F^uP_H^vP_F^u=|A|^{-1}P_F^u P F u P H v P F u = ∣ A ∣ − 1 P F u .
Proof. By Eq. (143) , H a H_a H a maps the F F F -eigenspace of label w w w onto that of label w + a w+a w + a , so P F u H a P F w P_F^uH_aP_F^w P F u H a P F w equals H a P F w H_aP_F^w H a P F w for a = u + w a=u+w a = u + w and vanishes otherwise. Insert Eq. (144) for P H v P_H^v P H v . □
The forced-measurement protocol. A measurement of a family is the projective measurement { P F t } t ∈ A \{P_F^t\}_{t\in A} { P F t } t ∈ A of its Q Q Q basis loops. The braid has three stages, forcing the outcome 0 of B, then of C, then of A; each stage starts in the label-0 eigenspace of the family forced before it, and the first in the prepared state, in the range of P A 0 P_A^0 P A 0 . A non-demolition measurement repeats its own outcome, so a nonzero outcome is not corrected by measuring the same family again. In a stage forcing H H H after F F F , measure H H H ; while the outcome is not 0, measure F F F , accepting any outcome, and measure H H H again.
Corollary S9 (Termination and a history-independent map). (i) Conditional on any earlier history, each measurement of the forced family returns 0 with probability 2 − Q 2^{-Q} 2 − Q . A stage therefore succeeds within m m m attempts with probability 1 − ( 1 − 2 − Q ) m 1-(1-2^{-Q})^m 1 − ( 1 − 2 − Q ) m , and the protocol terminates with probability one. (ii) A completed run in which K K K measurements of forced families did not return 0 acts on the prepared state as
± ∣ A ∣ − K P A 0 P C 0 P B 0 P A 0 , (148) \pm|A|^{-K}P_A^0P_C^0P_B^0P_A^0, \tag*{(148)} ± ∣ A ∣ − K P A 0 P C 0 P B 0 P A 0 , (148) so after normalization every completed run implements the same map up to sign.
Proof. Each measurement of the forced family H H H follows a measurement of F F F , the end of the preceding stage, or the preparation, so the state ρ \rho ρ lies in the range of some P w P^w P w , and tr ( P H 0 ρ ) = tr ( P H 0 P H w ρ P H w ) = 2 − Q \operatorname{tr}(P_H^0\rho)=\operatorname{tr}(P_H^0P_H^w\rho P_H^w)=2^{-Q} tr ( P H 0 ρ ) = tr ( P H 0 P H w ρ P H w ) = 2 − Q by Lemma S36; this gives (i). For (ii), a stage applies a word P H 0 P F u k P F v k ⋯ P F u 1 P F v 1 P F 0 P_H^0P_F^{u_k}P_F^{v_k}\cdots P_F^{u_1}P_F^{v_1}P_F^0 P H 0 P F u k P F v k ⋯ P F u 1 P F v 1 P F 0 with every v i ≠ 0 v_i\ne0 v i = 0 . The group law gives P H t H a = λ ( t , a ) P H t P_H^tH_a=\lambda(t,a)P_H^t P H t H a = λ ( t , a ) P H t , so Eq. (147) at w = 0 w=0 w = 0 removes one failed attempt at a time from the right, leaving ± ∣ A ∣ − k P H 0 P F 0 \pm|A|^{-k}P_H^0P_F^0 ± ∣ A ∣ − k P H 0 P F 0 . The three stages multiply to Eq. (148) .
Lemma S37 (The implemented map). Put D a = A a Z 3 , a D_a=A_aZ_{3,a} D a = A a Z 3 , a , the product of the pair loops of (23) and (14). The family D D D is Hermitian with the group law and commutes with A, B and C; let P D r = ∣ A ∣ − 1 ∑ a ∈ A λ ( r , a ) D a P_D^r=|A|^{-1}\sum_{a\in A}\lambda(r,a)D_a P D r = ∣ A ∣ − 1 ∑ a ∈ A λ ( r , a ) D a be its spectral projectors and
U η = ∑ r ∈ A η ( r ) ‾ P D r , G η = ∑ a ∈ A η ( a ) . (149) U_\eta=\sum_{r\in A}\overline{\eta(r)}P_D^r,\qquad G_\eta=\sum_{a\in A}\eta(a). \tag*{(149)} U η = r ∈ A ∑ η ( r ) P D r , G η = a ∈ A ∑ η ( a ) . (149) Then U η U_\eta U η is unitary, ∣ G η ∣ 2 = ∣ A ∣ |G_\eta|^2=|A| ∣ G η ∣ 2 = ∣ A ∣ , and for all outcomes u , w , v ∈ A u,w,v\in A u , w , v ∈ A of B, of C and of a final measurement of A, with s = u + w + v s=u+w+v s = u + w + v ,
P A v P C w P B u P A 0 = G η ‾ ∣ A ∣ 2 λ ( u , v ) η ( s ) ‾ D s U η B v P A 0 . (150) P_A^vP_C^wP_B^uP_A^0=\frac{\overline{G_\eta}}{|A|^2}\lambda(u,v)\overline{\eta(s)}D_sU_\eta B_vP_A^0. \tag*{(150)} P A v P C w P B u P A 0 = ∣ A ∣ 2 G η λ ( u , v ) η ( s ) D s U η B v P A 0 . (150) Each record ( u , w , v ) (u,w,v) ( u , w , v ) therefore occurs with probability ∣ A ∣ − 3 |A|^{-3} ∣ A ∣ − 3 on every prepared state, and applying the Pauli B v D s B_vD_s B v D s afterwards returns the auxiliary pair to the label 0 and leaves U η U_\eta U η up to a phase. In particular P A 0 P C 0 P B 0 P A 0 = G η ∣ A ∣ − 2 U η P A 0 P_A^0P_C^0P_B^0P_A^0=G_\eta|A|^{-2}U_\eta P_A^0 P A 0 P C 0 P B 0 P A 0 = G η ∣ A ∣ − 2 U η P A 0 . On the range of P A 0 P_A^0 P A 0 the loops D a D_a D a and Z 3 , a Z_{3,a} Z 3 , a agree, so on the register, where the pair (14) has label q q q , U η U_\eta U η multiplies by η ( q ) ‾ \overline{\eta(q)} η ( q ) and D s D_s D s by λ ( s , q ) \lambda(s,q) λ ( s , q ) .
Proof. The families A = Z 2 =Z_2 = Z 2 and Z 3 Z_3 Z 3 commute and carry the group law (Lemma S24), so D D D is Hermitian with the group law and commutes with A. By Theorem S4 and Lemma S22 at t = n t=n t = n , B a B_a B a picks up the same sign λ ( a , b ) \lambda(a,b) λ ( a , b ) from A b A_b A b and from Z 3 , b Z_{3,b} Z 3 , b , so it commutes with D b D_b D b ; and C a = η ( a ) Z 3 , a B a C_a=\eta(a)Z_{3,a}B_a C a = η ( a ) Z 3 , a B a then commutes with D b D_b D b as well. The phases η ( r ) ‾ \overline{\eta(r)} η ( r ) have modulus one and the P D r P_D^r P D r are orthogonal projectors summing to I I I , so U η U_\eta U η is unitary. By Eq. (146) ,
η ( a ) λ ( t , a ) = η ( a + t ) η ( t ) ‾ , t ∈ A , (151) \eta(a)\lambda(t,a)=\eta(a+t)\overline{\eta(t)},\qquad t\in A, \tag*{(151)} η ( a ) λ ( t , a ) = η ( a + t ) η ( t ) , t ∈ A , (151)
and likewise ∣ G η ∣ 2 = ∑ a , c η ( a ) η ( a + c ) ‾ = ∑ c η ( c ) ‾ ∑ a λ ( a , c ) = ∣ A ∣ |G_\eta|^2=\sum_{a,c}\eta(a)\overline{\eta(a+c)}=\sum_c\overline{\eta(c)}\sum_a\lambda(a,c)=|A| ∣ G η ∣ 2 = ∑ a , c η ( a ) η ( a + c ) = ∑ c η ( c ) ∑ a λ ( a , c ) = ∣ A ∣ , the inner sum vanishing for c ≠ 0 c\ne0 c = 0 by Lemma S5.
Insert Eq. (144) for P B w P_B^w P B w and P B u P_B^u P B u . By Eq. (145) and the group law of B, C b B a = η ( b ) Z 3 , b B a + b C_bB_a=\eta(b)Z_{3,b}B_{a+b} C b B a = η ( b ) Z 3 , b B a + b . The loops Z 3 , b Z_{3,b} Z 3 , b commute with A, and P A v C b P A u P_A^vC_bP_A^u P A v C b P A u equals B v P A 0 B_vP_A^0 B v P A 0 for c = v c=v c = v and vanishes otherwise, by Eq. (143) . Only a = b + v a=b+v a = b + v survives. Moreover Z 3 , b B v P A 0 = D b A b B v P A 0 = D b B v P A 0 Z_{3,b}B_vP_A^0=D_bA_bB_vP_A^0=D_bB_vP_A^0 Z 3 , b B v P A 0 = D b A b B v P A 0 = D b B v P A 0 , because A b P A 0 = P A 0 A_bP_A^0=P_A^0 A b P A 0 = P A 0 . Therefore
P A v P C w P B u P A 0 = ∣ A ∣ − 2 λ ( u , v ) ( ∑ b ∈ A λ ( s , b ) η ( b ) D b ) B v P A 0 . P_A^vP_C^wP_B^uP_A^0=|A|^{-2}\lambda(u,v)\left(\sum_{b\in A}\lambda(s,b)\eta(b)D_b\right)B_vP_A^0. P A v P C w P B u P A 0 = ∣ A ∣ − 2 λ ( u , v ) ( b ∈ A ∑ λ ( s , b ) η ( b ) D b ) B v P A 0 .
On the range of P D r P_D^r P D r the sum is ∑ b η ( b ) λ ( s + r , b ) = G η η ( r + s ) \sum_b\eta(b)\lambda(s+r,b)=G_\eta\eta(r+s) ∑ b η ( b ) λ ( s + r , b ) = G η η ( r + s ) by Eq. (151) , and η ( r + s ) ‾ = η ( s ) ‾ η ( r ) \overline{\eta(r+s)}=\overline{\eta(s)}\eta(r) η ( r + s ) = η ( s ) η ( r ) by Eq. (146) ; summing over r r r with D s P D r D_sP_D^r D s P D r gives Eq. (150) . The operator D s U η B v D_sU_\eta B_v D s U η B v is unitary and a prepared state is fixed by P A 0 P_A^0 P A 0 , so the squared norm of the image is ∣ G η ∣ 2 ∣ A ∣ − 4 = ∣ A ∣ − 3 |G_\eta|^2|A|^{-4}=|A|^{-3} ∣ G η ∣ 2 ∣ A ∣ − 4 = ∣ A ∣ − 3 . The Pauli B v B_v B v and D s D_s D s square to I I I and commute with U η U_\eta U η , which gives the statement about B v D s B_vD_s B v D s . The last statement is A a = I A_a=I A a = I on the range of P A 0 P_A^0 P A 0 and Eq. (94) .
By Corollary S9 every completed forced run thus acts as U η U_\eta U η up to a phase. Without forcing, the record ( u , w , v ) (u,w,v) ( u , w , v ) determines the Pauli B v D u + w + v B_vD_{u+w+v} B v D u + w + v to be applied or tracked; forcing only the last outcome leaves the Pauli D u + w D_{u+w} D u + w . Interchanging the two middle measurements gives P A 0 P B 0 P C 0 P A 0 = G ‾ η ∣ A ∣ − 2 U η − 1 P A 0 P_A^0P_B^0P_C^0P_A^0=\overline{G}_{\eta}|A|^{-2}U_{\eta}^{-1}P_A^0 P A 0 P B 0 P C 0 P A 0 = G η ∣ A ∣ − 2 U η − 1 P A 0 by the same computation. Since r ↦ λ ( r , r ) r\mapsto\lambda(r,r) r ↦ λ ( r , r ) is a homomorphism, equal to λ ( ⋅ , d ) \lambda(\cdot,d) λ ( ⋅ , d ) for one d ∈ A d\in A d ∈ A , and η ( r ) 2 = λ ( r , r ) \eta(r)^2=\lambda(r,r) η ( r ) 2 = λ ( r , r ) ,
U η 2 = ∑ r ∈ A λ ( r , r ) P D r = D d , U η − 1 = D d U η , U λ ( r , ⋅ ) ⋅ η = D r U η . (152) U_{\eta}^{2}=\sum_{r\in A}\lambda(r,r)P_D^r=D_d,\qquad U_{\eta}^{-1}=D_dU_{\eta},\qquad U_{\lambda(r,\cdot)\cdot\eta}=D_rU_{\eta}. \tag*{(152)} U η 2 = r ∈ A ∑ λ ( r , r ) P D r = D d , U η − 1 = D d U η , U λ ( r , ⋅ ) ⋅ η = D r U η . (152)
The square is the same for every lift, and the inverse is one of the ∣ A ∣ |A| ∣ A ∣ maps D r U η D_rU_{\eta} D r U η that the lifts of Lemma S35 produce.
Normalization and the gate for BB(1, 1, 3, 1). Let μ 1 , … , μ Q \mu_1,\ldots,\mu_Q μ 1 , … , μ Q be a basis of A A A , write λ ( μ j , μ k ) = ( − 1 ) β j k \lambda(\mu_j,\mu_k)=(-1)^{\beta_{jk}} λ ( μ j , μ k ) = ( − 1 ) β j k with β j k ∈ { 0 , 1 } \beta_{jk}\in\{0,1\} β j k ∈ { 0 , 1 } , and q = ∑ j q j μ j q=\sum_jq_j\mu_j q = ∑ j q j μ j . Equation (S142) gives η ( q ) = ∏ j η ( μ j ) q j ∏ j < k ( − 1 ) β j k q j q k \eta(q)=\prod_j\eta(\mu_j)^{q_j}\prod_{j<k}(-1)^{\beta_{jk}q_jq_k} η ( q ) = ∏ j η ( μ j ) q j ∏ j < k ( − 1 ) β j k q j q k , and η ( μ j ) 2 = ( − 1 ) β j j \eta(\mu_j)^2=(-1)^{\beta_{jj}} η ( μ j ) 2 = ( − 1 ) β j j . The characters λ ( r , ⋅ ) \lambda(r,\cdot) λ ( r , ⋅ ) take every pattern of signs on the basis, so by Lemma S35 the lift of C C C can be chosen with η ( μ j ) = ( − i ) β j j \eta(\mu_j)=(-i)^{\beta_{jj}} η ( μ j ) = ( − i ) β j j for every j j j , and then
η ( q ) ‾ = i ∑ j , k β j k q j q k , (153) \overline{\eta(q)}=i^{\sum_{j,k}\beta_{jk}q_jq_k}, \tag*{(153)} η ( q ) = i ∑ j , k β j k q j q k , (153)
the exponent being computed in Z \mathbb{Z} Z . For BB(1, 1, 3, 1) and the basis ( 1 , x , x 2 ) (1,x,x^2) ( 1 , x , x 2 ) , with coordinates ( q 0 , q 1 , q 2 ) (q_0,q_1,q_2) ( q 0 , q 1 , q 2 ) , Table S1 gives β 00 = β 22 = β 12 = β 21 = 1 \beta_{00}=\beta_{22}=\beta_{12}=\beta_{21}=1 β 00 = β 22 = β 12 = β 21 = 1 and all other entries zero, so
U η ∣ q ⟩ = i q 0 + q 2 ( − 1 ) q 1 q 2 ∣ q ⟩ , (154) U_{\eta}|q\rangle=i^{q_0+q_2}(-1)^{q_1q_2}|q\rangle, \tag*{(154)} U η ∣ q ⟩ = i q 0 + q 2 ( − 1 ) q 1 q 2 ∣ q ⟩ , (154)
which on the three qubits q 0 , q 1 , q 2 q_0,q_1,q_2 q 0 , q 1 , q 2 is S 0 S 2 CZ 12 S_0S_2\operatorname{CZ}_{12} S 0 S 2 CZ 12 with S = diag ( 1 , i ) S=\operatorname{diag}(1,i) S = diag ( 1 , i ) : the gate U 0 U_0 U 0 of the main text. The other seven lifts multiply it by D r D_r D r , r ≠ 0 r\ne0 r = 0 , and on these qubits D s = Z 0 s 0 Z 1 s 1 + s 2 Z 2 s 1 + s 2 D_s=Z_0^{s_0}Z_1^{s_1+s_2}Z_2^{s_1+s_2} D s = Z 0 s 0 Z 1 s 1 + s 2 Z 2 s 1 + s 2 . The assignment of qubits depends on the basis: in the basis ( 1 , x 2 , x + x 2 ) (1,x^2,x+x^2) ( 1 , x 2 , x + x 2 ) , in which β \beta β is the identity matrix, the operator of Eq. (S150) is S ⊗ S ⊗ S † S\otimes S\otimes S^{\dagger} S ⊗ S ⊗ S † .
Fig. S8 shows, on the twists 1 to 4, a closed curve round the pair that each measurement concerns. For C the curve of panel (b) records only that the cycle γ 2 + ∂ D 3 \gamma_2+\partial D_3 γ 2 + ∂ D 3 encloses twists 2 and 4 modulo two; the measured operators are the products of Eq. (S138). The outcome of a family is read from its basis loops: on the eigenspace of label t t t the loop F X F_X F X returns λ ( t , X ) = B ( t , X ι ) \lambda(t,X)=\mathcal{B}(t,X^{\iota}) λ ( t , X ) = B ( t , X ι ) . For A, whose label is the pair label of (23), this is B ( A 1 , X ι ) = B ( X , A 2 ) \mathcal{B}(A_1,X^{\iota})=\mathcal{B}(X,A_2) B ( A 1 , X ι ) = B ( X , A 2 ) in the channel notation ϵ = ( A 1 , A 2 ) \epsilon=(A_1,A_2) ϵ = ( A 1 , A 2 ) of Sec. SIV A. Table S1 lists these phases for the BB(1, 1, 3, 1) code, where a basis of three Wilson loops, for example X = 1 , x , x 2 X=1,x,x^2 X = 1 , x , x 2 , gives a complete three-bit signature.
In the standard description of extrinsic defects (Sec. SIV G) the forced sequence teleports the state information and reproduces the braiding unitary R σ σ ( 14 ) R_{\sigma\sigma}^{(14)} R σ σ ( 14 ) . Here M = ( M 1 , M 2 , M 3 ) M=(M_1,M_2,M_3) M = ( M 1 , M 2 , M 3 ) records the three outcome histories, e i φ M e^{i\varphi_M} e i φ M is their branch phase, d σ = 2 Q d_{\sigma}=\sqrt{2Q} d σ = 2 Q is the quantum dimension of the twist, and Π ˉ \bar{\Pi} Π ˉ denotes the normalized forced-measurement maps of the diagrammatic conventions of Bonderson [50 ] , not raw products of outcome projectors, whose magnitude would carry the branch probability:
Π M 3 ( 23 ← 24 ) Π M 2 ( 24 ← 12 ) Π M 1 ( 12 ← 23 ) = e i φ M d σ 3 = e i φ M d σ = e i φ M R σ σ ( 14 ) ⊗ ∣ σ , σ ˉ ; 1 ⟩ 23 ⟨ σ , σ ˉ ; 1 ∣ 23 , (155) \begin{aligned}
\Pi_{M_3}^{(23\leftarrow24)}\Pi_{M_2}^{(24\leftarrow12)}\Pi_{M_1}^{(12\leftarrow23)}
= \frac{e^{i\varphi_M}}{d_\sigma^3}
= \frac{e^{i\varphi_M}}{d_\sigma} \\
&= e^{i\varphi_M}R_{\sigma\sigma}^{(14)}\otimes|\sigma,\bar{\sigma};1\rangle_{23}\langle\sigma,\bar{\sigma};1|_{23}, \tag*{(155)}
\end{aligned} Π M 3 ( 23 ← 24 ) Π M 2 ( 24 ← 12 ) Π M 1 ( 12 ← 23 ) = d σ 3 e i φ M = d σ e i φ M = e i φ M R σ σ ( 14 ) ⊗ ∣ σ , σ ˉ ; 1 ⟩ 23 ⟨ σ , σ ˉ ; 1 ∣ 23 , (155)
Figure S8. Forced measurements by Wilson loops; panels (a), (b) and (c) show closed curves round the pairs (1, 2), (2, 4) and (2, 3) that the three measurements concern. The walls of the pairs (1, 4) and (2, 3) are drawn one above the other, whereas the Setting places them on one line. In (a) and (b) the loop passes through each wall once: W 14 W_{14} W 14 is the piece that goes through the ( σ 1 , σ 4 ) (\sigma_1,\sigma_4) ( σ 1 , σ 4 ) wall and W 23 W_{23} W 23 the piece that goes through the ( σ 2 , σ 3 ) (\sigma_2,\sigma_3) ( σ 2 , σ 3 ) wall, and each is exactly where the loop changes species, since a wall exchanges e e e and m m m . Between the two crossings the loop is an ordinary bulk ribbon: the electric corridor R e R_e R e and the magnetic corridor R m R_m R m . The drawn loops therefore have the four-piece form W 14 R e W 23 R m W_{14}R_eW_{23}R_m W 14 R e W 23 R m of the transfer loops of Definition S9. The loop of (a) encloses twists 1 and 2, as the cycle γ 2 \gamma_2 γ 2 of B does; the loop of (b) encloses twists 2 and 4, as the cycle γ 2 + ∂ D 3 \gamma_2+\partial D_3 γ 2 + ∂ D 3 of C does modulo two, and stands for that enclosure only: C is the product of Eq. (142) . In (c) the loop meets no wall at all: it is the closed pristine period rectangle Z 23 Z_{23} Z 23 around the ( σ 2 , σ 3 ) (\sigma_2,\sigma_3) ( σ 2 , σ 3 ) pair, of a single species throughout. Test-polynomial labels are suppressed.
Eq. (155) , with the exchange taken at the refinement ϱ = η \varrho=\eta ϱ = η , is the categorical reading of Corollary S9 and Lemma S37. Every completed run ends in the range of P A 0 P_A^0 P A 0 , so the auxiliary twists 2 and 3 return to the vacuum channel 1 and the resource is available again, and the probability 2 − Q = d σ − 2 2^{-Q}=d_\sigma^{-2} 2 − Q = d σ − 2 of each forced attempt is the one of Ref. [50, text following Eq. (9)]. Equation (146) is Eq. (139) at χ = λ \chi=\lambda χ = λ , and on the channel ϵ q \epsilon_q ϵ q the map U η U_\eta U η has the channel dependence η ( q ) − 1 \eta(q)^{-1} η ( q ) − 1 of the exchange of Eq. (140) at ϱ = η \varrho=\eta ϱ = η . The ∣ A ∣ |A| ∣ A ∣ lifts of C realize the ∣ A ∣ |A| ∣ A ∣ refinements, and by Eq. (152) both orders of the middle measurements lie among them. The labels of B and C are defined relative to the lifts, so the algebra used here does not determine which refinement belongs to the vacuum channels of the pairs (12) and (24).
Remark S3 (Braiding versus measurement resources). Forced-measurement teleportation reproduces braid unitaries, so it stays inside the synchronized subgroup of Theorem S11. Arbitrary joint Wilson–transfer Pauli measurements, stabilizer ancilla pairs and adaptive feedforward — capabilities that straight-wall transmission does not supply and the pure-braiding result does not assume — generate the full projective Clifford group, since the Pauli π / 4 \pi/4 π /4 rotations generate it and each is a P ⊗ Y P\otimes Y P ⊗ Y measurement with a ∣ 0 ⟩ |0\rangle ∣0 ⟩ ancilla [31, Figs. 5 and 11(b)]`.
Computational Power
Sections SIV–SVII determine what the twists are and how to braid them; this section determines what those braids can compute . The answer is two-sided: every braid unitary, in the canonical normal gauge, normalizes the fusion-register Pauli group and so lies in the Clifford group (Sec. SVIII A), yet the braid image is a proper, label-synchronized subgroup of it whenever Q > 1 Q>1 Q > 1 and N ≥ 2 N\ge2 N ≥ 2 (Sec. SVIII B); for N = 1 N=1 N = 1 there are no register qubits. Both statements are proved from the categorical data. Clifford containment is expected from the stacked-code hierarchy [62 §6] and from the general bound on braiding defect-encoded qubits [102 Thm. 3] , whose encoding hypotheses differ from the register here; the Ising braid image is already a proper Clifford subgroup from three qubits on [103 §VI] , and the obstruction found here for Q > 1 Q>1 Q > 1 is of another kind, a synchronization of the Q Q Q label components.
Bounded within the Clifford Group
With the register of Theorems S5, S3, S6 and S4 and the TY fusion rules, choose the basis { ∣ c ⟩ : c ∈ A } \{|c\rangle: c \in A\} { ∣ c ⟩ : c ∈ A } for one independent twist-pair register. Define
Z a ∣ c ⟩ = χ ( a , c ) ∣ c ⟩ , X b ∣ c ⟩ = ∣ c + b ⟩ . (156) Z_a|c\rangle= \chi(a,c)|c\rangle,\qquad X_b|c\rangle= |c+b\rangle. \tag*{(156)} Z a ∣ c ⟩ = χ ( a , c ) ∣ c ⟩ , X b ∣ c ⟩ = ∣ c + b ⟩ . (156)
Under the microscopic identification Eq. (135) , these reproduce the label and adjoint action of the Wilson and transfer operators of Lemma S24, Theorem S4 and Corollary S3; the identification is of that action, not of literal operators with fixed scalars, which is all the Clifford argument below uses. Since A ≅ F 2 Q A \cong\mathbb{F}_2^Q A ≅ F 2 Q , they generate, with the scalar i I iI i I , the Q Q Q -qubit Pauli group. Writing χ ( a , b ) = ( − 1 ) χ ˉ ( a , b ) \chi(a,b)=(-1)^{\bar{\chi}(a,b)} χ ( a , b ) = ( − 1 ) χ ˉ ( a , b ) , the Pauli labels ( a , b ) ∈ A ⊕ A (a,b) \in A \oplus A ( a , b ) ∈ A ⊕ A carry the non-degenerate symplectic form
Ω ( ( a , b ) , ( a ′ , b ′ ) ) = χ ˉ ( a , b ′ ) + χ ˉ ( a ′ , b ) . (157) \Omega((a,b),(a',b')) = \bar{\chi}(a,b')+\bar{\chi}(a',b). \tag*{(157)} Ω (( a , b ) , ( a ′ , b ′ )) = χ ˉ ( a , b ′ ) + χ ˉ ( a ′ , b ) . (157)
The Clifford property follows directly from the canonical TY matrices. The sign ν \nu ν multiplies Eq. (137) as a whole and shifts the common exchange phase of Eq. (140) , so it cancels in every conjugation and contributes only an overall scalar phase to a braid word. The Clifford-normalization and synchronization conclusions below are conjugation statements and so do not depend on it, and the register dimension is fixed by the fusion rules; the amplitudes in the proof of Lemma S38 retain it. Dropping it, denote the resulting Fourier transform by F χ \mathcal{F}_{\chi} F χ . Bicharacter orthogonality gives
F χ X b F χ † = Z b , F χ Z a F χ † = X a . (158) \mathcal{F}_{\chi}X_b\mathcal{F}_{\chi}^{\dagger}=Z_b,\qquad\mathcal{F}_{\chi}Z_a\mathcal{F}_{\chi}^{\dagger}=X_a. \tag*{(158)} F χ X b F χ † = Z b , F χ Z a F χ † = X a . (158)
Let U R U_R U R be the diagonal exchange in Eq. (140) . The quadratic-refinement identity gives
U R X b U R † = ϱ ( b ) − 1 X b Z b , U R Z a U R † = Z a . (159) U_RX_bU_R^{\dagger}=\varrho(b)^{-1}X_bZ_b,\qquad U_RZ_aU_R^{\dagger}=Z_a. \tag*{(159)} U R X b U R † = ϱ ( b ) − 1 X b Z b , U R Z a U R † = Z a . (159)
Thus both elementary recoupling and exchange normalize the Pauli group. So does every diagonal bicharacter phase θ ( c ) = χ ( α ( c ) , β ( c ) ) \theta(c)=\chi(\alpha(c),\beta(c)) θ ( c ) = χ ( α ( c ) , β ( c )) with affine label maps α , β \alpha,\beta α , β : bilinearity makes θ ( c + b ) / θ ( c ) \theta(c+b)/\theta(c) θ ( c + b ) / θ ( c ) a scalar times a character of c c c , so conjugation by θ \theta θ sends every translation to a Pauli and fixes every diagonal Pauli. The remaining Tambara–Yamagami associators an elementary braid meets are one-dimensional and cancel between F F F and F − 1 F^{-1} F − 1 ; the proof of Lemma S38 below shows this and computes every elementary generator’s conjugation action on both halves of the register Pauli group outright.
Theorem S10 (Clifford bound). For 2 N 2N 2 N twists at fixed total charge, the fusion register consists of Q ( N − 1 ) Q(N-1) Q ( N − 1 ) qubits. For every braided TY realization with A ≅ Z 2 Q A\cong\mathbb{Z}_2^Q A ≅ Z 2 Q , in the canonical normal gauge of Lemma S38, every braid unitary is a composition of bicharacter Fourier kernels, associator phases, and diagonal exchanges, each of which normalizes the register Pauli group. Hence the braid image lies in the Q ( N − 1 ) Q(N-1) Q ( N − 1 ) -qubit Clifford group. This is the Clifford action on the code’s Wilson/transfer register.
Proof. Use the cumulative fusion basis ∣ a 1 , … , a N − 1 ⟩ |a_1,\ldots,a_{N-1}\rangle ∣ a 1 , … , a N − 1 ⟩ , a j ∈ A a_j\in A a j ∈ A . Every elementary braid is obtained by local TY recouplings and one diagonal exchange, and Lemma S38 shows that it conjugates every X b ( k ) X_b^{(k)} X b ( k ) and Z b ( k ) Z_b^{(k)} Z b ( k ) to a register Pauli up to a scalar, the Fourier and exchange factors doing so by Eqs. (158) and (159) . Therefore every braid word normalizes the register Pauli group. The normalizer of the Q ( N − 1 ) Q(N-1) Q ( N − 1 ) -qubit Pauli group is the corresponding Clifford group.
Label Synchronization and the Proper Subgroup
The properness statement below cannot be had from the lattice alone. Theorem S8 constrains the remote labels of a crossing and defines no unitary on the fusion register, so it cannot by itself force the tensor form: writing T † ϕ T^{\dagger\phi} T † ϕ for the adjoint of T ∈ G L ( A ) T\in GL(A) T ∈ G L ( A ) with respect to the register pairing ( a , b ) ↦ ϕ ( a , b ι ) (a,b)\mapsto\phi(a,b^{\iota}) ( a , b ) ↦ ϕ ( a , b ι ) of Lemma S22, ϕ ( T a , b ι ) = ϕ ( a , ( T † ϕ b ) ι ) \phi(Ta,b^{\iota})=\phi(a,(T^{\dagger\phi}b)^{\iota}) ϕ ( T a , b ι ) = ϕ ( a , ( T † ϕ b ) ι ) , the map X s , a ↦ X s , T a X_{s,a}\mapsto X_{s,Ta} X s , a ↦ X s , T a , Z s , b ↦ Z s , ( T † ϕ ) − 1 b Z_{s,b}\mapsto Z_{s,(T^{\dagger\phi})^{-1}b} Z s , b ↦ Z s , ( T † ϕ ) − 1 b preserves the Weyl relations and is a Clifford automorphism of the register, and for Q > 1 Q>1 Q > 1 a mixing T T T — a shear, for instance — mixes the label directions.
For Q > 1 Q>1 Q > 1 and N ≥ 2 N\ge2 N ≥ 2 the Clifford bound of Theorem S10 is not saturated. The obstruction is a synchronization constraint: every braid generator’s binary symplectic action is identical on all Q Q Q components of the channel label, so the braid group can never mix the A A A -label directions.
Lemma S38 (Which labels the associators carry). In the canonical Tambara–Yamagami normal basis, write the cumulative path with intermediate objects x 2 j − 1 = σ x_{2j-1}=\sigma x 2 j − 1 = σ and x 2 j = ϵ a j x_{2j}=\epsilon_{a_j} x 2 j = ϵ a j , and put a 0 = 0 a_0=0 a 0 = 0 with a N a_N a N the fixed total charge, whose value enters the boundary phases only and not the symplectic action. Then every elementary braid carries the register labels by the identity: for each b ∈ A b\in A b ∈ A ,
B 2 j − 1 X b ( k ) B 2 j − 1 † = X b ( k ) Z b ( j − 1 ) Z b ( j ) ( k ∈ { j − 1 , j } ) , B 2 j − 1 X b ( k ) B 2 j − 1 † = X b ( k ) ( k ∉ { j − 1 , j } ) , B_{2j-1}X_b^{(k)}B_{2j-1}^{\dagger}=X_b^{(k)}Z_b^{(j-1)}Z_b^{(j)}
\quad(k\in\{j-1,j\}),\qquad
B_{2j-1}X_b^{(k)}B_{2j-1}^{\dagger}=X_b^{(k)}
\quad(k\notin\{j-1,j\}), B 2 j − 1 X b ( k ) B 2 j − 1 † = X b ( k ) Z b ( j − 1 ) Z b ( j ) ( k ∈ { j − 1 , j }) , B 2 j − 1 X b ( k ) B 2 j − 1 † = X b ( k ) ( k ∈ / { j − 1 , j }) ,
B 2 j − 1 Z b ( k ) B 2 j − 1 † = Z b ( k ) (every k ) , B 2 j X b ( j ) B 2 j † = X b ( j ) , B 2 j Z b ( j ) B 2 j † ≐ X b ( j ) Z b ( j ) B_{2j-1}Z_b^{(k)}B_{2j-1}^{\dagger}=Z_b^{(k)}\quad\text{(every }k\text{)},\qquad B_{2j}X_b^{(j)}B_{2j}^{\dagger}=X_b^{(j)},\qquad B_{2j}Z_b^{(j)}B_{2j}^{\dagger}\doteq X_b^{(j)}Z_b^{(j)} B 2 j − 1 Z b ( k ) B 2 j − 1 † = Z b ( k ) (every k ) , B 2 j X b ( j ) B 2 j † = X b ( j ) , B 2 j Z b ( j ) B 2 j † ≐ X b ( j ) Z b ( j )
with every index k k k ranging over { 1 , … , N − 1 } \{1,\ldots,N-1\} { 1 , … , N − 1 } , with ≐ \doteq ≐ suppressing a scalar independent of the channel labels, and with Z b ( 0 ) = Z b ( N ) = I Z_b^{(0)}=Z_b^{(N)}=I Z b ( 0 ) = Z b ( N ) = I , there being no register at either boundary. An even generator acts on no register but the j j j th. These are the conjugation rules on both generating halves of the register Pauli group, so they determine the induced binary symplectic matrix of each elementary braid, and no automorphism of A A A other than the identity occurs.
Proof. For an odd generator the recoupling is F ϵ a j σ ϵ a j − 1 σ F^{\epsilon_a{}_{j-1}\sigma}_{\epsilon_a{}_{j}\sigma} F ϵ a j σ ϵ a j − 1 σ , which is one-dimensional because σ × ϵ a = σ \sigma\times\epsilon_a=\sigma σ × ϵ a = σ with multiplicity one, so its phase is a scalar and cancels between F F F and F − 1 F^{-1} F − 1 . What survives is the exchange phase at the single σ σ \sigma\sigma σ σ channel q j = a j − 1 + a j q_j=a_{j-1}+a_j q j = a j − 1 + a j , giving B 2 j − 1 ∣ a ⟩ = R σ σ 1 ϱ ( q j ) − 1 ∣ a ⟩ B_{2j-1}|a\rangle=R^1_{\sigma\sigma}\varrho(q_j)^{-1}|a\rangle B 2 j − 1 ∣ a ⟩ = R σ σ 1 ϱ ( q j ) − 1 ∣ a ⟩ , and the displayed conjugation on X X X follows from ϱ ( q j ) / ϱ ( q j + b ) = ϱ ( b ) − 1 χ ( q j , b ) \varrho(q_j)/\varrho(q_j+b)=\varrho(b)^{-1}\chi(q_j,b) ϱ ( q j ) / ϱ ( q j + b ) = ϱ ( b ) − 1 χ ( q j , b ) , which is Eq. (139) . That same display is diagonal in the cumulative basis, with a phase depending only on q j q_j q j . Every Z b ( k ) Z_b^{(k)} Z b ( k ) is diagonal in that basis, so it commutes with B 2 j − 1 B_{2j-1} B 2 j − 1 ; and for k ∉ { j − 1 , j } k\notin\{j-1,j\} k ∈ / { j − 1 , j } the shift X b ( k ) X_b^{(k)} X b ( k ) leaves q j q_j q j unchanged, so it commutes too. These are the two remaining displayed rules, and neither needs a separate argument. With X X X and Z Z Z both accounted for, the symplectic action is determined; the rules for X ( k ) X^{(k)} X ( k ) alone would not determine it.
For an even generator the only non-scalar associator is F σ σ σ F^{\sigma\sigma}_{\sigma} F σ σ σ of Eq. (137) , whose entries are ν ∣ A ∣ − 1 / 2 χ ( c , d ) − 1 \nu|A|^{-1/2}\chi(c,d)^{-1} ν ∣ A ∣ − 1/2 χ ( c , d ) − 1 with c c c and d d d the two channel labels themselves. Bicharacter orthogonality gives F − 1 ≐ F F^{-1}\doteq F F − 1 ≐ F , so B 2 j = F − 1 U R F B_{2j}=F^{-1}U_RF B 2 j = F − 1 U R F on register j j j up to an overall phase, and
⟨ c ∣ B 2 j ∣ a ⟩ = R σ σ 1 ∣ A ∣ ∑ d ∈ A χ ( c , d ) − 1 ϱ ( d ) − 1 χ ( d , a ) − 1 = C ϱ ( a + c ) , \langle c|B_{2j}|a\rangle=\frac{R^1_{\sigma\sigma}}{|A|}\sum_{d\in A}\chi(c,d)^{-1}\varrho(d)^{-1}\chi(d,a)^{-1}=C\varrho(a+c), ⟨ c ∣ B 2 j ∣ a ⟩ = ∣ A ∣ R σ σ 1 d ∈ A ∑ χ ( c , d ) − 1 ϱ ( d ) − 1 χ ( d , a ) − 1 = C ϱ ( a + c ) ,
by shifting d ↦ d + a + c d\mapsto d+a+c d ↦ d + a + c and applying Eq. (139) , with C C C independent of the labels. The displayed conjugations follow.
That the arguments of χ \chi χ are the channel labels and not images of them is the whole content: a diagonal phase χ ( T c 1 , c 2 ) \chi(Tc_1,c_2) χ ( T c 1 , c 2 ) with T ≠ I T\ne I T = I would be Clifford but would carry X b ( 1 ) X_b^{(1)} X b ( 1 ) to X T b ( 1 ) Z T b ( 2 ) X_{Tb}^{(1)}Z_{Tb}^{(2)} X T b ( 1 ) Z T b ( 2 ) and X b ( 2 ) X_b^{(2)} X b ( 2 ) to X b ( 2 ) Z T T b ( 1 ) X_b^{(2)}Z_{T^{\mathsf T}b}^{(1)} X b ( 2 ) Z T T b ( 1 ) , and no such phase occurs, the odd associator being scalar and the even one being Eq. (137) . The boundary conditions do not enter this exclusion, every automorphism fixing 0 0 0 ; what excludes T T T is that those two are the only associators an elementary braid meets. A fusion-vertex gauge change rephases path states by a diagonal G ( a ) G(a) G ( a ) and conjugates the displayed matrices—not always by a Clifford, so the gauge cannot be left free. Existence of the canonical normal gauge is an input from the classification recalled in Sec. SVI, not something established here; in it, multiplicity being one throughout, a residual change alters phases only and cannot mix distinct simple-object sectors. □
Theorem S11 (Label synchronization). Let N ≥ 2 N\ge2 N ≥ 2 . For every braided T Y TY T Y realization with A ≃ Z 2 Q A\simeq\mathbb{Z}_2^Q A ≃ Z 2 Q , in the cumulative fusion basis taken in the canonical normal gauge of Lemma S38 every braid generator has an A A A -label-preserving binary symplectic action
S i = M i ⊗ I Q , (160) S_i=M_i\otimes I_Q, \tag*{(160)} S i = M i ⊗ I Q , (160) where M i M_i M i is the corresponding Ising-label action on the N − 1 N-1 N − 1 cumulative registers. Consequently, for Q > 1 Q>1 Q > 1 pure twist braiding is a proper subgroup of the Q ( N − 1 ) Q(N-1) Q ( N − 1 ) -qubit Clifford group. This survives arbitrarily many ancillary twists, provided each is obtained by repeated vacuum-pair insertion—not an arbitrary multi-twist state of total vacuum charge—and is returned to the vacuum cleanly, as a unitary tensor factor rather than by postselection. This is the braid action on the code’s Wilson/transfer register.
Proof. Use the cumulative labels of Lemma S38, with a N a_N a N the total charge. Its rules for both Pauli families, including boundary generators, preserve the label b b b and give Eq. (160) .
Synchronization survives ancillary twists, including interleaved ones, provided the return to vacuum is clean . Appending a vacuum pair sends ( a 1 , … , a N − 1 ) (a_1,\ldots,a_{N-1}) ( a 1 , … , a N − 1 ) to ( a 1 , … , a N − 1 , a N ) (a_1,\ldots,a_{N-1},a_N) ( a 1 , … , a N − 1 , a N ) , the total charge being unchanged; inserting one between completed pairs duplicates a cumulative label, a controlled addition; and inserting one at an odd position adjoins the vacuum Fourier column F χ ∣ 0 ⟩ F_\chi|0\rangle F χ ∣0 ⟩ . Each is realized by a Clifford encoding circuit of controlled additions and bicharacter Fourier transforms, with binary action of the form M ⊗ I Q M\otimes I_Q M ⊗ I Q , and every enlarged-system braid has binary symplectic action M U ⊗ I Q M_U\otimes I_Q M U ⊗ I Q by Lemma S38. Call the return clean when U ( ∣ ψ ⟩ R ⊗ ∣ Ω ⟩ A ) = ( V ∣ ψ ⟩ R ) ⊗ ∣ Ω ′ ⟩ A U(|\psi\rangle_R\otimes|\Omega\rangle_A)=(V|\psi\rangle_R)\otimes|\Omega'\rangle_A U ( ∣ ψ ⟩ R ⊗ ∣Ω ⟩ A ) = ( V ∣ ψ ⟩ R ) ⊗ ∣ Ω ′ ⟩ A for every ∣ ψ ⟩ R |\psi\rangle_R ∣ ψ ⟩ R , with ∣ Ω ′ ⟩ A |\Omega'\rangle_A ∣ Ω ′ ⟩ A one fixed ancillary state; V V V is then unitary, by norm preservation in equal finite dimensions. For a data Pauli P P P write U ( P ⊗ I ) U † = P R ⊗ P A U(P\otimes I)U^\dagger=P_R\otimes P_A U ( P ⊗ I ) U † = P R ⊗ P A , a Pauli since U U U is Clifford. Applying it to the displayed state gives P R V ∣ ψ ⟩ ⊗ P A ∣ Ω ′ ⟩ = V P ∣ ψ ⟩ ⊗ ∣ Ω ′ ⟩ P_RV|\psi\rangle\otimes P_A|\Omega'\rangle=VP|\psi\rangle\otimes|\Omega'\rangle P R V ∣ ψ ⟩ ⊗ P A ∣ Ω ′ ⟩ = V P ∣ ψ ⟩ ⊗ ∣ Ω ′ ⟩ , hence P A ∣ Ω ′ ⟩ = λ P ∣ Ω ′ ⟩ P_A|\Omega'\rangle=\lambda_P|\Omega'\rangle P A ∣ Ω ′ ⟩ = λ P ∣ Ω ′ ⟩ and V P V † = λ P P R VPV^\dagger=\lambda_PP_R V P V † = λ P P R . In the coordinates these circuits fix, the whole Clifford acts as M ⊗ I Q M\otimes I_Q M ⊗ I Q , and identity on the clean-factor identity gives S V = M R R ⊗ I Q S_V=M_{RR}\otimes I_Q S V = M R R ⊗ I Q , with M R R M_{RR} M R R its data-to-data block. The qualification is essential: postselecting on the vacuum sector, P Ω U P Ω P_\Omega U P_\Omega P Ω U P Ω , gives a Kraus operator rather than a unitary tensor factor, and the argument does not apply to it. Neither ∣ Ω ′ ⟩ = ∣ Ω ⟩ |\Omega'\rangle=|\Omega\rangle ∣ Ω ′ ⟩ = ∣Ω ⟩ nor a stabilizer ancillary state is needed here; the vacuum-pair preparation is what fixes the encoding, not what makes the return clean.
For Q > 1 Q > 1 Q > 1 , the register relabeling X s , a ↦ X s , T a X_{s,a} \mapsto X_{s,Ta} X s , a ↦ X s , T a , Z s , b ↦ Z s , ( T † ϕ ) − 1 b Z_{s,b} \mapsto Z_{s,(T^\dagger\phi)^{-1}b} Z s , b ↦ Z s , ( T † ϕ ) − 1 b displayed above, with T T T a shear, is Clifford and mixes the label directions; no M ⊗ I Q M \otimes I_Q M ⊗ I Q can do that, acting as it does identically on every component. The synchronized braid image is therefore proper. □ \square □
The common phase R σ σ 1 R^1_{\sigma\sigma} R σ σ 1 is irrelevant to Pauli conjugation and the refinement does not change the binary action; the M i M_i M i generate the binary symplectic image of the Ising braid group [43 ] .
For Q = 1 Q = 1 Q = 1 , A ≅ Z 2 A \cong\mathbb{Z}_2 A ≅ Z 2 and Corollary S8 makes the nontrivial channel a fermion, so σ × σ = 1 + ϵ \sigma\times\sigma= 1 + \epsilon σ × σ = 1 + ϵ with ϵ \epsilon ϵ fermionic: the Ising fusion rules of the toric-code twist [39 ] . The synchronization of Theorem S11 is then empty, and each braid generator has the binary symplectic action M i M_i M i of the Ising twists, so it agrees with theirs up to a phase and a Pauli.