betaFeedback

WorksPhysics and Astronomy

A No-Go Theorem for Order-Two Clifford Electric-Magnetic Duality

Abstract

Electromagnetic duality in the toric code has order two at the level of anyon types and acts as a Hadamard-type logical transformation on the encoded quantum information. Here, we ask whether it can likewise be realized microscopically as an order-two Clifford operation. For the Z2\mathbb{Z}_2 toric code, we prove that any locality-preserving Clifford realization of electric-magnetic exchange cannot have order two. Our proof is fully general and requires neither translation symmetry with restricted families of system sizes nor a fixed pairing between vertex and plaquette stabilizers. Geometrically, the proof locally emulates the unavoidable crossing between electric and magnetic strings, similar to a cross-cap in a non-orientable manifold. Extending the problem to the ZN\mathbb{Z}_N toric code, we find that an order-two Clifford realization exists for odd NN, whereas it is impossible for even NN. Our result shows that the order-two exchange of closed-string operators cannot be extended to an order-two exchange of open-string operators.

Introduction

Electromagnetic duality is one of the most fundamental examples of duality in physics [1, 2]. Already in source-free Maxwell theory, the equations are invariant under duality rotations mixing electric and magnetic fields. Closely related electric-magnetic dualities appear throughout gauge theory and quantum many-body physics [3, 4]. In many-body systems on a lattice, however, the gauge fields themselves need not be elementary microscopic degrees of freedom. Instead, they may emerge from collective patterns of quantum entanglement among the underlying local degrees of freedom [5]. From this perspective, even the seemingly simple exchange of electric and magnetic fields raises a nontrivial question. If the electric and magnetic variables are emergent, what microscopic operation realizes their exchange?

The toric code provides perhaps the simplest setting in which to study this question [6, 7]. It realizes an emergent Z2\mathbb{Z}_2 gauge theory from microscopic qubits, with electric and magnetic excitations appearing as endpoints of ZZ- and XX-string operators, respectively. At the level of the emergent anyon theory, electromagnetic duality is simply the exchange

e↔m,(1)e \leftrightarrow m, \tag*{(1)}

which has order two. Microscopically, however, this exchange must be implemented by some unitary acting on the underlying qubits. It is then natural to ask whether such microscopic transformations can obey the same group law,

Uem2∝I.(2)U_{em}^{2} \propto I. \tag*{(2)}

This microscopic realization is also directly relevant to quantum information processing. The toric code is one of the simplest and most influential models of quantum error correction, where quantum information is encoded in a degenerate ground-state subspace and protected against local noise and decoherence by many-body entanglement. At the same time, its Hamiltonian terms, electric and magnetic string operators, and logical Pauli operators are all represented by Pauli operators. This makes Clifford operations [8] a natural framework for describing both the microscopic structure of the code and the logical actions induced by anyon permutations, since Clifford unitaries preserve the Pauli group under conjugation [9, 10, 11].

Since the electric-magnetic exchange has order two at the level of anyons and acts as a Hadamard-type logical operation, one might therefore expect an order-two microscopic Clifford realization satisfying

Uem2∝I ?Uem∈Clifford(3)U_{em}^{2} \propto I \ ? \qquad U_{em} \in\text{Clifford} \tag*{(3)}

Known Clifford constructions of the electric-magnetic exchange in the Z2\mathbb{Z}_2 toric code instead have order four on the full physical Hilbert space, even though their action on the anyon types has order two [12, 13, 14, 15, 16]. Moreover, the extra microscopic action can be removed by an appropriate dressing only at the cost of introducing non-Clifford operations, yielding an exact order-two realization [15]. This suggests that the mismatch is not accidental, but reflects an obstruction intrinsic to the Clifford structure. Indeed, a recent work by Kobayashi established such an obstruction under additional assumptions, including translation invariance with restricted families of system sizes [17].

In this paper, we rigorously prove that Clifford realizations of the electric-magnetic exchange in the Z2\mathbb{Z}_2 toric code cannot be order two. Our result does not assume translation symmetry or a fixed pairing between vertex and plaquette stabilizers. More generally, an individual stabilizer may be mapped to an arbitrary local product of stabilizers of the opposite type. Our proof uses a particular arrangement of electric and magnetic string operators, chosen so that one electric–magnetic pair crosses once near the middle and therefore has nontrivial mutual braiding. Geometrically, this string configuration locally reproduces the unavoidable crossing associated with a cross-cap, while the system itself remains on an ordinary orientable lattice.

In the toric code, Clifford operations have a particularly natural physical interpretation. Electric and magnetic excitations are created by open string operators, and the full Pauli group is generated by these strings and their products. Thus, Clifford operations can be understood as transformations that map string operators to other string operators, possibly including their products. From this perspective, the obstruction can be understood as a problem of extending electric-magnetic duality from closed strings to open strings. Electric-magnetic duality pairs vertex and plaquette stabilizers, which can be regarded as elementary contractible closed-string operators. The question is whether this order-two exchange can be extended consistently to the entire set of open-string operators. An order-two Clifford realization would require a corresponding order-two transformation of all open-string operators. Our result shows that such an extension is impossible.

We further study the same question for the ZN\mathbb{Z}_N toric code and find that the obstruction is governed entirely by the parity of NN. For odd NN, the order-two electric-magnetic duality admits an order-two Clifford realization, whereas for even NN such a realization is impossible. We also construct an order-four Clifford realization for every even NN, showing that the minimum Clifford order is exactly four. By contrast, once non-Clifford operations are allowed, an exact order-two electric-magnetic exchange can be realized for arbitrary NN.

e-m exchange on the Z2\mathbb{Z}_2 toric code

In this section, we prove that no locality-preserving Clifford realization of the ee-mm exchange can have order two.

Microscopic e-m exchange

We begin by recalling the Z2\mathbb{Z}_2 toric code and fixing our conventions. Let Λ\Lambda be a square lattice on a closed orientable surface, with vertex, edge, and plaquette sets V(Λ)V(\Lambda), E(Λ)E(\Lambda), and F(Λ)F(\Lambda), respectively. A qubit is placed on each edge e∈E(Λ)e \in E(\Lambda), and the toric-code Hamiltonian is

HTC:=−∑v∈V(Λ)Av−∑p∈F(Λ)Bp,Av:=∏e∋vXe,Bp:=∏e∈∂pZe.(4)H_{\mathrm{TC}} := -\sum_{v\in V(\Lambda)} A_v-\sum_{p\in F(\Lambda)} B_p,\qquad A_v:=\prod_{e\ni v}X_e,\qquad B_p:=\prod_{e\in\partial p}Z_e. \tag*{(4)}

A ground state is a simultaneous +1+1 eigenstate of all stabilizers. Av∣ψ⟩=Bp∣ψ⟩=∣ψ⟩A_v|\psi\rangle=B_p|\psi\rangle=|\psi\rangle. On a torus, these stabilizer conditions satisfy two global redundancy constraints,

∏v∈V(Λ)Av=1,∏p∈F(Λ)Bp=1.(5)\prod_{v\in V(\Lambda)}A_v=1,\qquad\prod_{p\in F(\Lambda)}B_p=1. \tag*{(5)}

The ground space on the torus is four-dimensional.

Anyonic excitations of the toric code can be characterized by open string operators. Let γZ\gamma_Z and γX\gamma_X denote open strings composed of Pauli ZZ and XX operators, respectively. For a ground state ∣ψ⟩|\psi\rangle, the excited state γZ∣ψ⟩\gamma_Z|\psi\rangle violates the stabilizer conditions associated with the vertex operators AvA_v at the two endpoints of γZ\gamma_Z, thereby creating a pair of ee anyons. Similarly, γX∣ψ⟩\gamma_X|\psi\rangle violates the plaquette stabilizers BpB_p, producing a pair of mm anyons (see Figure 1).

Figure 1. Anyon excitations in Z₂ toric code

Previous works have shown that the ee-mm exchange can be realized by an order-four finite-depth local Clifford circuit. One such realization is the following depth-3 unitary [12, 13, 15, 16],

Uem:=∏p∈F(Λ)eiπ4P3(p)∏q∈F(Λ)e−iπ4P2(q)∏r∈F(Λ)eiπ4P1(r).(6)U_{em}:=\prod_{p\in F(\Lambda)}e^{\frac{i\pi}{4}P_3(p)}\prod_{q\in F(\Lambda)}e^{-\frac{i\pi}{4}P_2(q)}\prod_{r\in F(\Lambda)}e^{\frac{i\pi}{4}P_1(r)}. \tag*{(6)}

where the two-qubit Pauli operators are

P1(p):=(XZ),P2(p):=(YY),P3(p):=(XZ).(7)P_1(p) := \begin{pmatrix} & X \\ Z & \end{pmatrix}, \qquad P_2(p) := \begin{pmatrix} & Y \\ & Y \end{pmatrix}, \qquad P_3(p) := \begin{pmatrix} & X \\ Z & \end{pmatrix}. \tag*{(7)}

We can indeed verify that the paired vertex and plaquette stabilizers are exchanged,

UemAvUem†=Bp(v),UemBp(v)Uem†=Av,(8)U_{em} A_v U_{em}^{\dagger} = B_{p(v)}, \qquad U_{em} B_{p(v)} U_{em}^{\dagger} = A_v, \tag*{(8)}

where p(v)p(v) denotes the plaquette immediately to the upper right of vv, as shown explicitly below.1

vertex X-pattern→eiπ4P1(p)mixed X,Y-pattern→e−iπ4P2(p)mixed Y,Z-pattern→eiπ4P3(p)plaquette Z-pattern,plaquette Z-pattern→eiπ4P1(p)mixed Z,Y-pattern→e−iπ4P2(p)mixed Y,X-pattern→eiπ4P3(p)vertex X-pattern.(9)\begin{aligned} &\boxed{\text{vertex }X\text{-pattern}} \xrightarrow{e^{\frac{i\pi}{4}P_1(p)}} \boxed{\text{mixed }X,Y\text{-pattern}} \xrightarrow{e^{-\frac{i\pi}{4}P_2(p)}} \boxed{\text{mixed }Y,Z\text{-pattern}} \xrightarrow{e^{\frac{i\pi}{4}P_3(p)}} \boxed{\text{plaquette }Z\text{-pattern}},\\ &\boxed{\text{plaquette }Z\text{-pattern}} \xrightarrow{e^{\frac{i\pi}{4}P_1(p)}} \boxed{\text{mixed }Z,Y\text{-pattern}} \xrightarrow{e^{-\frac{i\pi}{4}P_2(p)}} \boxed{\text{mixed }Y,X\text{-pattern}} \xrightarrow{e^{\frac{i\pi}{4}P_3(p)}} \boxed{\text{vertex }X\text{-pattern}}. \tag*{(9)} \end{aligned}
U:=eiπ4P=12(1+iP)(10)U := e^{\frac{i\pi}{4}P} = \frac{1}{\sqrt{2}}(1+iP) \tag*{(10)}

is a Clifford gate whose action on a Pauli string QQ is

UQU†={Q([P,Q]=0),iPQ({P,Q}=0).(11)UQU^{\dagger} = \begin{cases} Q & ([P,Q]=0),\\ iPQ & (\{P,Q\}=0). \end{cases} \tag*{(11)}

Since UemU_{em} exchanges the paired vertex and plaquette stabilizers, one may be tempted to speculate that the microscopic unitary itself also has order two. However, this is not the case. A direct calculation shows that

Uem4∝I,(12)U_{em}^{4} \propto I, \tag*{(12)}

while Uem2U_{em}^{2} is nontrivial on the physical Hilbert space. The origin of this order-four behavior can be clearly seen from the conjugation of local Pauli operators shown in Figure 2. For the single-edge Pauli operators PP shown in Figure 2, one can observe that two successive applications of UemU_{em} do not return PP to itself. Instead, one finds schematically

Figure 2. Conjugation rules for the explicit Z2\mathbb{Z}_2 exchange UemU_{em}. (a)–(d) display the four successive images of single-edge Pauli operators under repeated conjugation by UemU_{em}. Red and blue labels denote X- and Z-type factors, respectively.

Uem2PUem−2=PSP,(13)U_{em}^{2} P U_{em}^{-2} = P S_P, \tag*{(13)}

where SPS_P is a nontrivial product of toric-code stabilizers. In fact, this behavior can be established rigorously. For any Pauli operator PP supported in a simply connected finite region, Uem2U_{em}^{2} returns PP to itself, up to a phase, if and only if PP belongs to the toric-code stabilizer group. We prove this statement in Appendix A.

This naturally raises the question of whether the order-four behavior is a special feature of the particular circuit in Eq. (6), or whether it is unavoidable for any Clifford realization of the ee-mm exchange. Our main result shows that the latter is the case.

Theorem 1. Consider the Z2\mathbb{Z}_2 toric code on an Lx×LyL_x \times L_y square lattice with periodic boundary conditions, with the system size sufficiently large compared with the locality range. Any locality-preserving Clifford realization UemU_{\mathrm{em}} of the ee-mm exchange satisfies

Uem2∝̸I.(14)U_{\mathrm{em}}^2 \not\propto I. \tag*{(14)}

In particular, there is no order-two Clifford realization of the ee-mm exchange.

Remark on previous work. A related no-go result was recently obtained in ref. [17], but only under substantial restrictions. The rigorous result there applies to implementations with an enlarged l×ll \times l translation symmetry for odd ll. Moreover, the ee-mm exchange is restricted to diagonal pairings only. These restrictions are closely tied to the polynomial formalism for translation-invariant Pauli systems where the obstruction is expressed as an abstract algebraic incompatibility. While this establishes the no-go result within that setting, it does not reveal the physical origin of the obstruction, e.g. the role of the braiding structure of ee and mm in the no-go mechanism.

Our result fully removes these restrictions. We do not assume any translation symmetry, and the theorem applies to arbitrary Lx×LyL_x \times L_y periodic square lattices. We also allow a much more general microscopic realization of the ee-mm exchange than a fixed pairwise mapping between vertex and plaquette stabilizers. In particular, a vertex operator may be mapped to an arbitrary local product of plaquette stabilizers, and a plaquette operator may similarly be mapped to an arbitrary local product of vertex stabilizers, provided that these transformations are local and locally invertible. Furthermore, our proof makes the role of ee-mm braiding statistics in the obstruction physically transparent.

Order-two non-Clifford realization. An exact order-two realization of the ee-mm exchange can be obtained by dressing the Clifford unitary UemU_{\mathrm{em}} in Eq. (6) with a non-Clifford operator [15],

U~em:=UemD,D:=∏vi1−Av21−Bp(v)2,U~em2∝I.(15)\widetilde{U}_{\mathrm{em}} := U_{\mathrm{em}}D,\qquad D := \prod_v i^{\frac{1-A_v}{2}\frac{1-B_{p(v)}}{2}},\qquad\widetilde{U}_{\mathrm{em}}^2 \propto I. \tag*{(15)}

The dressing DD assigns a phase ii whenever both the electric and magnetic excitations are present at a paired vertex and plaquette, corresponding to the composite fermion f=emf = em. Intuitively, applying the ee-mm exchange twice returns the anyons to their original types but produces a nontrivial braiding phase when both are present. The non-Clifford dressing precisely cancels this phase and restores an exact order-two symmetry.

Obstruction for diagonal exchange

We first prove the obstruction under the simplifying assumption that UU exchanges each vertex operator AvA_v with its diagonally paired plaquette operator BpB_p, as in Eq. (8). Throughout this subsection, p(v)p(v) denotes the plaquette immediately to the upper right of the vertex vv. The general case, in which vertex and plaquette stabilizers may be mapped to local products of stabilizers, will be considered in the next subsection.

Theorem 2. Consider the Z2\mathbb{Z}_2 toric code on a square lattice Λ\Lambda with periodic boundary conditions, with the system size sufficiently large compared with the locality range. If a locality-preserving Clifford unitary UU induces diagonal exchanges of vertex and plaquette stabilizers

UAvU†=Bp(v),UBp(v)U†=AvU A_v U^\dagger= B_{p(v)}, \qquad U B_{p(v)} U^\dagger= A_v

for every v∈V(Λ)v \in V(\Lambda), then U2∝̸IU^2 \not\propto I.

We will use the following useful property of string operators in the toric code.

Lemma 1 (Local stabilizer decomposition). Let UU satisfy the exchange relations in Theorem 2. Let αe\alpha_e be an open Pauli-ZZ string connecting vertices v1,v2v_1,v_2, and let αm\alpha_m be a nearby Pauli-XX string connecting the paired plaquettes p(v1),p(v2)p(v_1),p(v_2). Choose a disk-shaped neighborhood RαeR_{\alpha_e} of the strings, wide enough to contain the support of UαeU†U\alpha_eU^\dagger. Then

UαeU†∝αmSRαe,(16)U\alpha_eU^\dagger\propto\alpha_m S_{R_{\alpha_e}}, \tag*{(16)}

where SRαeS_{R_{\alpha_e}} has a unique decomposition into vertex and plaquette stabilizers in RαeR_{\alpha_e}.

The analogous statement holds with electric and magnetic strings interchanged.

Proof. Since UU is Clifford, UαeU†U\alpha_eU^\dagger is a Pauli operator. It creates the same pair of magnetic excitations as αm\alpha_m, so UαeU†αmU\alpha_eU^\dagger\alpha_m commutes with every stabilizer. This operator is supported in a disk-topology region RαeR_{\alpha_e} and hence is proportional to a product of stabilizers in RαeR_{\alpha_e} whose decomposition is unique. The global redundancy relations give alternative decompositions, but these involve stabilizer generators outside RαeR_{\alpha_e}. □

Proof of Theorem 2. Suppose, for contradiction, that U2∝IU^2 \propto I. After absorbing an overall phase into UU, we may assume U2=IU^2 = I. We choose three vertex–plaquette pairs

h1=(v1,p1),h2=(v2,p2),h3=(v3,p3),pj=p(vj),(17)h_1=(v_1,p_1), \qquad h_2=(v_2,p_2), \qquad h_3=(v_3,p_3), \qquad p_j=p(v_j), \tag*{(17)}

in the L-shaped arrangement shown in Figure 3, with separations much larger than the locality range of UU. Let αe\alpha_e and αm\alpha_m be electric and magnetic strings connecting h1h_1 to h2h_2, and let βe\beta_e and βm\beta_m connect h2h_2 to h3h_3. We choose their paths so that αm\alpha_m and βe\beta_e cross once, whereas αe\alpha_e and βm\beta_m are disjoint.

Figure 3. String geometry used in the proof of Theorem 2. Blue electric strings lie on the direct lattice and red magnetic strings lie on the dual lattice.

By Lemma 1, UαeU†U\alpha_e U^\dagger is the magnetic string αm\alpha_m decorated by a local product of stabilizers. Here, we separate the factors Av2A_{v_2} and Bp2B_{p_2}, associated with h2=(v2,p2)h_2=(v_2,p_2), from the remaining stabilizers.

UαeU†∝αmAv2xBp2yS~αe,x,y∈F2,(18)U\alpha_e U^\dagger\propto\alpha_m A_{v_2}^{x}B_{p_2}^{y}\widetilde{S}_{\alpha_e}, \qquad x,y\in\mathbb{F}_2, \tag*{(18)}

where S~αe\widetilde{S}_{\alpha_e} contains neither Av2A_{v_2} nor Bp2B_{p_2}. These factors Av2A_{v_2} and Bp2B_{p_2} determine how the stabilizer decoration contributes to the commutation relations with the β\beta strings. Applying UU once more gives

αe∝(UαmU†)Bp2xAv2y(US~αeU†).(19)\alpha_e \propto(U\alpha_m U^\dagger)B_{p_2}^{x}A_{v_2}^{y}(U\widetilde{S}_{\alpha_e}U^\dagger). \tag*{(19)}

Since UU exchanges the stabilizers pairwise, US~αeU†U\widetilde{S}_{\alpha_e}U^\dagger also contains neither Av2A_{v_2} nor Bp2B_{p_2}. Hence, the vertex and plaquette stabilizers at h2=(v2,p2)h_2=(v_2,p_2) have their exponents interchanged. Av2xBp2y→Bp2xAv2yA_{v_2}^{x}B_{p_2}^{y}\to B_{p_2}^{x}A_{v_2}^{y}. The same reasoning applies to the β\beta strings, and we obtain

UαeU†∝αmAv2xBp2yS~αe,UαmU†∝αeAv2yBp2xS~αm,UβeU†∝βmAv2zBp2wS~βe,UβmU†∝βeAv2wBp2zS~βm,x,y,z,w∈F2.(20)\begin{aligned} U\alpha_e U^\dagger&\propto\alpha_m A_{v_2}^{x}B_{p_2}^{y}\widetilde{S}_{\alpha_e},\\ U\alpha_m U^\dagger&\propto\alpha_e A_{v_2}^{y}B_{p_2}^{x}\widetilde{S}_{\alpha_m},\\ U\beta_e U^\dagger&\propto\beta_m A_{v_2}^{z}B_{p_2}^{w}\widetilde{S}_{\beta_e},\\ U\beta_m U^\dagger&\propto\beta_e A_{v_2}^{w}B_{p_2}^{z}\widetilde{S}_{\beta_m}, \qquad x,y,z,w\in\mathbb{F}_2. \tag*{(20)} \end{aligned}

Each tilded operator is a product of stabilizers near its corresponding string and contains neither Av2A_{v_2} nor Bp2B_{p_2}. Overall Pauli phases will not affect the argument.

For Pauli operators P,QP,Q, define the commutation relation by

PQ=(−1)⟨P,Q⟩QP,⟨P,Q⟩∈F2.(21)PQ=(-1)^{\langle P,Q\rangle}QP,\qquad\langle P,Q\rangle\in\mathbb{F}_2. \tag*{(21)}

Since αm\alpha_m and βe\beta_e cross once, we have

1=⟨αm,βe⟩=⟨UαmU†,UβeU†⟩=⟨αeAv2yBp2x,βmAv2zBp2w⟩=z⟨αe,Av2⟩+x⟨Bp2,βm⟩=x+z.(22)1 = \langle\alpha_m,\beta_e\rangle= \langle U\alpha_m U^\dagger,U\beta_e U^\dagger\rangle = \langle\alpha_e A_{v_2}^{y} B_{p_2}^{x},\beta_m A_{v_2}^{z} B_{p_2}^{w}\rangle = z\langle\alpha_e,A_{v_2}\rangle+ x\langle B_{p_2},\beta_m\rangle= x+z. \tag*{(22)}

In the second line we dropped the tilded stabilizers as they do not contain Av2A_{v_2} or Bp2B_{p_2}. In the third line we used that αe\alpha_e and βm\beta_m are disjoint, while αe\alpha_e anticommutes with Av2A_{v_2} and βm\beta_m anticommutes with Bp2B_{p_2}. Thus

x+z=1(mod2).(23)x+z=1 \pmod{2}. \tag*{(23)}

We now derive another constraint by closing the strings into contractible loops. The product αeβe\alpha_e\beta_e is an electric string connecting v1v_1 and v3v_3 (Figure 4(a)). Multiplying the transformations in Eq. (20), we find

String geometry used in the proof of Theorem 2

Figure 4. (a) Oriented open strings and the three pairs hjh_j. (b) The dashed closing string γe\gamma_e bounds MM. (c) The dashed closing string γm\gamma_m bounds NN. String geometry used in the proof of Theorem 2. Blue direct-lattice strings are Pauli-ZZ operators and red dual-lattice strings are Pauli-XX operators; arrows give the orientations used for the ZN\mathbb{Z}_N argument. (a) αm\alpha_m and βe\beta_e cross once, while αe\alpha_e and βm\beta_m are disjoint. Dashed closing strings form (b) an electric loop enclosing the plaquette set MM with p2∉Mp_2 \notin M, and (c) a magnetic loop enclosing the vertex set NN with v2∉Nv_2 \notin N.

U(αeβe)U†∝αmβmAv2aBp2bS~αeβe,a=x+z,b=y+w(mod2),(24)U(\alpha_e\beta_e)U^\dagger\propto\alpha_m\beta_m A_{v_2}^{a}B_{p_2}^{b}\widetilde{S}_{\alpha_e\beta_e}, \qquad a=x+z,\quad b=y+w \pmod{2}, \tag*{(24)}

where S~αeβe=S~αeS~βe\widetilde{S}_{\alpha_e\beta_e}=\widetilde{S}_{\alpha_e}\widetilde{S}_{\beta_e} contains neither middle generator.

Choose an electric string γe\gamma_e from v3v_3 back to v1v_1, following the distant sides of the rectangle in Figure 4(b). Here, αeβeγe\alpha_e\beta_e\gamma_e forms a closed loop surrounding a rectangular region MM, and can be expressed as a product of plaquettes on MM

αeβeγe=∏q∈MBq.(25)\alpha_e\beta_e\gamma_e=\prod_{q\in M}B_q. \tag*{(25)}

The region MM lies to the left of βe\beta_e, whereas p2p_2 lies immediately to the upper right of v2v_2. Hence,

p2∉M.(26)p_2\notin M. \tag*{(26)}

Using the exchange relations of stabilizers, we have

U(αeβeγe)U†=∏v∈VMAv,VM:={v∈V(Λ):p(v)∈M}.(27)U(\alpha_e\beta_e\gamma_e)U^\dagger=\prod_{v\in V_M}A_v,\qquad V_M:=\{v\in V(\Lambda):p(v)\in M\}. \tag*{(27)}

Since p(v)p(v) is the plaquette immediately to the upper right of vv, the vertex region VMV_M is obtained from the plaquette region MM by shifting it to the lower left. This direction is opposite to the vertex-to-plaquette pairing Av↦Bp(v)A_v\mapsto B_{p(v)}, which shifts the stabilizer label to the upper right. In particular, since p2∉Mp_2\notin M, we have

v2∉VM.(28)v_2\notin V_M. \tag*{(28)}

Likewise, choose a nearby magnetic closing string γm\gamma_m from p3p_3 to p1p_1, as in Figure 4(c). The loop αmβmγm\alpha_m\beta_m\gamma_m bounds a simply connected vertex region NN, and thus

αmβmγm=∏v∈NAv.(29)\alpha_m\beta_m\gamma_m = \prod_{v\in N} A_v. \tag*{(29)}

Here, NN and VMV_M do not coincide. Since p(v)p(v) lies immediately to the upper right of vv, VMV_M is shifted to the lower left relative to NN. In particular, the lower boundary of NN is αm\alpha_m, which lies above v2v_2, and hence

v2∉N.(30)v_2 \notin N. \tag*{(30)}

The closing string γe\gamma_e can be chosen sufficiently far from the middle pair (v2,p2)(v_2,p_2). Hence, Lemma 1 gives

UγeU†∝γmS~γe,(31)U\gamma_e U^\dagger\propto\gamma_m \widetilde{S}_{\gamma_e}, \tag*{(31)}

where S~γe\widetilde{S}_{\gamma_e} contains neither Av2A_{v_2} nor Bp2B_{p_2}. We can now compute the transformed electric loop in a second way, by multiplying the three transformed segments. Combining Eqs. (24), (27), and (31), we obtain

αmβmγmAv2aBp2bS~αeβeS~γe∝∏v∈VMAv.(32)\alpha_m\beta_m\gamma_m A_{v_2}^{a}B_{p_2}^{b}\widetilde{S}_{\alpha_e\beta_e}\widetilde{S}_{\gamma_e}\propto\prod_{v\in V_M}A_v. \tag*{(32)}

Substituting Eq. (29) gives an equality between stabilizer products,

(∏v∈NAv)Av2aBp2bS~αeβeS~γe∝∏v∈VMAv.(33)\left(\prod_{v\in N}A_v\right)A_{v_2}^{a}B_{p_2}^{b}\widetilde{S}_{\alpha_e\beta_e}\widetilde{S}_{\gamma_e}\propto\prod_{v\in V_M}A_v. \tag*{(33)}

Neither NN nor VMV_M contains v2v_2, and the tilded products contain no Av2A_{v_2}. The only possible occurrence of this generator is therefore the explicit factor Av2aA_{v_2}^{a} on the left-hand side. Comparing its coefficient in the two disk-supported decompositions yields

a=x+z=0(mod2),(34)a=x+z=0\pmod{2}, \tag*{(34)}

in contradiction with Eq. (23). This completes the proof.

The proof suggests a possible connection with the real projective plane RP2\mathbb{R}\mathbb{P}^{2} and cross-caps [14]. Recall that RP2\mathbb{R}\mathbb{P}^{2} can be obtained from a disk by identifying antipodal points on its boundary. Namely, a path connecting two antipodal boundary points becomes a closed loop. A striking feature of this geometry is that two such paths with different endpoints must cross an odd number of times, even though the two loops can be continuously deformed into one another. Thus, the geometry forces a crossing that cannot be removed by deforming the loops. In our proof, the electric and magnetic strings are chosen to cross once near the middle pair. This is analogous to the unavoidable crossing on RP2\mathbb{R}\mathbb{P}^{2}. Our construction does not actually change the topology of the lattice. Rather, the string configuration locally emulates a cross-cap-like geometry and probes the response of the string operators to this geometry.

Obstruction for general ee-mm exchange

The argument in the previous subsection assumed a particularly simple ee-mm exchange pattern, in which each vertex operator AvA_v is exchanged with the plaquette operator BpB_p immediately to its upper right. In this subsection, we extend the result to a much more general class of ee-mm exchanges.

Definition 1 (e-m exchanging symmetry). A locality-preserving Clifford unitary UU is called an e-m exchanging symmetry if there exists a constant RR, independent of the system size, such that for every vertex vv and plaquette pp,

UAvU†=∏q∈P(v)Bq,UBpU†=∏w∈V(p)Aw.(35)\begin{aligned} UA_vU^\dagger&= \prod_{q\in\mathcal{P}(v)}B_q,\\ UB_pU^\dagger&= \prod_{w\in\mathcal{V}(p)}A_w. \tag*{(35)} \end{aligned}

where every plaquette in P(v)\mathcal{P}(v) lies within distance RR from vv, and every vertex in V(p)\mathcal{V}(p) lies within distance RR from $p*.* Thus, an individual vertex stabilizer may be mapped to an arbitrary local product of plaquette stabilizers. No translation symmetry or fixed pairing between vertices and plaquettes is assumed. Not every choice of the sets P(v)\mathcal{P}(v) and V(p)\mathcal{V}(p) defines a physically consistent transformation, as it must define an invertible transformation between the physical vertex and plaquette stabilizer groups.

Our goal is to show that the no-go theorem continues to hold for this generalized notion of ee-mm exchange. The strategy is to reduce the general transformation Eq. (35) to the simple pairwise exchange studied in the previous subsection. Here we will use the standard binary formalism for the Z2\mathbb{Z}_2 toric code. The relevant binary vector spaces are the vertex, edge, and plaquette spaces

C0:=⨁v∈V(Λ)F2v,C1:=⨁e∈E(Λ)F2e,C2:=⨁p∈F(Λ)F2p.(36)C_0 := \bigoplus_{v\in V(\Lambda)} \mathbb{F}_2 v,\qquad C_1 := \bigoplus_{e\in E(\Lambda)} \mathbb{F}_2 e,\qquad C_2 := \bigoplus_{p\in F(\Lambda)} \mathbb{F}_2 p. \tag*{(36)}

For an edge vector c∈C1c\in C_1, we denote the corresponding Pauli operators by

X(c):=∏eXece,Z(c):=∏eZece.(37)X(c) := \prod_e X_e^{c_e},\qquad Z(c) := \prod_e Z_e^{c_e}. \tag*{(37)}

The CSS chain complex of the toric code is

C0→G1C1→G2tC2(38)C_0 \xrightarrow{G_1} C_1 \xrightarrow{G_2^{t}} C_2 \tag*{(38)}

where G1:C0→C1G_1:C_0\to C_1 and G2:C2→C1G_2:C_2\to C_1 are the vertex and plaquette maps. In particular, G1vG_1v is the binary edge vector supported on the edges incident on vv, while G2pG_2p is the binary edge vector supported on the boundary of pp. The toric-code stabilizers can be written as

Av=X(G1v),Bp=Z(G2p).(39)A_v = X(G_1v),\qquad B_p = Z(G_2p). \tag*{(39)}

The commutativity of the vertex and plaquette stabilizers is expressed as

G2tG1=0(40)G_2^{t}G_1 = 0 \tag*{(40)}

where tt denotes the transpose.

One can also extend this notation to arbitrary stabilizer products. For a∈C0a\in C_0 and b∈C2b\in C_2, define

A(a):=X(G1a),B(b):=Z(G2b).(41)A(a) := X(G_1a),\qquad B(b) := Z(G_2b). \tag*{(41)}

Defining the all-ones plaquette vector

12:=∑p∈F(Λ)p∈C2,(42)\mathbf{1}_2 := \sum_{p\in F(\Lambda)} p\in C_2, \tag*{(42)}

the global plaquette redundancy ∏pBp=I\prod_p B_p = I can be written as

B(12)=Z(G212)=I,G212=0.(43)B(\mathbf{1}_2) = Z(G_2\mathbf{1}_2) = I,\qquad G_2\mathbf{1}_2 = 0. \tag*{(43)}

We now consider a local change of basis among the plaquette stabilizers. Such a transformation can be represented by an invertible F2\mathbb{F}_2-linear map FF.

B(b)⟼B(Fb),F:C2⟶C2.(44)B(b) \longmapsto B(Fb), \qquad F : C_2 \longrightarrow C_2. \tag*{(44)}

Since an invertible change of stabilizer basis preserves the global redundancy B(12)=IB(\mathbf{1}_2)=I, we must have

F12=12.(45)F\mathbf{1}_2=\mathbf{1}_2. \tag*{(45)}

The following lemma shows that every such local change of plaquette stabilizer basis can be realized microscopically by a locality-preserving CSS Clifford transformation.

Lemma 2 (Local stabilizer basis change). Let F:C2⟶C2F : C_2 \longrightarrow C_2 be a locality-preserving and locally invertible F2\mathbb{F}_2-linear map satisfying F12=12F\mathbf{1}_2=\mathbf{1}_2. Then there exists a locality-preserving CSS Clifford unitary VFV_F such that

VFAvVF†=Av,VFB(b)VF†=B(Fb)(46)\begin{aligned} V_F A_v V_F^\dagger&= A_v,\\ V_F B(b) V_F^\dagger&= B(Fb) \tag*{(46)} \end{aligned}

for every vertex vv and every b∈C2b \in C_2.

Although we state the lemma for the square-lattice toric code, the proof does not rely on the square geometry. The same idea is also expected to extend to broader classes of CSS stabilizer codes.

Proof. We first show that the deviation of FF from the identity can be written as

L:=F−I=HG2(47)L := F-I = HG_2 \tag*{(47)}

for some locality-preserving linear map H:C1⟶C2H : C_1 \longrightarrow C_2.

Since F12=12F\mathbf{1}_2=\mathbf{1}_2, we have

L12=(F−I)12=0.(48)L\mathbf{1}_2=(F-I)\mathbf{1}_2=0. \tag*{(48)}

For each plaquette pp, let ℓp\ell_p denote the transpose of the pp-th row of LL. Then, Eq. (48) implies

ℓpt12=0,(49)\ell_p^{\mathsf{t}}\mathbf{1}_2=0, \tag*{(49)}

so supp⁡(ℓp)\operatorname{supp}(\ell_p) contains an even number of plaquettes. Then, we can pair plaquettes in supp⁡(ℓp)\operatorname{supp}(\ell_p) as (qi,qi′)(q_i,q_i'). For each pair, one may choose some simple sequence of adjacent plaquettes

qi=p0, p1,…,pk=qi′(50)q_i=p_0,\ p_1,\ldots,p_k=q_i' \tag*{(50)}

within the neighborhood of pp. Let sis_i be the edge vector supported on the edges shared by plaquettes in this sequence, as shown in Figure 5. Each intermediate plaquette pjp_j contains two selected edges from the sequence, while each endpoint plaquette contains only one. Since we work over F2\mathbb{F}_2, the intermediate contributions cancel, and hence

The edge vector $s_i$ (left) and the resulting plaquette vector $G_2^t s_i$ (right)

Figure 5. The edge vector sis_i (left) and the resulting plaquette vector G2tsiG_2^t s_i (right).

G2tsi=qi+qi′.(51)G_2^t s_i = q_i + q_i'. \tag*{(51)}

Setting hp:=∑isi∈C1h_p := \sum_i s_i \in C_1, we obtain

G2thp=∑i(qi+qi′)=ℓp.(52)G_2^t h_p = \sum_i (q_i + q_i') = \ell_p. \tag*{(52)}

Taking hpth_p^t as the pp-th row of a locality-preserving map H:C1→C2H : C_1 \to C_2, we therefore have

L=HG2.(53)L = H G_2. \tag*{(53)}

We now lift the plaquette-label transformation FF to a locality-preserving invertible transformation on the physical edge labels. Define

T:=I+G2H,T:C1⟶C1.(54)T := I + G_2 H,\qquad T : C_1 \longrightarrow C_1. \tag*{(54)}

Then, TT reproduces the action of FF on plaquette stabilizers.

TG2=(I+G2H)G2=G2+G2HG2=G2+G2(F−I)=G2F.(55)\begin{aligned} T G_2 &= (I + G_2 H)G_2 \\ &= G_2 + G_2 H G_2 \\ &= G_2 + G_2(F-I) = G_2F. \tag*{(55)} \end{aligned}

At the same time, TT leaves the vertex stabilizers invariant. Namely, using the commutativity condition G2tG1=0G_2^tG_1 = 0, we find

TtG1=(I+HtG2t)G1=G1.(56)T^tG_1 = (I + H^tG_2^t)G_1 = G_1. \tag*{(56)}

Here, TT is invertible. Indeed, the inverse is

T−1=I+G2F−1H.(57)T^{-1} = I + G_2F^{-1}H. \tag*{(57)}

To verify this, we use HG2=F−IHG_2 = F - I and compute

(I+G2H)(I+G2F−1H)=I+G2H+G2F−1H+G2HG2F−1H=I+G2[H+F−1H+(F−I)F−1H]=I.(58)\begin{aligned} (I + G_2H)(I + G_2F^{-1}H) &= I + G_2H + G_2F^{-1}H + G_2HG_2F^{-1}H \\ &= I + G_2\left[H + F^{-1}H + (F-I)F^{-1}H\right] = I. \tag*{(58)} \end{aligned}

Since G2G_2, HH, and F−1F^{-1} are all locality preserving, both TT and T−1T^{-1} are locality preserving.

We now extend TT to a transformation of the full Pauli group. Up to an overall phase, an edge Pauli operator can be labeled by a pair (z,x)t∈C1⊕C1(z,x)^t \in C_1 \oplus C_1, corresponding to

Z(z)X(x).(59)Z(z)X(x). \tag*{(59)}

Since the ZZ-type labels transform as z↦Tzz \mapsto Tz, preservation of the Pauli commutation relations requires the XX-type labels to transform as x↦(T−1)txx \mapsto(T^{-1})^t x. We therefore define

S:=(T00(T−1)t).(60)S := \begin{pmatrix} T & 0 \\ 0 & (T^{-1})^t \end{pmatrix}. \tag*{(60)}

This transformation is symplectic and hence can be implemented by some Clifford unitary, which we denote by VFV_F. Since TT and T−1T^{-1} are locality preserving, both SS and S−1S^{-1} are locality preserving, and thus VFV_F defines a locality-preserving CSS Clifford transformation. Finally, one can verify

VFBpVF†=Z(TG2p)=Z(G2Fp)=B(Fp)(61)\begin{aligned} V_F B_p V_F^\dagger&= Z(TG_2p) \\ &= Z(G_2Fp) = B(Fp) \tag*{(61)} \end{aligned}

and

VFAvVF†=X((T−1)tG1v)(62)V_F A_v V_F^\dagger= X((T^{-1})^tG_1v) \tag*{(62)}
=X(G1v)=Av.(63)= X(G_1v) = A_v. \tag*{(63)}

The same statement holds with vertices and plaquettes interchanged.

We are now ready to establish the general no-go result. Suppose, for contradiction, that there exists an order-two Clifford UU which exchanges ee and mm with U2∝IU^2 \propto I and

UA(a)U†=B(Fa),UB(b)U†=A(Gb),(64)UA(a)U^\dagger= B(Fa), \qquad UB(b)U^\dagger= A(Gb), \tag*{(64)}

where FF and GG are locality-preserving invertible changes of stabilizer basis. The condition U2∝IU^2 \propto I implies that each column of GF−IGF-I and FG−IFG-I represents a trivial stabilizer product. Since these columns are local, they cannot be nonzero all-ones vectors associated with the global redundancies, so GF=FG=IGF = FG = I. Thus F−1=GF^{-1} = G and G−1=FG^{-1} = F are also locality preserving. Let VFV_F be the CSS Clifford unitary as in Lemma 2, and define

U^:=VF†UVF.(65)\widehat{U}:=V_F^\dagger U V_F. \tag*{(65)}

Since VFV_F fixes the vertex stabilizers and sends B(b)B(b) to B(Fb)B(Fb), we obtain

U^A(a)U^†=B(a),(66)\widehat{U}A(a)\widehat{U}^\dagger=B(a), \tag*{(66)}
U^B(b)U^†=A(Kb),K:=GF.(67)\widehat{U}B(b)\widehat{U}^\dagger=A(Kb),\qquad K:=GF. \tag*{(67)}

Therefore two applications of U^\widehat{U} transform stabilizer generators as follows.

U^2A(a)U^−2=A(Ka),(68)\widehat{U}^{2}A(a)\widehat{U}^{-2}=A(Ka), \tag*{(68)}
U^2B(b)U^−2=B(Kb).(69)\widehat{U}^{2}B(b)\widehat{U}^{-2}=B(Kb). \tag*{(69)}

Since U^\widehat{U} is related to UU by conjugation, it also satisfies U^2∝I\widehat{U}^{2}\propto I. Each column of K−IK-I therefore represents a trivial stabilizer product. Since K−IK-I is local, no such column can be the nonzero all-ones vector associated with the global redundancy. Hence,

K=I.(70)K=I. \tag*{(70)}

Thus

U^A(a)U^†=B(a),U^B(b)U^†=A(b),(71)\widehat{U}A(a)\widehat{U}^\dagger=B(a),\qquad\widehat{U}B(b)\widehat{U}^\dagger=A(b), \tag*{(71)}

reducing the general problem to the exact diagonal exchange studied in the previous subsection. This completes the proof of Theorem 1.

e-m exchange on the ZN\mathbb{Z}_N toric code

We next generalize the no-go theorem to the ZN\mathbb{Z}_N toric code. For odd NN, the order-two electric–magnetic duality admits an order-two Clifford realization, whereas for even NN such a realization is impossible.

Consider NN-dimensional qudits {∣j⟩}j=0N−1\{\lvert j\rangle\}_{j=0}^{N-1} and generalized Pauli operators XX, ZZ such that

X∣j⟩=∣j+1⟩,Z∣j⟩=ωj∣j⟩,ω:=e2πiN(72)X\lvert j\rangle=\lvert j+1\rangle,\qquad Z\lvert j\rangle=\omega^j\lvert j\rangle,\qquad\omega:=e^{\frac{2\pi i}{N}} \tag*{(72)}

where the basis label is understood modulo NN. Their commutation relation is ZX=ωXZZX=\omega XZ. The ZN\mathbb{Z}_N toric code Hamiltonian is given by

H:=−∑v∈V(Λ)Av−∑p∈F(Λ)Bp,(73)H:=-\sum_{v\in V(\Lambda)}A_v-\sum_{p\in F(\Lambda)}B_p, \tag*{(73)}

where the vertex and plaquette projectors are

Av=1N∑k=0N−1Av(k),Bp=1N∑k=0N−1Bp(k),Av(k):=(X†)kXk(X†)kXk,Bp(k):=(Z†)k(Z†)kZkZk.(74)A_v=\frac{1}{N}\sum_{k=0}^{N-1}A_v^{(k)},\qquad B_p=\frac{1}{N}\sum_{k=0}^{N-1}B_p^{(k)},\qquad A_v^{(k)}:=(X^\dagger)^kX^k(X^\dagger)^kX^k,\qquad B_p^{(k)}:=(Z^\dagger)^k(Z^\dagger)^kZ^kZ^k. \tag*{(74)}

An open oriented ZaZ^a-string violates the vertex constraints at its two endpoints and creates a pair ea,e−ae^a,e^{-a}. Similarly, an open dual XbX^b-string creates plaquette excitations mb,m−bm^b,m^{-b} at its endpoints, as shown in Figure 6.

Figure 6. Anyon excitations in ZN\mathbb{Z}_N toric code. The arrows indicate the orientation of the open ZaZ^a-string and dual XbX^b-string.

For an ee-mm exchange, we consider the anyon permutation

e↦m−1,m↦e−1,(75)e\mapsto m^{-1},\qquad m\mapsto e^{-1}, \tag*{(75)}

which exchanges the electric and magnetic sectors while preserving the anyon data. For N=2N=2, the inverses are invisible and this reduces to the usual exchange e↔me\leftrightarrow m.

Microscopic realization of the ee-mm exchange anyon permutation

We now construct an explicit Clifford realization of the ee-mm exchange anyon permutation. For Pauli operators PP and QQ, define the commutation exponent ⟨P,Q⟩∈ZN\langle P,Q\rangle\in\mathbb{Z}_N by

PQP†Q†=ω⟨P,Q⟩.(76)PQP^\dagger Q^\dagger=\omega^{\langle P,Q\rangle}. \tag*{(76)}

Thus, ⟨P,Q⟩=0\langle P,Q\rangle=0 if and only if PP and QQ commute. In particular,

⟨Z,X⟩=−⟨X,Z⟩=1.\langle Z,X\rangle=-\langle X,Z\rangle=1.

We first introduce a Clifford unitary associated with a Pauli operator PP satisfying PN=IP^{N}=I,

U⋄(P):={1N∑r=0N−1ωr(r+1)2Pr(N: odd),1N∑r=0N−1ωr22Pr(N: even).(77)U_{\diamond}(P):= \begin{cases} \frac{1}{\sqrt{N}}\sum_{r=0}^{N-1}\omega^{\frac{r(r+1)}{2}}P^{r} & (N:\text{ odd}),\\[6pt] \frac{1}{\sqrt{N}}\sum_{r=0}^{N-1}\omega^{\frac{r^{2}}{2}}P^{r} & (N:\text{ even}). \end{cases} \tag*{(77)}

Its action on a Pauli operator QQ is, up to a U(1)U(1) phase,

Q↦QP−⟨P,Q⟩,(78)Q\mapsto QP^{-\langle P,Q\rangle}, \tag*{(78)}

generalizing the qubit conjugation rule (10).

To verify this explicitly, let m:=⟨P,Q⟩m:=\langle P,Q\rangle. For odd NN, direct computation gives

U⋄(P)QU⋄†(P)=1N∑r,s=0N−1ω12(r(r+1)−s(s+1))PrQ(P†)s,=Q⋅1N∑r,s=0N−1ω12(r(r+1)−s(s+1))+mrPr−s,=Q⋅1N∑t,s=0N−1ωt(t+1)2+mt+(t+m)sPt,=ω−m(m+1)2QP−m,(79)\begin{aligned} U_{\diamond}(P)QU_{\diamond}^{\dagger}(P) &=\frac{1}{N}\sum_{r,s=0}^{N-1}\omega^{\frac{1}{2}(r(r+1)-s(s+1))}P^{r}Q(P^{\dagger})^{s},\\ &=Q\cdot\frac{1}{N}\sum_{r,s=0}^{N-1}\omega^{\frac{1}{2}(r(r+1)-s(s+1))+mr}P^{r-s},\\ &=Q\cdot\frac{1}{N}\sum_{t,s=0}^{N-1}\omega^{\frac{t(t+1)}{2}+mt+(t+m)s}P^{t},\\ &=\omega^{-\frac{m(m+1)}{2}}QP^{-m}, \tag*{(79)} \end{aligned}

where we used

∑s=0N−1ω(t+m)s=Nδt,−m.(80)\sum_{s=0}^{N-1}\omega^{(t+m)s}=N\delta_{t,-m}. \tag*{(80)}

Similarly, for even NN,

U⋄(P)QU⋄†(P)=ω−m22QP−m.(81)U_{\diamond}(P)QU_{\diamond}^{\dagger}(P)=\omega^{-\frac{m^{2}}{2}}QP^{-m}. \tag*{(81)}

Taking Q=IQ=I also verifies that U⋄(P)U_{\diamond}(P) is unitary.

We now use these elementary Clifford unitaries to construct a microscopic realization of the ee-mm exchange. For each plaquette pp, define the weight-2 Pauli operators

P1(p):=pXZ,P2(p):=X ZpXZ,P3(p):=XZp.(82)P_{1}(p):=\boxed{\begin{array}{c}p\quad X\\ Z\end{array}}, \qquad P_{2}(p):=\boxed{\begin{array}{c}X\ Z\\ p\quad XZ\end{array}}, \qquad P_{3}(p):=\boxed{\begin{array}{c}X\\ Z\quad p\end{array}}. \tag*{(82)}

Then define

Uem:=∏p∈F(Λ)U▹◃(P3(p))∏q∈F(Λ)U▹◃(P2(q))∏r∈F(Λ)U▹◃(P1(r)).(83)U_{em}:=\prod_{p\in F(\Lambda)}U_{\triangleright\triangleleft}(P_3(p))\prod_{q\in F(\Lambda)}U_{\triangleright\triangleleft}(P_2(q))\prod_{r\in F(\Lambda)}U_{\triangleright\triangleleft}(P_1(r)). \tag*{(83)}

Using the conjugation rule above, one finds that UemU_{em} exchanges the ZN\mathbb{Z}_N toric-code stabilizer generators as

UemAv(1)Uem†=Bp(v)(−1),UemBp(v)(1)Uem†=Av(−1),U_{em}A_v^{(1)}U_{em}^{\dagger}=B_{p(v)}^{(-1)},\qquad U_{em}B_{p(v)}^{(1)}U_{em}^{\dagger}=A_v^{(-1)},
UemAv(−1)Uem†=Bp(v)(1),UemBp(v)(−1)Uem†=Av(1).(84)U_{em}A_v^{(-1)}U_{em}^{\dagger}=B_{p(v)}^{(1)},\qquad U_{em}B_{p(v)}^{(-1)}U_{em}^{\dagger}=A_v^{(1)}. \tag*{(84)}

The corresponding transformations are illustrated in Figure 7. Thus, UemU_{em} realizes the anyon permutation

Figure 7. Conjugation rules for the explicit ZNZ_N exchange UemU_{em}. Panels (a)–(c) show the first two iterates of representative local Pauli operators, while panels (d)–(g) show the exchange of the two oriented vertex operators with their paired plaquette operators. Red and blue labels denote XX- and ZZ-type factors, respectively, and a dagger denotes the inverse generalized Pauli operator.

e↦m−1,m↦e−1.(85)e\mapsto m^{-1},\qquad m\mapsto e^{-1}. \tag*{(85)}

For N=2N=2, this reduces to the microscopic ee-mm exchange introduced in § 2.

Although the induced anyon permutation has order two, the microscopic Clifford unitary UemU_{em} generally has a higher order. We determine its order below.

Proposition 1. The order of UemU_{em} is 2N2N up to an overall phase.

Proof. It follows from Eq. (84) that

Uem2Av(1)Uem−2=Av(1),Uem2Bp(1)Uem−2=Bp(1).(86)U_{em}^{2}A_v^{(1)}U_{em}^{-2}=A_v^{(1)},\qquad U_{em}^{2}B_p^{(1)}U_{em}^{-2}=B_p^{(1)}. \tag*{(86)}

Now take the horizontal edge h=h0,0h=h_{0,0}. The conjugation action of Uem2U_{em}^{2} on XhX_h is (see Figure 7)

Uem2XhUem−2=XhA(0,0)(1)(A(0,−1)(1))−1.(87)U_{em}^{2}X_hU_{em}^{-2}=X_hA_{(0,0)}^{(1)}\left(A_{(0,-1)}^{(1)}\right)^{-1}. \tag*{(87)}

Since Uem2U_{em}^{2} fixes every Av(1)A_v^{(1)}, repeated application gives

Uem2kXhUem−2k=Xh(A(0,0)(1)(A(0,−1)(1))−1)k.(88)U_{em}^{2k}X_hU_{em}^{-2k}=X_h\left(A_{(0,0)}^{(1)}\left(A_{(0,-1)}^{(1)}\right)^{-1}\right)^k. \tag*{(88)}

The stabilizer factor A(0,0)(1)(A(0,−1)(1))−1A_{(0,0)}^{(1)}\left(A_{(0,-1)}^{(1)}\right)^{-1} has order NN. Hence the conjugation action of Uem2U_{em}^{2} has order at least NN. The same calculation for ZhZ_h, XvX_v, and ZvZ_v shows that Uem2NU_{em}^{2N} acts trivially on the full Pauli algebra, and hence

Uem2N∝I.(89)U_{em}^{2N}\propto I. \tag*{(89)}

Moreover, the action on XhX_h remains nontrivial for 0<k<N0<k<N, so no smaller even power can be proportional to the identity, while odd powers exchange vertex and plaquette stabilizers. Therefore UemU_{em} has order 2N2N up to an overall phase.

:::

Obstruction to Z2\mathbb{Z}_2 realization

We now ask whether an order-two Clifford realization exists. The answer is determined entirely by the parity of NN.

When NN is odd, define

V:=UemN.(90)V := U_{em}^{N}. \tag*{(90)}

Since NN is odd, VV induces the same ee-mm exchange as UemU_{em},

VAv(1)V†=Bp(v)(−1),VBp(v)(1)V†=Av(−1),VAv(−1)V†=Bp(v)(1),VBp(v)(−1)V†=Av(1).(91)V A_v^{(1)} V^\dagger= B_{p(v)}^{(-1)}, \qquad V B_{p(v)}^{(1)} V^\dagger= A_v^{(-1)}, \qquad V A_v^{(-1)} V^\dagger= B_{p(v)}^{(1)}, \qquad V B_{p(v)}^{(-1)} V^\dagger= A_v^{(1)}. \tag*{(91)}

By Proposition 1, VV has order two up to an overall phase. Thus, there is no obstruction to an order-two Clifford realization for odd NN.

For even NN, write N=2aMN = 2^a M with MM odd. The unitary UemMU_{em}^{M} still realizes the ee-mm exchange and has order 2a+12^{a+1}, but this does not rule out the existence of a different Clifford realization of lower order. We now show that order two is impossible.

Theorem 3. Consider the ZN\mathbb{Z}_N toric code on an Lx×LyL_x \times L_y square lattice with periodic boundary conditions, with the system size sufficiently large compared with the locality range. When NN is even, any locality-preserving Clifford realization UemU_{em} of the ee-mm exchange satisfies

Uem2∝̸I.(92)U_{em}^{2} \not\propto I. \tag*{(92)}

In particular, there is no order-two Clifford realization of the ee-mm exchange.

The theorem establishes an obstruction to an order-two microscopic Clifford realization for even NN. Before turning to the proof, we first formulate the ZN\mathbb{Z}_N analogues of Definition 1 and Lemma 2.

Definition 2 (e-mm exchanging symmetry on the ZN\mathbb{Z}_N toric code). We use the vertex–plaquette pairing p(v)p(v) introduced in Section 2.2 to identify vertex and plaquette indices. For finitely supported exponent column vectors aa and bb over ZN\mathbb{Z}_N, define A(a):=∏vAv(av)A(a) := \prod_v A_v^{(a_v)} and B(b):=∏pBp(−bp)B(b) := \prod_p B_p^{(-b_p)}. The minus sign in the definition of B(b)B(b) is chosen so that the diagonal ee-mm exchange corresponds to the identity map on the exponent labels.

A locality-preserving Clifford unitary UU is called an ee-mm exchanging symmetry if there exist locality-preserving, locally invertible ZN\mathbb{Z}_N-linear maps FF and GG such that

UA(a)U†=B(Fa),UB(b)U†=A(Gb),(93)U A(a) U^\dagger= B(Fa), \qquad U B(b) U^\dagger= A(Gb), \tag*{(93)}

for all aa and bb, with F1=G1=1F\mathbf{1} = G\mathbf{1} = \mathbf{1}. Here, local invertibility means that F−1F^{-1} and G−1G^{-1} are also locality preserving.

The local basis change lemma (Lemma 2) from Section 2 has the following generalization to ZN\mathbb{Z}_N.

Lemma 3 (Local stabilizer basis change over ZN\mathbb{Z}_N). Let FF be a locality-preserving and locally invertible ZN\mathbb{Z}_N-linear transformation of the oriented plaquette stabilizer generators satisfying F1=1F1=1. Then there exists a locality-preserving CSS Clifford unitary VFV_F such that

VFAv(1)VF†=Av(1),VFB(b)VF†=B(Fb).(94)V_F A_v^{(1)} V_F^\dagger= A_v^{(1)}, \qquad V_F B(b) V_F^\dagger= B(Fb). \tag*{(94)}

The proof is given in Appendix § 7.

Proof of Theorem 3. Suppose, for contradiction, that Uem2∝IU_{\rm em}^2 \propto I. We first use Lemma 3 to reduce the stabilizer action to an exact exchange of diagonal pairs. With FF as in Eq. (93), define

U^:=VF†UemVF.(95)\widehat{U} := V_F^\dagger U_{\rm em} V_F. \tag*{(95)}

Since VFV_F fixes the vertex stabilizers and sends B(b)B(b) to B(Fb)B(Fb), we obtain U^A(a)U^†=B(a)\widehat{U}A(a)\widehat{U}^\dagger= B(a). Applying U^\widehat{U} once more and using U^2∝I\widehat{U}^2 \propto I gives the reverse exchange. Thus,

U^Av(1)U^†=Bp(v)(−1),U^Bp(v)(−1)U^†=Av(1).(96)\widehat{U} A_v^{(1)} \widehat{U}^\dagger= B_{p(v)}^{(-1)}, \qquad\widehat{U} B_{p(v)}^{(-1)} \widehat{U}^\dagger= A_v^{(1)}. \tag*{(96)}

After absorbing an overall phase, we may assume U^2=I\widehat{U}^2=I.

We use the same L-shaped string arrangement as in Figure 4, with separations much larger than the locality range of U^\widehat{U}. Orient αe\alpha_e from v1v_1 to v2v_2 and βe\beta_e from v2v_2 to v3v_3, with e−1e^{-1} at each initial endpoint and ee at each final endpoint. Choose αm\alpha_m and βm\beta_m on the nearby dual paths with the same endpoint syndromes as U^αeU^†\widehat{U}\alpha_e\widehat{U}^\dagger and U^βeU^†\widehat{U}\beta_e\widehat{U}^\dagger, respectively. Since αm\alpha_m and βe\beta_e cross once, whereas αe\alpha_e and βm\beta_m are disjoint,

⟨αm,βe⟩=±1,⟨αe,βm⟩=0.(97)\langle\alpha_m,\beta_e\rangle= \pm1, \qquad\langle\alpha_e,\beta_m\rangle= 0. \tag*{(97)}

The local stabilizer decomposition in Lemma 1 extends to ZN\mathbb{Z}_N by the same contractible-region argument. Separating the factors at the middle pair h2=(v2,p2)h_2=(v_2,p_2) from the remaining stabilizers, we obtain

U^αeU^†∝αmAv2(x)Bp2(−y)S~αe,U^αmU^†∝αeAv2(−y)Bp2(x)S~αm,U^βeU^†∝βmAv2(z)Bp2(−w)S~βe,x,y,z,w∈ZN.(98)\begin{aligned} \widehat{U}\alpha_e\widehat{U}^\dagger&\propto\alpha_m A_{v_2}^{(x)} B_{p_2}^{(-y)} \widetilde{S}_{\alpha_e},\\ \widehat{U}\alpha_m\widehat{U}^\dagger&\propto\alpha_e A_{v_2}^{(-y)} B_{p_2}^{(x)} \widetilde{S}_{\alpha_m},\\ \widehat{U}\beta_e\widehat{U}^\dagger&\propto\beta_m A_{v_2}^{(z)} B_{p_2}^{(-w)} \widetilde{S}_{\beta_e}, \qquad x,y,z,w\in\mathbb{Z}_N. \tag*{(98)} \end{aligned}

The second relation follows by applying U^\widehat{U} once more to the first and using U^2=I\widehat{U}^2=I together with Eq. (96). Each tilded operator is a product of stabilizers near its corresponding string and contains neither Av2(1)A_{v_2}^{(1)} nor Bp2(1)B_{p_2}^{(1)}.

As in the Z2\mathbb{Z}_2 proof, preservation of the commutation exponent gives

⟨αm,βe⟩=⟨U^αmU^†,U^βeU^†⟩=z⟨αe,Av2(1)⟩+x⟨Bp2(1),βm⟩.(99)\begin{aligned} \langle\alpha_m,\beta_e\rangle&= \langle\widehat{U}\alpha_m\widehat{U}^\dagger,\widehat{U}\beta_e\widehat{U}^\dagger\rangle\\ &= z\langle\alpha_e,A_{v_2}^{(1)}\rangle+ x\langle B_{p_2}^{(1)},\beta_m\rangle. \tag*{(99)} \end{aligned}

The tilded operators make no contribution because they exclude the middle generators and are supported far from the remaining endpoints. Both endpoint commutation exponents on the right are ±1\pm1, since the endpoints have unit charge. For even NN, reduction modulo two is well defined and removes these orientation signs. Together with Eq. (97), this gives

x+z=1(mod2).(100)x+z=1\pmod{2}. \tag*{(100)}

We now derive another constraint by closing the strings into contractible loops. Choose the oriented closing strings γe\gamma_e and γm\gamma_m as in Figure 4(b,Figure 4c), sufficiently far from h2h_2 that U~γeU~†∝γmS~γe\widetilde{U}\gamma_e\widetilde{U}^{\dagger}\propto\gamma_m\widetilde{S}_{\gamma_e}, where S~γe\widetilde{S}_{\gamma_e} contains neither middle generator. The electric loop is a product of oriented plaquette stabilizers in MM, with p2∉Mp_2\notin M. Its image is therefore a product of vertex stabilizers with no factor at v2v_2, since each plaquette maps to the vertex immediately to its lower left. The bare magnetic loop also encloses no v2v_2.

We can now compute the transformed electric loop in a second way, by multiplying the three transformed segments. The first and third relations in Eq. (98) give a factor Av2(x+z)A_{v_2}^{(x+z)}, while neither the bare magnetic loop nor the tilded products contributes at v2v_2. All decompositions are taken in a common contractible region smaller than the torus, so global redundancy cannot change a local exponent. Comparing the exponent at v2v_2 in the two disk-supported decompositions yields

x+z=0(modN).(101)x+z=0\pmod{N}. \tag*{(101)}

Because NN is even, this contradicts Eq. (100). Hence Uem2∝̸IU_{em}^{2}\not\propto I.

Order-four Clifford realization for even NN

The no-go theorem above shows that the order of any Clifford realization of the ee-mm exchange must be at least four for even NN. This lower bound is tight. An explicit order-four Clifford realization is constructed in Appendix C.

Non-Clifford Z2\mathbb{Z}_2 realization

Despite the Clifford obstruction, the exchange UemU_{em} in Eq. (83) can be converted into an exact Z2\mathbb{Z}_2 symmetry for every NN by a non-Clifford dressing. Define

U~em:=UemDN,DN:=∏v∈V(Λ)∑a,b∈ZNϕ(a,b)Πv(a)Πp(v)(b),(102)\widetilde{U}_{em}:=U_{em}D_N,\qquad D_N:=\prod_{v\in V(\Lambda)}\sum_{a,b\in\mathbb{Z}_N}\phi(a,b)\Pi_v(a)\Pi_{p(v)}(b), \tag*{(102)}

where

ϕ(a,b):=eπi[−ab]N,Πv(a):=1N∑r=0N−1ω−arAv(r),Πp(b):=1N∑s=0N−1ω−bsBp(s).(103)\phi(a,b):=e^{\frac{\pi i[-ab]}{N}},\qquad\Pi_v(a):=\frac{1}{N}\sum_{r=0}^{N-1}\omega^{-ar}A_v^{(r)},\qquad\Pi_p(b):=\frac{1}{N}\sum_{s=0}^{N-1}\omega^{-bs}B_p^{(s)}. \tag*{(103)}

Here, [k]∈{0,…,N−1}[k]\in\{0,\ldots,N-1\} denotes the standard representative of k∈ZNk\in\mathbb{Z}_N. This choice of ϕ\phi satisfies

ϕ(a,b)ϕ(−b,−a)=ω−ab.(104)\phi(a,b)\phi(-b,-a)=\omega^{-ab}. \tag*{(104)}

For N=2N = 2, the dressing operator DND_N reduces to DD in Eq. (15).

Proposition 2. The dressed exchange satisfies

U~em2∝I.(105)\widetilde{U}_{em}^{2} \propto I. \tag*{(105)}

Proof. It follows from Eq. (84) that

UemDNUem†=∏v∏a,bϕ(−b,−a)Πv(a)Πp(v)(b).(106)U_{em}D_NU_{em}^{\dagger} = \prod_v \prod_{a,b} \phi(-b,-a)\Pi_v(a)\Pi_{p(v)}(b). \tag*{(106)}

Therefore,

(UemDNUem†)DN=K,(107)\left(U_{em}D_NU_{em}^{\dagger}\right)D_N = K, \tag*{(107)}

where

K:=∏v∏a,bω−abΠv(a)Πp(v)(b).(108)K := \prod_v \prod_{a,b} \omega^{-ab}\Pi_v(a)\Pi_{p(v)}(b). \tag*{(108)}

Since Uem2U_{em}^{2} commutes with DND_N, we obtain

U~em2=UemDNUemDN=(UemDNUem†)Uem2DN=(UemDNUem†)DNUem2=KUem2.(109)\begin{aligned} \widetilde{U}_{em}^{2} &= U_{em}D_NU_{em}D_N \\ &= \left(U_{em}D_NU_{em}^{\dagger}\right)U_{em}^{2}D_N \\ &= \left(U_{em}D_NU_{em}^{\dagger}\right)D_NU_{em}^{2} = KU_{em}^{2}. \tag*{(109)} \end{aligned}

The operator KK cancels the stabilizer dressing produced by Uem2U_{em}^{2}. For example,

KXh0,0K†=Xh0,0A(0,0)(−1)A(0,−1)(1).(110)KX_{h_{0,0}}K^{\dagger} = X_{h_{0,0}}A_{(0,0)}^{(-1)}A_{(0,-1)}^{(1)}. \tag*{(110)}

The same cancellation holds for the remaining single-edge Pauli generators ZhZ_h, XvX_v, and ZvZ_v. Consequently, KUem2KU_{em}^{2} commutes with every Pauli operator and is therefore proportional to the identity. Hence,

U~em2∝I.(111)\widetilde{U}_{em}^{2} \propto I. \tag*{(111)}

Outlook

In this paper, we proved a no-go theorem for order-two Clifford realizations of electric–magnetic duality in the toric code.

e-m exchange on general lattices. We have focused on the toric code on a square lattice. Our definition of microscopic e-m exchange assumes a bijection between the vertex and plaquette stabilizer groups, making the square lattice a particularly natural setting. It would nevertheless be interesting to formulate an analogous notion on more general lattices. For example, on a closed honeycomb lattice, the vertex and plaquette stabilizer groups have different numbers of independent generators, so no unitary can exchange the two groups bijectively in the sense of Definition 1.

This counting obstruction does not by itself rule out a microscopic realization of the anyon permutation. Indeed, one may relate toric-code realizations on different lattices after adding ancillary qubits and applying local transformations. From this perspective, the square-lattice ee-mm exchange should have an analogue on the honeycomb lattice once appropriate auxiliary degrees of freedom are included. A broader microscopic definition of ee-mm exchange may therefore need to allow ancillary qubits, or more generally finite-depth local quantum channels rather than unitary automorphisms of a fixed microscopic Hilbert space.

Odd–even effect. For the ZN\mathbb{Z}_N toric code, we found that the obstruction depends only on whether NN is odd or even. This parity dependence is suggestive in view of the ground-state degeneracy on the real projective plane RP2\mathbb{R}P^2. The degeneracy is one for odd NN and two for even NN. Indeed, the ground-state degeneracy is closely related to the mod-two self-intersection structure of RP2\mathbb{R}P^2, which can be characterized in terms of the Wu class. In two dimensions, the relevant Wu class is the first Stiefel–Whitney class w1w_1, whose Poincaré dual detects the orientation-reversing cycle and its nontrivial self-intersection.

The similarity to our odd–even Clifford obstruction is tempting, although its precise meaning remains unclear. The Wu-class and ground-state-degeneracy arguments are properties of the topological theory and do not by themselves immediately distinguish Clifford from non-Clifford microscopic realizations. Moreover, the relation between the ee-mm exchange defined microscopically on the square-lattice torus and an exchange operation defined on RP2\mathbb{R}P^2 is not automatic.

Our proof suggests a somewhat different perspective. The obstruction appears through the stabilizer decorations attached to the endpoints of electric and magnetic string operators. The particular L-shaped string configuration used in the proof probes these decorations through a forced crossing, locally reproducing a geometric feature reminiscent of a cross-cap without ever changing the topology of the underlying lattice. Understanding whether this local obstruction has a direct field-theoretic interpretation in terms of nonorientable geometry or Wu classes would be an interesting direction for future work.

Beyond electric–magnetic exchange. It would also be interesting to understand how general the order obstruction is among anyon-permuting symmetries of topological stabilizer codes. The proof presented here relies primarily on the endpoint structure and mutual braiding of electric and magnetic string operators, suggesting that analogous obstructions may occur for other anyon permutations or in more general quantum double and CSS-type models. A natural question is whether the braiding data of the emergent anyon theory, together with the microscopic Pauli structure, determine when an anyon permutation admits a faithful Clifford realization and when its order must increase microscopically.

Non-Clifford resources and magic. The Clifford assumption is essential to our obstruction. Once non-Clifford operations are allowed, the electric–magnetic exchange can be dressed into an exact order-two symmetry for arbitrary NN. The required dressing is nevertheless highly structured, depending only on the local electric and magnetic stabilizer eigenvalues. This raises the question of how much non-Clifford resource is actually required to realize the emergent symmetry faithfully. For example, one may ask whether the minimal Clifford-hierarchy level or amount of magic required to remove the obstruction can be characterized systematically. It would be particularly interesting to understand whether such a resource cost is determined by the braiding data of the emergent anyons or by finer details of the microscopic realization.

Acknowledgement

We thank Ryohei Kobayashi for useful discussions. Research at Perimeter Institute is supported in part by the Government of Canada through the Department of Innovation, Science and Economic Development and by the Province of Ontario through the Ministry of Colleges and Universities. This work was supported by the RIKEN TRIP initiative and JSPS KAKENHI Grant Number 23KJ1154, 24K17047.

Local Pauli operators under Uem2U_{em}^{2}

We characterize the local Pauli operators fixed, up to a phase, by two conjugations with the explicit exchange UemU_{em}. The argument applies to every N≥2N \ge2, with the N=2N = 2 case reproducing the qubit exchange of § 2. Throughout this appendix, the support of a local operator and its fixed-width neighborhood are assumed to lie within a disk-shaped region smaller than the torus.

Proposition 3. Let UemU_{em} be the explicit Clifford exchange in Eq. (83), and let PP be a local Pauli operator. Then

Uem2PUem−2∝P(112)U_{em}^{2} P U_{em}^{-2} \propto P \tag*{(112)}

if and only if PP is proportional to a product of the toric-code stabilizer generators Av(1)A_v^{(1)} and Bp(1)B_p^{(1)}.

Proof. For each vertex–plaquette pair (v,p(v))(v,p(v)), define the commutation exponents

sv:=⟨Av(1),P⟩,tv:=⟨Bp(v)(1),P⟩.(113)s_v := \langle A_v^{(1)}, P\rangle,\qquad t_v := \langle B_{p(v)}^{(1)}, P\rangle. \tag*{(113)}

Multiplying the single-edge conjugation rules in Figure 7 gives

Uem2PUem−2∝P∏v(Av(1))tv(Bp(v)(1))sv.(114)U_{em}^{2} P U_{em}^{-2} \propto P \prod_v \left(A_v^{(1)}\right)^{t_v}\left(B_{p(v)}^{(1)}\right)^{s_v}. \tag*{(114)}

Thus, the stabilizer dressing is determined by the local syndrome of PP.

Suppose that Uem2PUem−2∝PU_{em}^{2} P U_{em}^{-2} \propto P. Equation (114) then implies that the stabilizer product on the right is proportional to the identity. Its X- and Z-type parts must separately be trivial. Since svs_v and tvt_v are supported near PP, neither part can involve a nontrivial global redundancy. Consequently,

sv=tv=0for every v.(115)s_v=t_v=0 \qquad\text{for every }v. \tag*{(115)}

Hence PP commutes with every vertex and plaquette stabilizer. By the same local stabilizer-decomposition argument used in Lemma 1, now over ZN\mathbb{Z}_N, PP is proportional to a product of stabilizers. Conversely, Uem2U_{em}^{2} fixes every stabilizer generator, so it fixes every such product.

For N=2N=2, Uem4∝IU_{em}^{4}\propto I. Therefore every local Pauli operator not proportional to a stabilizer product has projective period four under conjugation by UemU_{em}.

Local stabilizer basis changes over ZN\mathbb{Z}_N

This appendix proves Lemma 3 from Section 3. We first introduce the ZN\mathbb{Z}_N analogue of the binary symplectic representation of Pauli operators and then use this formalism to construct the required local Clifford basis change.

Pauli symplectic formalism over ZN\mathbb{Z}_N

Let ω=e2πi/N\omega=e^{2\pi i/N} and consider nn qudits with computational basis {∣q⟩:q∈ZNn}\{\lvert q\rangle:q\in\mathbb{Z}_N^n\}. For z,x∈ZNnz,x\in\mathbb{Z}_N^n, define

Z(z):=∏j=1nZjzj,X(x):=∏j=1nXjxj,P(z,x):=Z(z)X(x).(116)Z(z):=\prod_{j=1}^{n}Z_j^{z_j},\qquad X(x):=\prod_{j=1}^{n}X_j^{x_j},\qquad P(z,x):=Z(z)X(x). \tag*{(116)}

The relation ZX=ωXZZX=\omega XZ implies

P(z,x)P(z′,x′)=ωztx′−xtz′P(z′,x′)P(z,x).(117)P(z,x)P(z',x')=\omega^{z^{t}x'-x^{t}z'}P(z',x')P(z,x). \tag*{(117)}

Thus Pauli operators modulo phase are labeled by u=(z,x)t∈ZN2nu=(z,x)^{t}\in\mathbb{Z}_N^{2n}, with commutation pairing

⟨u,u′⟩:=utJu′,J:=(0I−I0).(118)\langle u,u'\rangle:=u^{t}Ju',\qquad J:=\begin{pmatrix}0&I\\-I&0\end{pmatrix}. \tag*{(118)}

A Clifford unitary transforms these labels by an invertible linear map SS that preserves the commutation pairing in Eq. (117), so

StJS=J(modN).(119)S^{t}JS=J\pmod N. \tag*{(119)}

We only need the CSS transformation associated with an invertible matrix T∈GL(n,ZN)T\in\mathrm{GL}(n,\mathbb{Z}_N),

ST:=(T00(T−1)t).(120)S_T:=\begin{pmatrix}T&0\\0&(T^{-1})^{t}\end{pmatrix}. \tag*{(120)}

Its symplecticity follows from

STtJST=(Tt00T−1)(0I−I0)(T00(T−1)t)=J.(121)S_T^{t} J S_T = \begin{pmatrix} T^{t} & 0 \\ 0 & T^{-1} \end{pmatrix} \begin{pmatrix} 0 & I \\ -I & 0 \end{pmatrix} \begin{pmatrix} T & 0 \\ 0 & (T^{-1})^{t} \end{pmatrix} = J. \tag*{(121)}

In this CSS case the corresponding Clifford unitary has the explicit action

VT∣q⟩:=∣(T−1)tq⟩,q∈ZNn.(122)V_T|q\rangle:= |(T^{-1})^{t}q\rangle,\qquad q \in\mathbb{Z}_N^n. \tag*{(122)}

The Pauli generators transform under VTV_T as

VTZ(z)VT†=Z(Tz),VTX(x)VT†=X((T−1)tx).(123)V_T Z(z) V_T^\dagger= Z(Tz),\qquad V_T X(x) V_T^\dagger= X((T^{-1})^{t}x). \tag*{(123)}

If TT and T−1T^{-1} are locality preserving, (123) shows that VTV_T is locality preserving as well.

Proof of the local basis change lemma

We restate Lemma 3 so that its assumptions and conclusion are available alongside the proof.

Lemma 3 (Restated). Let FF be a locality-preserving and locally invertible ZN\mathbb{Z}_N-linear transformation of the oriented plaquette stabilizer generators satisfying F1=1F\mathbf{1}=\mathbf{1}. Then there is a locality-preserving CSS Clifford unitary VFV_F such that

VFAv(1)VF†=Av(1),VFB(b)VF†=B(Fb).(124)V_F A_v^{(1)} V_F^\dagger= A_v^{(1)},\qquad V_F B(b) V_F^\dagger= B(Fb). \tag*{(124)}

Proof of Lemma 3. We follow the construction of Lemma 2, retaining the oriented incidence numbers that disappear over F2\mathbb{F}_2. All modules in this proof have coefficients in ZN\mathbb{Z}_N. Let C0:=⨁v∈V(Λ)ZNvC_0 := \bigoplus_{v\in V(\Lambda)} \mathbb{Z}_N v, C1:=⨁e∈E(Λ)ZNeC_1 := \bigoplus_{e\in E(\Lambda)} \mathbb{Z}_N e, C2:=⨁p∈F(Λ)ZNpC_2 := \bigoplus_{p\in F(\Lambda)} \mathbb{Z}_N p be the vertex, edge, and plaquette modules, and let

G1:C0⟶C1,G2:C2⟶C1(125)G_1:C_0 \longrightarrow C_1,\qquad G_2:C_2 \longrightarrow C_1 \tag*{(125)}

be the oriented vertex and plaquette generator matrices. Write G2(e,p)∈{0,±1}G_2(e,p) \in\{0,\pm1\} for the coefficient of the oriented edge ee in the boundary of pp. The all-ones plaquette vector is

1:=∑p∈F(Λ)p∈C2≅ZN∣F(Λ)∣×1.(126)\mathbf{1}:=\sum_{p\in F(\Lambda)}p\in C_2\cong\mathbb{Z}_N^{|F(\Lambda)|\times1}. \tag*{(126)}

Set L:=F−IL:=F-I. The condition F1=1F\mathbf{1}=\mathbf{1} implies

L1=0.(127)L\mathbf{1}=0. \tag*{(127)}

Let ℓp∈C2∗\ell_p\in C_2^* be the pp-th row of LL. (127) states that

∑qℓp(q)=ℓp1=0in ZN.(128)\sum_q \ell_p(q)=\ell_p\mathbf{1}=0\qquad\text{in }\mathbb{Z}_N. \tag*{(128)}

Let RR be the locality range of FF, and let PR(p)P_R(p) be the set of plaquettes reachable from pp by at most RR edge-sharing steps. Then supp⁡(ℓp)⊂PR(p)\operatorname{supp}(\ell_p) \subset P_R(p). For each q∈PR(p)∖{p}q \in P_R(p) \setminus\{p\}, choose a simple path of plaquettes

p=p0,p1,…,pk=q,k≤R,(129)p = p_0, p_1, \ldots, p_k = q, \qquad k \le R, \tag*{(129)}

and denote the edge shared by pj−1p_{j-1} and pjp_j by eje_j. Let e∗∈C1∗e^* \in C_1^* denote the row vector dual to the edge basis element e∈C1e \in C_1. Similarly, let p∗,q∗∈C2∗p^*,q^* \in C_2^* denote the row vectors dual to the plaquette basis elements p,q∈C2p,q \in C_2. Define

sq:=∑j=1kG2(ej,pj)ej∗∈C1∗.(130)s_q := \sum_{j=1}^{k} G_2(e_j,p_j)e_j^* \in C_1^*. \tag*{(130)}

The two plaquettes incident to eje_j have opposite incidence numbers.

G2(ej,pj−1)=−G2(ej,pj).(131)G_2(e_j,p_{j-1})=-G_2(e_j,p_j). \tag*{(131)}

At an intermediate plaquette pjp_j, the two contributions to sqG2s_qG_2 cancel because

G2(ej,pj)2+G2(ej+1,pj+1)G2(ej+1,pj)=1−1=0.(132)G_2(e_j,p_j)^2+G_2(e_{j+1},p_{j+1})G_2(e_{j+1},p_j)=1-1=0. \tag*{(132)}

The coefficients at p0=pp_0=p and pk=qp_k=q are −1-1 and +1+1, respectively, while every plaquette outside the path has coefficient zero. Hence

sqG2=q∗−p∗.(133)s_qG_2=q^*-p^*. \tag*{(133)}

Eq. (128) permits the decomposition

ℓp=∑q∈PR(p)∖{p}ℓp(q)(q∗−p∗).(134)\ell_p=\sum_{q\in P_R(p)\setminus\{p\}}\ell_p(q)(q^*-p^*). \tag*{(134)}

Set

hp:=∑q∈PR(p)∖{p}ℓp(q)sq.(135)h_p:=\sum_{q\in P_R(p)\setminus\{p\}}\ell_p(q)s_q. \tag*{(135)}

Eq. (133) implies

hpG2=∑q∈PR(p)∖{p}ℓp(q)(q∗−p∗)=ℓp.(136)h_pG_2=\sum_{q\in P_R(p)\setminus\{p\}}\ell_p(q)(q^*-p^*)=\ell_p. \tag*{(136)}

Every edge in supp⁡(hp)\operatorname{supp}(h_p) lies within distance RR of pp. The vectors hph_p can therefore be assembled as the rows of a locality-preserving map H:C1→C2H:C_1\to C_2, and they obey

L=HG2.(137)L=HG_2. \tag*{(137)}

Define the transformation of edge labels

T:=I+G2H.(138)T := I + G_2H. \tag*{(138)}

Eq. (137) implies

TG2=G2+G2HG2=G2(I+L)=G2F.(139)TG_2 = G_2 + G_2HG_2 = G_2(I + L) = G_2F. \tag*{(139)}

The CSS relation G2tG1=0G_2^tG_1 = 0 also implies

TtG1=(I+HtG2t)G1=G1.(140)T^tG_1 = (I + H^tG_2^t)G_1 = G_1. \tag*{(140)}

Since TT is invertible, the last identity is equivalent to

(T−1)tG1=G1.(141)(T^{-1})^tG_1 = G_1. \tag*{(141)}

The inverse contains the minus sign that is invisible over F2\mathbb{F}_2.

T−1=I−G2F−1H.(142)T^{-1} = I - G_2F^{-1}H. \tag*{(142)}

To verify this identity, use HG2=F−IHG_2 = F - I and compute

(I+G2H)(I−G2F−1H)=I+G2(H−F−1H−HG2F−1H)=I+G2(H−F−1H−(F−I)F−1H)=I.(143)\begin{aligned} (I + G_2H)(I - G_2F^{-1}H) &= I + G_2(H - F^{-1}H - HG_2F^{-1}H) \\ &= I + G_2(H - F^{-1}H - (F - I)F^{-1}H) = I. \tag*{(143)} \end{aligned}

Thus TT and T−1T^{-1} are both locality preserving. Apply the CSS Clifford unitary VTV_T from Eq. (122) to the edge qudits and denote it by VFV_F. Eqs. (123) and (141) show that VFV_F fixes every oriented vertex generator and transforms the plaquette module by FF, as required in Eq. (94).

Order-four Clifford exchange for even NN

For even NN, Theorem 3 rules out an order-two Clifford realization of the ee-mm exchange. Here, we construct an order-four realization. We define

W:=RUemD,(144)W := R U_{em} D, \tag*{(144)}

where UemU_{em} is the order-2N2N exchange in Eq. (83), and RR and DD are locality-preserving Clifford dressings defined below.

We work on a finite torus with even Lx≥2L_x \ge2 and arbitrary Ly≥2L_y \ge2. Let σ\sigma be the exchange of the neighboring vertices.

(2i,j)⟷(2i+1,j)(2i,j) \longleftrightarrow(2i+1,j)

for every i,ji,j. The dressings are chosen so that

WAv(1)W†=Bp(σ(v))(−1),WBp(v)(−1)W†=Av(1).(145)W A^{(1)}_v W^\dagger= B^{(-1)}_{p(\sigma(v))}, \qquad W B^{(-1)}_{p(v)} W^\dagger= A^{(1)}_v. \tag*{(145)}

Thus, the action of WW on the stabilizer generators has order four, as illustrated in Figure 8.

Figure 8. Transformation of a vertex stabilizer Av(1)A^{(1)}_v under WW, with v=(2i,j)v=(2i,j) and σ(v)=(2i+1,j)\sigma(v)=(2i+1,j). After two applications it becomes Aσ(v)(1)A^{(1)}_{\sigma(v)}, and after four it returns to Av(1)A^{(1)}_v.

The two dressings have different roles. The Clifford unitary RR fixes all vertex operators and exchanges the adjacent plaquette operators as specified by the exchange σ\sigma. The Clifford unitary DD fixes every vertex and plaquette operator, but changes the action on Pauli operators outside the stabilizer group. It is designed specifically to cancel the residual action of (RUem)4(RU_{\mathrm{em}})^4.

Clifford dressings

We use the Pauli symplectic notation of Appendix B.1. Let av,bp∈Z2∣E(Λ)∣a_v,b_p \in\mathbb{Z}_2^{|E(\Lambda)|} denote the edge-label vectors

Av(1)=X(av),Bp(1)=Z(bp).(146)A^{(1)}_v = X(a_v), \qquad B^{(1)}_p = Z(b_p). \tag*{(146)}

They satisfy bptav=0b_p^t a_v=0 for every p,vp,v. Let ei,je_{i,j} be the basis vector associated with the vertical edge shared by p(2i,j)p(2i,j) and p(2i+1,j)p(2i+1,j).

For a computational-basis state ∣q⟩=⨂e∈E(Λ)∣qe⟩e|q\rangle=\bigotimes_{e\in E(\Lambda)}|q_e\rangle_e, define

D∣q⟩=∣TDq⟩,R∣q⟩=∣TRq⟩,(147)D|q\rangle= |T_Dq\rangle, \qquad R|q\rangle= |T_Rq\rangle, \tag*{(147)}

with

TD=I−∑i,ja(2i,j)bp(2i,j)t,TR=I−∑i,jei,j(bp(2i,j)−bp(2i+1,j))t.(148)T_D=I-\sum_{i,j}a_{(2i,j)}b^t_{p(2i,j)}, \qquad T_R=I-\sum_{i,j}e_{i,j}\left(b_{p(2i,j)}-b_{p(2i+1,j)}\right)^t. \tag*{(148)}

The inverses are

TD−1=I+∑i,ja(2i,j)bp(2i,j)t,TR−1=TR.(149)T_D^{-1}=I+\sum_{i,j}a_{(2i,j)}b^t_{p(2i,j)}, \qquad T_R^{-1}=T_R. \tag*{(149)}

As reviewed in Appendix § 7.§ 1, an invertible edge transformation TT induces the CSS Clifford action

z↦(T−1)tz,x↦Tx.z \mapsto(T^{-1})^{t}z,\qquad x \mapsto Tx.

Since TD,TRT_D,T_R and their inverses are local, DD and RR are locality-preserving Clifford unitaries.

The definitions immediately give

DAv(1)D†=Av(1),DBp(1)D†=Bp(1).DA^{(1)}_vD^\dagger=A^{(1)}_v,\qquad DB^{(1)}_pD^\dagger=B^{(1)}_p.

while RR fixes every vertex operator and exchanges

Bp(v)(1)⟷Bp(σ(v))(1).B^{(1)}_{p(v)}\longleftrightarrow B^{(1)}_{p(\sigma(v))}.

Combining these relations with the stabilizer action of UemU_{em} gives Eq. (145). In particular,

W2Av(1)W−2=Aσ(v)(1),W2Bp(v)(1)W−2=Bp(σ(v))(1).(150)W^2A^{(1)}_vW^{-2}=A^{(1)}_{\sigma(v)},\qquad W^2B^{(1)}_{p(v)}W^{-2}=B^{(1)}_{p(\sigma(v))}. \tag*{(150)}

Since σ2=I\sigma^2=I, the stabilizer action has order four.

Fourth power on full Pauli algebra

It remains to show that the full microscopic action also has order four. Set

V:=RUem,W=VD.V:=RU_{em},\qquad W=VD.

Because DD fixes every stabilizer, VV and WW have the same action on stabilizers. Thus, after four applications of VV, every stabilizer returns to itself, but a generic Pauli operator can still acquire a stabilizer dressing.

Using the single-edge conjugation rules under UemU_{em} in Figure 7 together with the action of RR, direct iteration gives, for example,

V4Xh0,0V−4=Xh0,0A(0,0)(1)A(1,0)(1)(A(0,−1)(1)A(1,−1)(1))−1.(151)V^4X_{h_0,0}V^{-4}=X_{h_0,0}A^{(1)}_{(0,0)}A^{(1)}_{(1,0)}\left(A^{(1)}_{(0,-1)}A^{(1)}_{(1,-1)}\right)^{-1}. \tag*{(151)}

The analogous calculations for the elementary horizontal and vertical XX- and ZZ-operators can be summarized by introducing

M:=∑i,j(a(2i,j)+a(2i+1,j))(bp(2i,j)+bp(2i+1,j))t.(152)M:=\sum_{i,j}\left(a_{(2i,j)}+a_{(2i+1,j)}\right)\left(b_{p(2i,j)}+b_{p(2i+1,j)}\right)^{t}. \tag*{(152)}

Since bptav=0b_p^ta_v=0 for all p,vp,v, every product of two summands vanishes and hence

M2=0.M^2=0.

For arbitrary Pauli exponent vectors,

V4X(x)V−4=X((I+M)x),V4Z(z)V−4=Z((I−Mt)z).(153)V^{4}X(x)V^{-4}=X\left((I+M)x\right), \qquad V^{4}Z(z)V^{-4}=Z\left((I-M^{t})z\right). \tag*{(153)}

Equivalently, on the computational basis,

V4∣q⟩=eiθ∣(I+M)q⟩(154)V^{4}|q\rangle=e^{i\theta}|(I+M)q\rangle \tag*{(154)}

for an overall phase eiθe^{i\theta} independent of qq.

We now show that the four insertions of DD cancel this residual transformation. Consider a simultaneous stabilizer eigenspace,

Av(1)∣χ⟩=ωαv∣χ⟩,Bp(v)(1)∣χ⟩=ωβv∣χ⟩,αv,βv∈ZN.(155)A_{v}^{(1)}|\chi\rangle=\omega^{\alpha_v}|\chi\rangle,\qquad B_{p(v)}^{(1)}|\chi\rangle=\omega^{\beta_v}|\chi\rangle,\qquad\alpha_v,\beta_v\in\mathbb{Z}_N. \tag*{(155)}

One can verify that, within this eigenspace, DD acts diagonally as

D∣χ⟩=ω−∑v=(2i,j)αvβv∣χ⟩.(156)D|\chi\rangle=\omega^{-\sum_{v=(2i,j)}\alpha_v\beta_v}|\chi\rangle. \tag*{(156)}

Let w=σ(v)w=\sigma(v). Since V=RUemV=RU_{em} permutes the stabilizer generators,

Av(1)⟼(Bp(w)(1))−1,Bp(v)(1)⟼(Aw(1))−1,A_v^{(1)}\longmapsto\left(B_{p(w)}^{(1)}\right)^{-1},\qquad B_{p(v)}^{(1)}\longmapsto\left(A_w^{(1)}\right)^{-1},

each conjugate VℓDV−ℓV^\ell D V^{-\ell} is again diagonal in the simultaneous stabilizer eigenspaces. Using Eq. (156), the four conjugates give, for the pair (v,w)(v,w), the phases

ω−αvβv,ω−αvβw,ω−αwβw,ω−αwβv.\omega^{-\alpha_v\beta_v},\qquad\omega^{-\alpha_v\beta_w},\qquad\omega^{-\alpha_w\beta_w},\qquad\omega^{-\alpha_w\beta_v}.

Hence

[∏ℓ=03VℓDV−ℓ]∣χ⟩=ω−∑v=(2i,j)(αv+ασ(v))(βv+βσ(v))∣χ⟩.(157)\left[\prod_{\ell=0}^{3}V^\ell D V^{-\ell}\right]|\chi\rangle=\omega^{-\sum_{v=(2i,j)}(\alpha_v+\alpha_{\sigma(v)})(\beta_v+\beta_{\sigma(v)})}|\chi\rangle. \tag*{(157)}

Using

Av(1)Aw(1)=X(av+aw),βv+βw=(bp(v)+bp(w))tq,A_v^{(1)}A_w^{(1)}=X(a_v+a_w),\qquad\beta_v+\beta_w=(b_{p(v)}+b_{p(w)})^{t}q,

the phase above is equivalently implemented, in the computational basis, by

q⟼q−∑v=(2i,j)(av+aσ(v))(bp(v)+bp(σ(v)))tq=(I−M)q.q\longmapsto q-\sum_{v=(2i,j)}(a_v+a_{\sigma(v)})(b_{p(v)}+b_{p(\sigma(v))})^{t}q=(I-M)q.

Therefore,

[∏ℓ=03VℓDV−ℓ]∣q⟩=∣(I−M)q⟩.(158)\left[\prod_{\ell=0}^{3}V^\ell D V^{-\ell}\right]|q\rangle=|(I-M)q\rangle. \tag*{(158)}

Finally, since V4V^{4} fixes every stabilizer, it also fixes DD under conjugation. Moreover, the conjugates VℓDV−ℓV^{\ell}DV^{-\ell} are functions of the commuting stabilizers and hence commute. Therefore,

W4=(VD)4=[∏ℓ=03VℓDV−ℓ]V4.(159)W^{4}=(VD)^{4}=\left[\prod_{\ell=0}^{3}V^{\ell}DV^{-\ell}\right]V^{4}. \tag*{(159)}

Using Eqs. (158) and (154),

W4∣q⟩=eiθ∣(I−M)(I+M)q⟩=eiθ∣q⟩,(160)W^{4}|q\rangle=e^{i\theta}|(I-M)(I+M)q\rangle=e^{i\theta}|q\rangle, \tag*{(160)}

where M2=0M^{2}=0. Thus W4∝IW^{4}\propto I. Since W2W^{2} exchanges the two vertex operators in each pair, WW has order four up to phase.

References

  1. [1]S. Deser and C. Teitelboim, Duality transformations of Abelian and non-Abelian gauge fields, Phys. Rev. D 13 (1976) 1592–1597.DOI
  2. [2]E. Witten, On S-duality in Abelian gauge theory, Selecta Math. 1 (1995), no. 2 383–410, [hep-th/9505186].arxiv.org/abs/hep-th/9505186
  3. [3]F. J. Wegner, Duality in generalized Ising models and phase transitions without local order parameters, J. Math. Phys. 12 (1971), no. 10 2259–2272.DOI
  4. [4]J. B. Kogut, An introduction to lattice gauge theory and spin systems, Rev. Mod. Phys. 51 (1979), no. 4 659–713.DOI
  5. [5]M. Levin and X.-G. Wen, Colloquium: Photons and electrons as emergent phenomena, Rev. Mod. Phys. 77 (2005), no. 3 871–879.DOI
  6. [6]A. Y. Kitaev, Fault-tolerant quantum computation by anyons, Ann. Phys. 303 (2003), no. 1 2–30, [quant-ph/9707021].DOI
  7. [7]E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, Topological quantum memory, J. Math. Phys. 43 (2002), no. 9 4452–4505, [quant-ph/0110143].DOI
  8. [8]D. Gottesman, Stabilizer Codes and Quantum Error Correction. PhD thesis, California Institute of Technology, 1997. quant-ph/9705052.
  9. [9]H. Bombin, Topological order with a twist: Ising anyons from an Abelian model, Phys. Rev. Lett. 105 (2010), no. 3 030403, [arXiv:1004.1838].DOI
  10. [10]S. Bravyi and R. König, Classification of Topologically Protected Gates for Local Stabilizer Codes, Phys. Rev. Lett. 110 (2013), no. 17 170503, [arXiv:1206.1609].DOI
  11. [11]B. Yoshida, Topological color code and symmetry-protected topological phases, Phys. Rev. B 91 (2015), no. 24 245131, [arXiv:1503.07208].DOI
  12. [12]M. B. Hastings and J. Haah, Dynamically Generated Logical Qubits, Quantum 5 (2021) 564, [arXiv:2107.02194].DOI
  13. [13]M. Barkeshli, Y.-A. Chen, S.-J. Huang, R. Kobayashi, N. Tantivasadakarn, and G. Zhu, Codimension-2 defects and higher symmetries in (3+1)D topological phases, SciPost Phys. 14 (2023), no. 4 065, [arXiv:2208.07367].DOI
  14. [14]R. Kobayashi and G. Zhu, Cross-Cap Defects and Fault-Tolerant Logical Gates in the Surface Code and the Honeycomb Floquet Code, PRX Quantum 5 (2024) 020360, [arXiv:2310.06917].DOI
  15. [15]Y.-T. Tu, D. M. Long, and D. V. Else, Anomalies of Global Symmetries on the Lattice, Phys. Rev. X 16 (2026), no. 1 011027, [arXiv:2507.21209].DOI
  16. [16]W. Shirley, C. Zhang, W. Ji, and M. Levin, Anomaly-Free Symmetries with Obstructions to Gauging and Onsiteability, Phys. Rev. Lett. 136 (2026), no. 21 216602, [arXiv:2507.21267].arxiv.org/abs/2507.21267
  17. [17]R. Kobayashi, Exact Z₂ electromagnetic duality of Z₂ toric code is non-Clifford, arXiv:2603.28230.arxiv.org/abs/2603.28230

Paper details

vlnc:W_sxe3ucen
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents