Introduction
Quantum error correction is essential for realizing large-scale quantum computation, since quantum information must remain protected while logical operations are performed [30 ] . Pauli operators, generated by the shift and phase operators, form an orthogonal basis for the space of linear operators (Definition 2.1), so any error operator can be expressed as a linear combination of them. Clifford gates are precisely the unitaries that preserve this structure under conjugation, mapping each Pauli operator to another Pauli operator. This property simplifies error tracking through Clifford circuits and underlies their central role in fault-tolerant quantum computation.
However, Clifford gates alone are not universal, and the non-Clifford operations are generally more costly to realize fault-tolerantly [19 , 16 , 7 ] . A standard approach to implement such non-Clifford gates is quantum gate teleportation [18 ] . In this protocol, a gate U U U is implemented using a gate-dependent resource state, and the measurement outcome produces a Pauli byproduct P P P . Correcting this byproduct requires implementing U P U ∗ UPU^* U P U ∗ . This recursive reduction motivates the Clifford hierarchy, that is, for k ≥ 2 k \ge2 k ≥ 2 , C k = { U : U P U ∗ ∈ C k − 1 C_k = \{U : UPU^* \in C_{k-1} C k = { U : U P U ∗ ∈ C k − 1 for every Pauli operator P } P\} P } , where U U U is also unitary (Definition 2.2). In particular, the first and second hierarchies are the Pauli and Clifford groups, respectively. Thus, gate teleportation simplifies the implementation of a non-Clifford gate by shifting the difficulty to preparing a gate-dependent resource state. Within this hierarchy, semi-Clifford gates (Definition 2.5) are those that can be made diagonal by Clifford pre- and post-processing. This additional structure permits more resource-efficient teleportation schemes. More specifically, whereas standard teleportation uses a Bell measurement and two ancillary qubits per teleported qubit, diagonal gates (Definition 2.4) use a one-bit teleportation that reduces the ancillary overhead [36 ] .
Although the preceding discussion has focused primarily on qubits, higher-dimensional qudit systems have attracted increasing interest due to their potential advantages in quantum computation, simulation, and physical implementation; see [34 ] for a review. The Pauli–Clifford framework underlying quantum error correction has likewise been extended from qubits to qudits, both in prime dimensions and in arbitrary dimensions [20 , 22 ] . More recently, stabilizer-code constructions tailored specifically to composite dimensions have highlighted the ring-theoretic and symplectic structures required in this setting [21 ] .
Related work
The studies between Clifford hierarchy and semi-Clifford gates were first done for qubits (d = 2 d = 2 d = 2 ) and subsequently extended to higher-dimensional qudits (d > 2 d > 2 d > 2 ) [13 ] , raising a more general question to determine the triples ( d , n , k ) (d,n,k) ( d , n , k ) for which every hierarchy gate on n n n qudits of dimension d d d at the k k k th level of the Clifford hierarchy is semi-Clifford.
Recent work on the single-qudit Clifford hierarchy in prime dimension shows that every hierarchy gate is semi-Clifford [14 ] . In contrast, multi-qubit hierarchy gates need not be semi-Clifford, motivating the introduction of generalized semi-Clifford operators [35 ] . In the multi-qubit setting, semi-Cliffordness is defined by the requirement that a unitary conjugate some maximal abelian Pauli subgroup onto another. This is equivalent to the normal form U = C 1 D C 2 U = C_1DC_2 U = C 1 D C 2 , where C 1 , C 2 C_1, C_2 C 1 , C 2 are Clifford operators and D D D is diagonal. Generalized semi-Cliffordness requires only that the complex linear span of some maximal abelian Pauli subgroup be conjugated onto another such span; its corresponding normal form is U = C 1 Π D C 2 U = C_1\Pi DC_2 U = C 1 Π D C 2 , where Π \Pi Π is a computational-basis permutation [35 ] . The span condition preserves the associated maximal abelian operator algebra without requiring individual Pauli operators to remain Pauli operators under conjugation. These characterizations also extend to prime-dimensional qudits [13 ] . Further structural results on semi-Clifford and generalized semi-Clifford gates within the qubit hierarchy were obtained in [5 ] , while permutation gates have more recently been studied through affine-equivalence methods [2 ] . For general qudit dimensions, the subgroup and algebra conditions must be distinguished from their respective normal forms, since maximal abelian Pauli subgroups need not all be equivalent under the conjugation by Clifford gates. To avoid ambiguity, we reserve semi-Clifford for U = C 1 D C 2 U = C_1DC_2 U = C 1 D C 2 and call the subgroup-conjugation condition Lagrangian semi-Cliffordness . We retain generalized semi-Clifford for the span-conjugation condition and refer separately to U = C 1 Π D C 2 U = C_1\Pi DC_2 U = C 1 Π D C 2 as the permutation diagonal normal form . Table 1 summarizes the known boundaries and the results established in this work.
Table 1. Known semi-Clifford boundaries. S C SC S C and G S C GSC GS C denote semi-Clifford and generalized semi-Clifford, respectively.
In this work, we consider an arbitrary dimension d d d , with the underlying Pauli–Clifford structure governed by the symplectic module Z d 2 \mathbb{Z}_d^2 Z d 2 . Its symplectic form encodes Pauli commutation relations, while its Lagrangian geometry underlies the semi-Clifford structure. To handle composite dimensions, we use projective geometry over finite rings, matrix reduction, and finite character duality as ring-theoretic substitutes for the vector-space methods available in prime dimensions [33 , 24 Al08, 8 , 12 ] .
Main results
In § 2.3 , we first provide equivalent conditions for four types of gates, namely semi-Clifford gates S C \mathcal{SC} SC , gates admitting permutation diagonal form N \mathcal{N} N , Lagrangian semi-Clifford gates L S C \mathcal{LSC} LSC , and generalized semi-Clifford gates G S C \mathcal{GSC} G SC (Lemma 2.9 and Lemma 2.11 ). Furthermore, we summarize these relations for the four types of gates in Figure 1 .
Figure 1. Relations among the four types of gates S C SC S C , L S C LSC L S C , N \mathcal{N} N , and G S C GSC GS C .
We then establish a sharp dimensional criterion for semi-Cliffordness, that is, every gate in the single-qudit Clifford hierarchy is semi-Clifford if and only if d d d is square-free (Theorem 4.6 ). The square-free case (Lemma 3.4 ) follows from a tensor-product factorization of every hierarchy level into its prime-power components (Lemma 3.2 ), together with the known prime-dimensional results in [35 , 14 ] . In square-free dimensions, we also prove that the subgroup and algebra conjugation conditions are equivalent to the corresponding normal forms, that is, L S C = S C \mathcal{LSC} = \mathcal{SC} LSC = SC and G S C = N \mathcal{GSC} = \mathcal{N} G SC = N (Theorem 3.5 ). In contrast, when d d d is not square-free, non-free Lagrangians can break these equivalences between semi-Clifford and Clifford hierarchy gates, as demonstrated by the dimension-nine examples in § 4.1 . This construction generalizes to a third-level gate that is not semi-Clifford in a single qudit when d d d is not square free 4.5. Besides, we derive a more complex relation among the four types of gates when d d d is not square-free in Figure 2 .
Figure 2. Relations among the four types for a single qudit of dimension nine. (a) At levels one and two, all four classes coincide with the corresponding hierarchy level. (b) At level three, S C 3 ⊊ N 3 ⊊ L S C 3 = G S C 3 = C 3 SC_3 \subsetneq N_3 \subsetneq LSC_3 = GSC_3 = C_3 S C 3 ⊊ N 3 ⊊ L S C 3 = GS C 3 = C 3 . (c) For every k ≥ 4 k \ge4 k ≥ 4 , the gates Π 9 , U 9 , Q 9 , V 9 \Pi_9, U_9, Q_9, V_9 Π 9 , U 9 , Q 9 , V 9 realize the four regions determined by these classes.
Finally, we show that every third-level gate on a single qudit is generalized semi-Clifford in arbitrary dimension d d d (Theorem 5.3 ).
Acknowledgments
Acknowledgments. Y.Q. was supported by The Chinese University of Hong Kong, Shenzhen. She also acknowledges the UC Berkeley Concurrent Enrollment Program, through which this collaboration was initiated. R.S. was supported by the U.S. Department of Energy, Office of Science, Accelerated Research in Quantum Computing Centers, Quantum Utility through Advanced Computational Quantum Algorithms, grant no. DE-SC0025572.
On AI use
On AI use. The formal planning, main results, mathematical constructions, and composition for this document were completed by the authors. During the exploratory stages of this work, AI tools were consulted asynchronously as supplemental aids; for example, the reasoning agent Rethlas [JGJ+26] helped identify candidate structures for the dimension-9 counterexample. All AI outputs were rigorously reviewed, independently verified, and implemented serially.
Preliminaries
Let N \mathbb{N} N denote the set of positive integers, Z \mathbb{Z} Z denote the set of integers, and Q \mathbb{Q} Q denote the set of rational numbers. Fix an integer d ≥ 2 d \ge2 d ≥ 2 , which will denote the qudit dimension , and write its prime factorization as d : = ∏ j = 1 s p j α j d := \prod_{j=1}^{s} p_j^{\alpha_j} d := ∏ j = 1 s p j α j , where p 1 , … , p s p_1,\ldots,p_s p 1 , … , p s are distinct primes, α j ∈ N \alpha_j \in\mathbb{N} α j ∈ N for every j j j , and s s s denotes the number of distinct prime divisors of d d d . We write Z d : = Z / d Z \mathbb{Z}_d := \mathbb{Z}/d\mathbb{Z} Z d := Z / d Z and Z d × \mathbb{Z}_d^\times Z d × for its group of units. We denote the Hilbert space of the qudit by H : = C d \mathcal{H} := \mathbb{C}^{d} H := C d , with computational basis { ∣ x ⟩ : x ∈ Z d } \{\lvert x\rangle: x \in\mathbb{Z}_d\} {∣ x ⟩ : x ∈ Z d } , and set ω : = e 2 π i / d \omega:= e^{2\pi i/d} ω := e 2 π i / d and τ : = e π i / d \tau:= e^{\pi i/d} τ := e π i / d . The dimension d d d is square-free when every α j = 1 \alpha_j = 1 α j = 1 , and non-square-free when α j ≥ 2 \alpha_j \ge2 α j ≥ 2 for at least one j j j . For each prime-power factor, we denote H j : = C q j \mathcal{H}_j := \mathbb{C}^{q_j} H j := C q j and ω j : = e 2 π i / q j \omega_j := e^{2\pi i/q_j} ω j := e 2 π i / q j .
We denote the set of linear operators on H \mathcal{H} H as B ( H ) : = End C ( H ) \mathrm{B}(\mathcal{H}) := \operatorname{End}_{\mathbb{C}}(\mathcal{H}) B ( H ) := End C ( H ) . We equip B ( H ) \mathrm{B}(\mathcal{H}) B ( H ) with the Hilbert–Schmidt inner product ⟨ A , B ⟩ H S : = Tr ( A ∗ B ) \langle A, B\rangle_{\mathrm{HS}} := \operatorname{Tr}(A^{*}B) ⟨ A , B ⟩ HS := Tr ( A ∗ B ) , where Tr ( ⋅ ) \operatorname{Tr}(\cdot) Tr ( ⋅ ) denotes the trace and A ∗ A^{*} A ∗ denotes the adjoint. The identity matrix will be denoted I I I of the relevant dimension. We write U ( H ) \mathrm{U}(\mathcal{H}) U ( H ) for the unitary group on H \mathcal{H} H and use the term gate to mean a unitary operator on H \mathcal{H} H . We denote T : = { z ∈ C : ∣ z ∣ = 1 } \mathbb{T} := \{z \in\mathbb{C} : |z| = 1\} T := { z ∈ C : ∣ z ∣ = 1 } for the circle group , and P U ( H ) : = U ( H ) / T I \mathrm{PU}(\mathcal{H}) := \mathrm{U}(\mathcal{H})/\mathbb{T}I PU ( H ) := U ( H ) / T I for the projective unitary group as the quotient group. The projective class of a unitary U U U is denoted by [ U ] [U] [ U ] .
For a set S S S , we denote its cardinality as ∣ S ∣ |S| ∣ S ∣ . The order of a group G G G is its cardinality ∣ G ∣ |G| ∣ G ∣ , and the order of an element g ∈ G g \in G g ∈ G is the cardinality of the cyclic subgroup ⟨ g ⟩ \langle g\rangle ⟨ g ⟩ ; an element has infinite order if this subgroup is infinite. For a prime p p p , a finite group is called a p p p -group if its order is a power of p p p .
Symplectic Modules
Let R \mathcal{R} R be a commutative ring with identity. For k ∈ N k \in\mathbb{N} k ∈ N , we write M k ( R ) \mathrm{M}_k(\mathcal{R}) M k ( R ) for the ring of k × k k \times k k × k matrices over R \mathcal{R} R , G L k ( R ) \mathrm{GL}_k(\mathcal{R}) GL k ( R ) for its group of invertible matrices, and S L k ( R ) \mathrm{SL}_k(\mathcal{R}) SL k ( R ) for the subgroup of matrices with determinant one. Let R \mathcal{R} R be an R \mathcal{R} R -module. A subset { v 1 , … , v n } ⊆ R \{v_1,\ldots,v_n\} \subseteq\mathcal{R} { v 1 , … , v n } ⊆ R is called an R \mathcal{R} R -basis if a 1 v 1 + ⋯ + a n v n = 0 a_1v_1+\cdots+a_nv_n=0 a 1 v 1 + ⋯ + a n v n = 0 implies a 1 = ⋯ = a n = 0 a_1=\cdots=a_n=0 a 1 = ⋯ = a n = 0 , where a 1 , … , a n ∈ R a_1,\ldots,a_n \in\mathcal{R} a 1 , … , a n ∈ R , and the subset is called a generating set of a submodule R ′ ⊆ R \mathcal{R}' \subseteq\mathcal{R} R ′ ⊆ R , if any element u ∈ R ′ u \in\mathcal{R}' u ∈ R ′ can be expressed as u = a 1 v 1 + ⋯ + a n v n u=a_1v_1+\cdots+a_nv_n u = a 1 v 1 + ⋯ + a n v n , for some a 1 , … , a n ∈ R a_1,\ldots,a_n \in\mathcal{R} a 1 , … , a n ∈ R . We say that R \mathcal{R} R is a free module if it admits an R \mathcal{R} R -basis { v 1 , … , v n } \{v_1,\ldots,v_n\} { v 1 , … , v n } , and in this case we say that R \mathcal{R} R has rank n n n . In particular, R n \mathcal{R}^n R n is free of rank n n n with its standard basis { e 1 , … , e n } \{e_1,\ldots,e_n\} { e 1 , … , e n } . An R \mathcal{R} R -bilinear map f : R × R → R f:\mathcal{R}\times\mathcal{R}\to\mathcal{R} f : R × R → R is called an alternating form if f ( v , v ) = 0 f(v,v)=0 f ( v , v ) = 0 for every v ∈ R v \in\mathcal{R} v ∈ R . We call f f f nondegenerate if, for every v ∈ R v \in\mathcal{R} v ∈ R , the condition f ( v , v ′ ) = 0 f(v,v')=0 f ( v , v ′ ) = 0 for all v ′ ∈ R v' \in\mathcal{R} v ′ ∈ R implies v = 0 v=0 v = 0 . A nondegenerate alternating form is called a symplectic form , and the pair ( R , f ) (\mathcal{R},f) ( R , f ) is then called a symplectic module .
Let us fix a symplectic module ( R , f ) (\mathcal{R},f) ( R , f ) . For an R \mathcal{R} R -submodule L ⊆ R L \subseteq\mathcal{R} L ⊆ R , we define its f f f -orthogonal complement by L ⊥ : = { v ∈ R : f ( v , ℓ ) = 0 , ∀ ℓ ∈ L } L^{\perp}:=\{v \in\mathcal{R}: f(v,\ell)=0,\ \forall\ell\in L\} L ⊥ := { v ∈ R : f ( v , ℓ ) = 0 , ∀ ℓ ∈ L } , which is an R \mathcal{R} R -submodule by bilinearity. We call L L L isotropic if L ⊆ L ⊥ L \subseteq L^{\perp} L ⊆ L ⊥ , and Lagrangian if L = L ⊥ L=L^{\perp} L = L ⊥ . Notice that a Lagrangian submodule L L L is maximally isotropic, that is, L L L is not properly contained in another isotropic submodule.
We now fix k ≥ 1 k \ge1 k ≥ 1 , and specialize to free symplectic modules of even rank ( R 2 k , f ) (\mathcal{R}^{2k},f) ( R 2 k , f ) . An element v = ( c 1 , … , c 2 k ) T ∈ R 2 k v=(c_1,\ldots,c_{2k})^{\mathsf{T}}\in\mathcal{R}^{2k} v = ( c 1 , … , c 2 k ) T ∈ R 2 k is unimodular if its coordinates generate the unit ideal, that is, R c 1 + ⋯ + R c 2 k = R \mathcal{R}c_1+\cdots+\mathcal{R}c_{2k}=\mathcal{R} R c 1 + ⋯ + R c 2 k = R . Such an element generates a free submodule R v \mathcal{R}v R v with basis { v } \{v\} { v } , because if r v = 0 rv=0 r v = 0 for some r ∈ R r \in\mathcal{R} r ∈ R , then by definition there exist b 1 , … , b 2 k ∈ R b_1,\ldots,b_{2k}\in\mathcal{R} b 1 , … , b 2 k ∈ R such that ∑ j = 1 2 k b j c j = 1 \sum_{j=1}^{2k}b_jc_j=1 ∑ j = 1 2 k b j c j = 1 , giving r = ∑ j = 1 2 k b j ( r c j ) = 0 r=\sum_{j=1}^{2k}b_j(rc_j)=0 r = ∑ j = 1 2 k b j ( r c j ) = 0 . Moreover, R v \mathcal{R}v R v is isotropic because f f f is alternating. Below, Lemma 2.1 gives a criterion for an isotropic submodule to be Lagrangian and further shows that every free Lagrangian submodule of R 2 k \mathcal{R}^{2k} R 2 k has rank k k k , and each of its basis elements is unimodular, for any basis. We first recall some basic definitions and facts. For a finite abelian group A A A , let Char ( A ) \operatorname{Char}(A) Char ( A ) denote its character group , consisting of all group homomorphisms from A A A to T \mathbb{T} T , with the group operation being point-wise multiplication; thus in Char ( A ) \operatorname{Char}(A) Char ( A ) , the product of the characters χ 1 \chi_1 χ 1 and χ 2 \chi_2 χ 2 is defined as ( χ 1 ⋅ χ 2 ) ( a ) : = χ 1 ( a ) χ 2 ( a ) (\chi_1\cdot\chi_2)(a):=\chi_1(a)\chi_2(a) ( χ 1 ⋅ χ 2 ) ( a ) := χ 1 ( a ) χ 2 ( a ) , for all a ∈ A a \in A a ∈ A . Since A A A is isomorphic to Char ( A ) \operatorname{Char}(A) Char ( A ) , we have ∣ Char ( A ) ∣ = ∣ A ∣ |\operatorname{Char}(A)|=|A| ∣ Char ( A ) ∣ = ∣ A ∣ ; see Theorem 3.13. For a subgroup B ⊆ A B\subseteq A B ⊆ A , we define its annihilator as B ∘ : = { η ∈ Char ( A ) : η ( b ) = 1 , ∀ b ∈ B } B^{\circ}:=\{\eta\in\operatorname{Char}(A):\eta(b)=1,\ \forall b\in B\} B ∘ := { η ∈ Char ( A ) : η ( b ) = 1 , ∀ b ∈ B } , which is a subgroup of Char ( A ) \operatorname{Char}(A) Char ( A ) . Let π : A → A / B \pi:A\to A/B π : A → A / B be the quotient map. Each χ ∈ B ∘ \chi\in B^{\circ} χ ∈ B ∘ is constant on cosets of B B B , so it determines a unique character χ ˉ ∈ Char ( A / B ) \bar{\chi}\in\operatorname{Char}(A/B) χ ˉ ∈ Char ( A / B ) by χ ˉ ( a + B ) = χ ( a ) \bar{\chi}(a+B)=\chi(a) χ ˉ ( a + B ) = χ ( a ) , satisfying χ = χ ˉ ∘ π \chi=\bar{\chi}\circ\pi χ = χ ˉ ∘ π . Conversely, composing any character χ ˉ \bar{\chi} χ ˉ of A / B A/B A / B with π \pi π , gives a character of A A A that is trivial on B B B , that is, χ ˉ ∘ π ∈ B ∘ \bar{\chi}\circ\pi\in B^{\circ} χ ˉ ∘ π ∈ B ∘ . Both of the constructions are homomorphisms, yielding the canonical group isomorphism B ∘ ≅ Char ( A / B ) B^{\circ}\cong\operatorname{Char}(A/B) B ∘ ≅ Char ( A / B ) .
Now given that R R R is finite, we say that a character on ( R , + ) (R,+) ( R , + ) is faithful if its kernel contains no nonzero ideal of R R R , where an ideal of R R R is an additive subgroup of R R R closed under multiplication by every element of R R R . When the ring is Z d \mathbb{Z}_d Z d , it always has a faithful character χ ( x ) = ω x \chi(x)=\omega^x χ ( x ) = ω x , for x ∈ Z d x\in\mathbb{Z}_d x ∈ Z d . Given the symplectic module ( R 2 k , f ) (R^{2k},f) ( R 2 k , f ) , such a character induces a homomorphism
Ψ f , χ : ( R 2 k , + ) ⟶ Char ( ( R 2 k , + ) ) , Ψ f , χ ( v ) ( w ) : = χ ( f ( v , w ) ) . \Psi_{f,\chi}:(R^{2k},+)\longrightarrow\operatorname{Char}((R^{2k},+)),\qquad\Psi_{f,\chi}(v)(w):=\chi(f(v,w)). Ψ f , χ : ( R 2 k , + ) ⟶ Char (( R 2 k , + )) , Ψ f , χ ( v ) ( w ) := χ ( f ( v , w )) .
For every submodule L ⊆ R 2 k L\subseteq R^{2k} L ⊆ R 2 k and v ∈ R 2 k v\in R^{2k} v ∈ R 2 k , the image f ( v , L ) : = { f ( v , ℓ ) : ℓ ∈ L } f(v,L):=\{f(v,\ell):\ell\in L\} f ( v , L ) := { f ( v , ℓ ) : ℓ ∈ L } is an ideal of R R R . Using the nondegeneracy of f f f and the faithfulness of χ \chi χ , we obtain ker Ψ f , χ = { 0 } \ker\Psi_{f,\chi}=\{0\} ker Ψ f , χ = { 0 } , so Ψ f , χ \Psi_{f,\chi} Ψ f , χ is injective. Since ∣ Char ( ( R 2 k , + ) ) ∣ = ∣ R 2 k ∣ \lvert\operatorname{Char}((R^{2k},+))\rvert=\lvert R^{2k}\rvert ∣ Char (( R 2 k , + ))∣ = ∣ R 2 k ∣ , it follows that Ψ f , χ \Psi_{f,\chi} Ψ f , χ is an isomorphism. Faithfulness of χ \chi χ therefore gives Ψ f , χ ( v ) ∈ L ∘ \Psi_{f,\chi}(v)\in L^\circ Ψ f , χ ( v ) ∈ L ∘ (i.e. χ ( f ( v , ℓ ) ) = 1 \chi(f(v,\ell))=1 χ ( f ( v , ℓ )) = 1 for all ℓ ∈ L \ell\in L ℓ ∈ L ) if and only if f ( v , ℓ ) = 0 f(v,\ell)=0 f ( v , ℓ ) = 0 , for all ℓ ∈ L \ell\in L ℓ ∈ L . Its restriction Ψ f , χ ∣ L ⊥ \Psi_{f,\chi}|_{L^\perp} Ψ f , χ ∣ L ⊥ identifies L ⊥ L^\perp L ⊥ with L ∘ L^\circ L ∘ , giving ∣ L ⊥ ∣ = ∣ L ∘ ∣ \lvert L^\perp\rvert=\lvert L^\circ\rvert ∣ L ⊥ ∣ = ∣ L ∘ ∣ ; compare [33 Proposition 2.2] and [12 Exercise 7, Section 3] .
Lemma 2.1. Let R R R be a finite commutative ring with identity admitting a faithful character χ : ( R , + ) → T \chi:(R,+)\to\mathbb{T} χ : ( R , + ) → T , and let ( R 2 k , f ) (R^{2k},f) ( R 2 k , f ) be a symplectic R R R -module. Then every submodule L ⊆ R 2 k L\subseteq R^{2k} L ⊆ R 2 k satisfies ∣ L ∣ ∣ L ⊥ ∣ = ∣ R ∣ 2 k \lvert L\rvert\lvert L^\perp\rvert=\lvert R\rvert^{2k} ∣ L ∣ ∣ L ⊥ ∣ = ∣ R ∣ 2 k . If L L L is isotropic, then ∣ L ∣ ≤ ∣ R ∣ k \lvert L\rvert\leq\lvert R\rvert^k ∣ L ∣ ≤ ∣ R ∣ k , with equality if and only if L L L is Lagrangian. Moreover, if { v 1 , … , v k } \{v_1,\ldots,v_k\} { v 1 , … , v k } is an R R R -basis for a free Lagrangian L L L , then each basis element is unimodular in R 2 k R^{2k} R 2 k .
Proof. First we suppose that L ⊆ R 2 k L\subseteq R^{2k} L ⊆ R 2 k is a submodule. By the preceding discussion, we have ∣ L ⊥ ∣ = ∣ L ∘ ∣ = ∣ Char ( R 2 k / L ) ∣ = ∣ R ∣ 2 k / ∣ L ∣ \lvert L^\perp\rvert=\lvert L^\circ\rvert=\lvert\operatorname{Char}(R^{2k}/L)\rvert=\lvert R\rvert^{2k}/\lvert L\rvert ∣ L ⊥ ∣ = ∣ L ∘ ∣ = ∣ Char ( R 2 k / L )∣ = ∣ R ∣ 2 k / ∣ L ∣ . If L L L is isotropic, then L ⊆ L ⊥ L\subseteq L^\perp L ⊆ L ⊥ , so ∣ L ∣ ≤ ∣ R ∣ k \lvert L\rvert\leq\lvert R\rvert^k ∣ L ∣ ≤ ∣ R ∣ k , with equality exactly when L = L ⊥ L=L^\perp L = L ⊥ , that is, Lagrangian.
Suppose now that L L L is free and Lagrangian, with basis { v 1 , … , v r } \{v_1,\ldots,v_r\} { v 1 , … , v r } , i.e. L = R v 1 ⊕ ⋯ ⊕ R v r L=Rv_1\oplus\cdots\oplus Rv_r L = R v 1 ⊕ ⋯ ⊕ R v r . Then ∣ R ∣ r = ∣ L ∣ = ∣ R ∣ k \lvert R\rvert^r=\lvert L\rvert=\lvert R\rvert^k ∣ R ∣ r = ∣ L ∣ = ∣ R ∣ k , so r = k r=k r = k . For j = 1 , … , k j=1,\ldots,k j = 1 , … , k , consider the R R R -linear map φ j : R 2 k ⟶ R \varphi_j:R^{2k}\longrightarrow R φ j : R 2 k ⟶ R defined by φ j ( x ) : = f ( x , v j ) \varphi_j(x):=f(x,v_j) φ j ( x ) := f ( x , v j ) , whose kernel is ( R v j ) ⊥ (Rv_j)^\perp ( R v j ) ⊥ . Since R v j ≅ R Rv_j\cong R R v j ≅ R as abelian groups, we have ∣ R v j ∣ = ∣ R ∣ \lvert Rv_j\rvert=\lvert R\rvert ∣ R v j ∣ = ∣ R ∣ , and then the first isomorphism theorem for groups shows that the image of φ j \varphi_j φ j has cardinality ∣ R ∣ 2 k / ∣ ( R v j ) ⊥ ∣ \lvert R\rvert^{2k}/\lvert(Rv_j)^\perp\rvert ∣ R ∣ 2 k / ∣( R v j ) ⊥ ∣ . Combining with the results of the previous paragraph, we get ∣ R ∣ 2 k / ∣ ( R v j ) ⊥ ∣ = ∣ R v j ∣ = ∣ R ∣ \lvert R\rvert^{2k}/\lvert(Rv_j)^\perp\rvert=\lvert Rv_j\rvert=\lvert R\rvert ∣ R ∣ 2 k / ∣( R v j ) ⊥ ∣ = ∣ R v j ∣ = ∣ R ∣ , and therefore φ j \varphi_j φ j is surjective. Therefore, there exists x ∈ R 2 k x\in R^{2k} x ∈ R 2 k such that f ( x , v j ) = 1 ∈ R f(x,v_j)=1\in R f ( x , v j ) = 1 ∈ R , which proves unimodularity of v j v_j v j . □
Next, still assuming the symplectic module ( R 2 k , f ) (R^{2k},f) ( R 2 k , f ) , we define symplectic group to be a subgroup of invertible R R R -linear map Sp 2 k ( R ) : = { S ∈ GL 2 k ( R ) : f ( S v , S w ) = f ( v , w ) , ∀ v , w ∈ R 2 k } \operatorname{Sp}_{2k}(R):=\{S\in\operatorname{GL}_{2k}(R):f(Sv,Sw)=f(v,w),\ \forall v,w\in R^{2k}\} Sp 2 k ( R ) := { S ∈ GL 2 k ( R ) : f ( S v , S w ) = f ( v , w ) , ∀ v , w ∈ R 2 k } , that is, Sp 2 k ( R ) \operatorname{Sp}_{2k}(R) Sp 2 k ( R ) consists of invertible matrices that preserve the bilinear form f f f . Any element of Sp 2 k ( R ) \operatorname{Sp}_{2k}(R) Sp 2 k ( R ) is called a symplectic matrix and defines a group action on R 2 k R^{2k} R 2 k . We also denote Lag ( R 2 k ) \operatorname{Lag}(R^{2k}) Lag ( R 2 k ) to be the set of Lagrangian submodules of R 2 k R^{2k} R 2 k . The following lemma describes the natural symplectic action on this set.
Lemma 2.2 (Symplectic action on Lagrangian submodules). Let ( R 2 k , f ) (R^{2k},f) ( R 2 k , f ) be a symplectic module and S ∈ Sp 2 k ( R ) S\in\operatorname{Sp}_{2k}(R) S ∈ Sp 2 k ( R ) . Then for every R R R -submodule L ⊆ R 2 k L\subseteq R^{2k} L ⊆ R 2 k , we have ( S ( L ) ) ⊥ = S ( L ⊥ ) (S(L))^\perp=S(L^\perp) ( S ( L ) ) ⊥ = S ( L ⊥ ) . Consequently, for a Lagrangian submodule L L L , S ⋅ L : = S ( L ) S\cdot L:=S(L) S ⋅ L := S ( L ) defines a left action of Sp 2 k ( R ) \operatorname{Sp}_{2k}(R) Sp 2 k ( R ) on Lag ( R 2 k ) \operatorname{Lag}(R^{2k}) Lag ( R 2 k ) . This action preserves the freeness of the Lagrangian submodule.
Proof. For a R R R -submodule L L L , as S S S preserves f f f , we have x ∈ ( S ( L ) ) ⊥ x\in(S(L))^\perp x ∈ ( S ( L ) ) ⊥ if and only if S − 1 x ∈ L ⊥ S^{-1}x\in L^\perp S − 1 x ∈ L ⊥ . This proves the identity ( S ( L ) ) ⊥ = S ( L ⊥ ) (S(L))^\perp=S(L^\perp) ( S ( L ) ) ⊥ = S ( L ⊥ ) . Furthermore, if L L L is Lagrangian, then ( S ( L ) ) ⊥ = S ( L ⊥ ) = S ( L ) (S(L))^\perp=S(L^\perp)=S(L) ( S ( L ) ) ⊥ = S ( L ⊥ ) = S ( L ) and this shows that S S S sends Lagrangian submodules to Lagrangian submodules. For the second part of the lemma, the action laws follow from composition, and the first part. Since, any element of GL 2 k ( R ) \operatorname{GL}_{2k}(R) GL 2 k ( R ) preserves the freeness of a R R R -submodule of R 2 k R^{2k} R 2 k upon left multiplication, the last statement also follows. □
We next classify the Lagrangian submodules of Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 up to symplectic transformations, where p p p is prime and α ∈ N \alpha\in\mathbb{N} α ∈ N , using the standard symplectic form f ( v , w ) : = v 2 w 1 − v 1 w 2 f(v,w):=v_2w_1-v_1w_2 f ( v , w ) := v 2 w 1 − v 1 w 2 . for v = ( v 1 , v 2 ) T v=(v_1,v_2)^{\mathsf T} v = ( v 1 , v 2 ) T and w = ( w 1 , w 2 ) T w=(w_1,w_2)^{\mathsf T} w = ( w 1 , w 2 ) T in Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 . We note that the symplectic group satisfies Sp 2 ( Z p α ) = SL 2 ( Z p α ) \operatorname{Sp}_2(\mathbb{Z}_{p^\alpha})=\operatorname{SL}_2(\mathbb{Z}_{p^\alpha}) Sp 2 ( Z p α ) = SL 2 ( Z p α ) , where the equality follows from the identity f ( A v , A w ) = det ( A ) f ( v , w ) f(Av,Aw)=\det(A)f(v,w) f ( A v , A w ) = det ( A ) f ( v , w ) , for A ∈ GL 2 ( Z p α ) A\in\operatorname{GL}_2(\mathbb{Z}_{p^\alpha}) A ∈ GL 2 ( Z p α ) , and for all v , w ∈ Z p α 2 v,w\in\mathbb{Z}_{p^\alpha}^2 v , w ∈ Z p α 2 . In particular, the standard basis e 1 : = ( 1 , 0 ) T e_1:=(1,0)^{\mathsf T} e 1 := ( 1 , 0 ) T and e 2 : = ( 0 , 1 ) T e_2:=(0,1)^{\mathsf T} e 2 := ( 0 , 1 ) T satisfy f ( e 1 , e 2 ) = − 1 f(e_1,e_2)=-1 f ( e 1 , e 2 ) = − 1 . For each integer 0 ≤ m ≤ ⌊ α / 2 ⌋ 0\leq m\leq\lfloor\alpha/2\rfloor 0 ≤ m ≤ ⌊ α /2 ⌋ , we define L m : = p m Z p α e 1 ⊕ p α − m Z p α e 2 ⊆ Z p α 2 L_m:=p^m\mathbb{Z}_{p^\alpha}e_1\oplus p^{\alpha-m}\mathbb{Z}_{p^\alpha}e_2\subseteq\mathbb{Z}_{p^\alpha}^2 L m := p m Z p α e 1 ⊕ p α − m Z p α e 2 ⊆ Z p α 2 . Each L m L_m L m is isotropic, because the symplectic pairing of any two of its elements is divisible by p α p^\alpha p α . Moreover, ∣ L m ∣ = p α − m p m = p α \lvert L_m\rvert=p^{\alpha-m}p^m=p^\alpha ∣ L m ∣ = p α − m p m = p α , so Lemma 2.1 implies that L m L_m L m is Lagrangian. We further notice that only L 0 L_0 L 0 is free, whereas those with m > 0 m>0 m > 0 are non-free. We summarize the classification that every Lagrangian submodule of Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 is symplectically equivalent to one of L m L_m L m in the following lemma (see also [4 Sec. 1] ).
Lemma 2.3. Consider the symplectic module Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 , where p p p is prime and α ∈ N \alpha\in\mathbb{N} α ∈ N , equipped with the standard symplectic form f f f . Then
(i) Every Lagrangian submodule L ∈ Z p α 2 L \in\mathbb{Z}_{p^\alpha}^2 L ∈ Z p α 2 is symplectically equivalent to some standard Lagrangian L m L_m L m , that is, there exists a symplectic matrix S ∈ Sp 2 ( Z p α ) S \in\operatorname{Sp}_2(\mathbb{Z}_{p^\alpha}) S ∈ Sp 2 ( Z p α ) such that L = S ( L m ) L = S(L_m) L = S ( L m ) .
(ii) A submodule L ⊆ Z p α 2 L \subseteq\mathbb{Z}_{p^\alpha}^2 L ⊆ Z p α 2 is Lagrangian if and only if ∣ L ∣ = p α |L| = p^\alpha ∣ L ∣ = p α .
(iii) The total number of Lagrangian submodules of Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 is ∣ Lag ( Z p α 2 ) ∣ = 1 + p + p 2 + ⋯ + p α |\operatorname{Lag}(\mathbb{Z}_{p^\alpha}^2)| = 1 + p + p^2 + \cdots+ p^\alpha ∣ Lag ( Z p α 2 ) ∣ = 1 + p + p 2 + ⋯ + p α .
For completeness, we provide a short proof of Lemma 2.3 below. We use a standard consequence of the Smith normal form, which states that every submodule L ⊆ Z p α 2 L \subseteq\mathbb{Z}_{p^\alpha}^2 L ⊆ Z p α 2 is generated by two generators p m f 1 p^m f_1 p m f 1 and p n f 2 p^n f_2 p n f 2 , such that L m = p m Z p α f 1 ⊕ p n Z p α f 2 L_m = p^m\mathbb{Z}_{p^\alpha}f_1 \oplus p^n\mathbb{Z}_{p^\alpha}f_2 L m = p m Z p α f 1 ⊕ p n Z p α f 2 ; the reader is referred to [8 Chapter 15] for details on the Smith normal form.
Proof of Lemma. 2.3. (i) Let L L L be a non-trivial submodule. We will first claim that L L L has a direct sum decomposition of the form L = p m Z p α f 1 ⊕ p n Z p α f 2 L = p^m\mathbb{Z}_{p^\alpha}f_1 \oplus p^n\mathbb{Z}_{p^\alpha}f_2 L = p m Z p α f 1 ⊕ p n Z p α f 2 , where { f 1 , f 2 } ⊆ Z p α 2 \{f_1, f_2\} \subseteq\mathbb{Z}_{p^\alpha}^2 { f 1 , f 2 } ⊆ Z p α 2 is a basis, and 0 ≤ m ≤ n ≤ α 0 \le m \le n \le\alpha 0 ≤ m ≤ n ≤ α , with m < α m < \alpha m < α . By the Smith normal form, there exists a basis { f 1 ′ , f 2 ′ } ⊆ Z p α 2 \{f'_1, f'_2\} \subseteq\mathbb{Z}_{p^\alpha}^2 { f 1 ′ , f 2 ′ } ⊆ Z p α 2 that generates L L L , such that L L L has the form L = d 1 Z p α f 1 ′ ⊕ d 2 Z p α f 2 ′ L = d_1\mathbb{Z}_{p^\alpha}f'_1 \oplus d_2\mathbb{Z}_{p^\alpha}f'_2 L = d 1 Z p α f 1 ′ ⊕ d 2 Z p α f 2 ′ , where d 1 , d 2 ∈ Z p α d_1,d_2 \in\mathbb{Z}_{p^\alpha} d 1 , d 2 ∈ Z p α with d 1 ∣ d 2 d_1 \mid d_2 d 1 ∣ d 2 , and d 2 d_2 d 2 can be zero. We note that every nonzero d ∈ Z p α d \in\mathbb{Z}_{p^\alpha} d ∈ Z p α can be written as d = p k v d = p^k v d = p k v , for 0 ≤ k < α 0 \le k < \alpha 0 ≤ k < α , and v ∈ Z p α × v \in\mathbb{Z}_{p^\alpha}^{\times} v ∈ Z p α × , and since multiplication by a unit preserves Z p α \mathbb{Z}_{p^\alpha} Z p α , we have d Z p α = p k Z p α d\mathbb{Z}_{p^\alpha} = p^k\mathbb{Z}_{p^\alpha} d Z p α = p k Z p α . From this, we may conclude that L = p m Z p α f 1 ′ ⊕ p n Z p α f 2 ′ L = p^m\mathbb{Z}_{p^\alpha}f'_1 \oplus p^n\mathbb{Z}_{p^\alpha}f'_2 L = p m Z p α f 1 ′ ⊕ p n Z p α f 2 ′ , for some 0 ≤ m < α 0 \le m < \alpha 0 ≤ m < α , and 0 ≤ n ≤ α 0 \le n \le\alpha 0 ≤ n ≤ α , where n = α n = \alpha n = α handles the case that d 2 = 0 d_2 = 0 d 2 = 0 . Thus the claim holds automatically when d 2 = 0 d_2 = 0 d 2 = 0 ; so let us now assume d 2 ≠ 0 d_2 \ne0 d 2 = 0 , in which case m , n < α m,n < \alpha m , n < α . If m ≤ n m \le n m ≤ n , then we are done, otherwise we simply write L = p n Z p α f 2 ′ ⊕ p m Z p α f 1 ′ L = p^n\mathbb{Z}_{p^\alpha}f'_2 \oplus p^m\mathbb{Z}_{p^\alpha}f'_1 L = p n Z p α f 2 ′ ⊕ p m Z p α f 1 ′ , and this proves the claim. We note that this decomposition implies ∣ L ∣ = p 2 α − m − n |L| = p^{2\alpha-m-n} ∣ L ∣ = p 2 α − m − n . Next, by Lemma 2.1, if L L L is additionally Lagrangian, then ∣ L ∣ = p α |L| = p^\alpha ∣ L ∣ = p α , which implies m + n = α m + n = \alpha m + n = α , and since m ≤ n m \le n m ≤ n , this gives m ≤ ⌊ α / 2 ⌋ m \le\lfloor\alpha/2 \rfloor m ≤ ⌊ α /2 ⌋ . Thus we have shown that any Lagrangian submodule L L L has the direct sum decomposition L = p m Z p α f 1 ⊕ p α − m Z p α f 2 L = p^m\mathbb{Z}_{p^\alpha}f_1 \oplus p^{\alpha-m}\mathbb{Z}_{p^\alpha}f_2 L = p m Z p α f 1 ⊕ p α − m Z p α f 2 , for 0 ≤ m ≤ ⌊ α / 2 ⌋ 0 \le m \le\lfloor\alpha/2 \rfloor 0 ≤ m ≤ ⌊ α /2 ⌋ , and { f 1 , f 2 } \{f_1,f_2\} { f 1 , f 2 } a basis in Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 .
Next, { f 1 , f 2 } \{f_1,f_2\} { f 1 , f 2 } generates the module Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 , since Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 has rank 2. Thus there exists A ∈ GL 2 ( Z p α ) A \in\operatorname{GL}_2(\mathbb{Z}_{p^\alpha}) A ∈ GL 2 ( Z p α ) such that A e j = f j Ae_j = f_j A e j = f j , for j = 1 , 2 j = 1,2 j = 1 , 2 , and this yields A ⋅ L m = L A \cdot L_m = L A ⋅ L m = L . To upgrade A A A to a symplectic matrix, let u = det ( A ) ∈ Z p α × u = \det(A) \in\mathbb{Z}_{p^\alpha}^{\times} u = det ( A ) ∈ Z p α × , and we define the diagonal matrix
D = ( u − 1 0 0 1 ) ∈ GL 2 ( Z p α ) . D = \begin{pmatrix} u^{-1} & 0 \\ 0 & 1 \end{pmatrix} \in\operatorname{GL}_2(\mathbb{Z}_{p^\alpha}). D = ( u − 1 0 0 1 ) ∈ GL 2 ( Z p α ) .
As multiplication by the unit u − 1 u^{-1} u − 1 is an automorphism of the ideal p m Z p α p^m\mathbb{Z}_{p^\alpha} p m Z p α , we observe that D D D stabilizes L m L_m L m , that is,
D ⋅ L m = p m Z p α ( u − 1 e 1 ) ⊕ p α − m Z p α e 2 = p m Z p α e 1 ⊕ p α − m Z p α e 2 = L m . D \cdot L_m = p^m\mathbb{Z}_{p^\alpha}(u^{-1}e_1) \oplus p^{\alpha-m}\mathbb{Z}_{p^\alpha}e_2 = p^m\mathbb{Z}_{p^\alpha}e_1 \oplus p^{\alpha-m}\mathbb{Z}_{p^\alpha}e_2 = L_m. D ⋅ L m = p m Z p α ( u − 1 e 1 ) ⊕ p α − m Z p α e 2 = p m Z p α e 1 ⊕ p α − m Z p α e 2 = L m .
Let us define S = A D S = AD S = A D , which gives det ( S ) = det ( A ) det ( D ) = u ⋅ u − 1 = 1 \det(S) = \det(A)\det(D) = u \cdot u^{-1} = 1 det ( S ) = det ( A ) det ( D ) = u ⋅ u − 1 = 1 , and therefore we deduce that S ∈ SL 2 ( Z p α ) = Sp 2 ( Z p α ) S \in\operatorname{SL}_2(\mathbb{Z}_{p^\alpha}) = \operatorname{Sp}_2(\mathbb{Z}_{p^\alpha}) S ∈ SL 2 ( Z p α ) = Sp 2 ( Z p α ) . Furthermore, S ( L m ) = A ⋅ D ⋅ L m = A ⋅ L m = L S(L_m) = A \cdot D \cdot L_m = A \cdot L_m = L S ( L m ) = A ⋅ D ⋅ L m = A ⋅ L m = L , showing that L L L is symplectically equivalent to L m L_m L m .
(ii) If L ⊆ Z p α 2 L \subseteq\mathbb{Z}_{p^\alpha}^2 L ⊆ Z p α 2 is Lagrangian, we get ∣ L ∣ = p α |L| = p^\alpha ∣ L ∣ = p α from Lemma 2.1. Conversely, suppose we are given a non-trivial submodule L ⊆ R 2 k L \subseteq R^{2k} L ⊆ R 2 k satisfying ∣ L ∣ = p α |L| = p^\alpha ∣ L ∣ = p α . From the proof of part (i), we have that L = p m Z p α f 1 ⊕ p n Z p α f 2 L = p^m\mathbb{Z}_{p^\alpha}f_1 \oplus p^n\mathbb{Z}_{p^\alpha}f_2 L = p m Z p α f 1 ⊕ p n Z p α f 2 , for 0 ≤ m ≤ n ≤ α 0 \le m \le n \le\alpha 0 ≤ m ≤ n ≤ α , with m ≠ α m \ne\alpha m = α , and thus ∣ L ∣ = p 2 α − m − n |L| = p^{2\alpha-m-n} ∣ L ∣ = p 2 α − m − n . This now implies m + n = α m+n=\alpha m + n = α , and the same proof as in part (i) gives us that L = p m Z p α f 1 ⊕ p α − m Z p α f 2 = S ( L m ) L = p^m\mathbb{Z}_{p^\alpha}f_1 \oplus p^{\alpha-m}\mathbb{Z}_{p^\alpha}f_2 = S(L_m) L = p m Z p α f 1 ⊕ p α − m Z p α f 2 = S ( L m ) . Because a subgroup remains Lagrangian under a symplectic action by Lemma 2.2, L L L is indeed Lagrangian.
(iii) By the counting formula for isotropic lines in Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 , see [4 Section 1] , the number of Lagrangian subgroups of Z p α 2 \mathbb{Z}_{p^\alpha}^2 Z p α 2 is ∣ Lag ( Z p α 2 ) ∣ = 1 + p + p 2 + ⋯ + p α |\operatorname{Lag}(\mathbb{Z}_{p^\alpha}^2)| = 1 + p + p^2 + \cdots+ p^\alpha ∣ Lag ( Z p α 2 ) ∣ = 1 + p + p 2 + ⋯ + p α .
Throughout the remainder of the paper, we use the standard symplectic form.
Modular Clifford group and Clifford hierarchy
We define the shift operator X X X and the clock operator Z Z Z by
X ∣ x ⟩ : = ∣ x + 1 ⟩ , Z ∣ x ⟩ : = ω x ∣ x ⟩ for x ∈ Z d , X|x\rangle:= |x+1\rangle,\qquad Z|x\rangle:= \omega^x|x\rangle\quad\text{for } x \in\mathbb{Z}_d, X ∣ x ⟩ := ∣ x + 1 ⟩ , Z ∣ x ⟩ := ω x ∣ x ⟩ for x ∈ Z d ,
where x + 1 x+1 x + 1 is evaluated in Z d \mathbb{Z}_d Z d . This implies the group commutator relation Z X = ω X Z ZX = \omega XZ Z X = ω X Z , and both X X X and Z Z Z have order d d d .
Let us consider the Z d \mathbb{Z}_d Z d -module Z d 2 \mathbb{Z}_d^2 Z d 2 , with matrices in M 2 ( Z d ) M_2(\mathbb{Z}_d) M 2 ( Z d ) acting on this module by left multiplication. We equip Z d 2 \mathbb{Z}_d^2 Z d 2 with the standard symplectic pairing f f f turning it into the symplectic module ( Z d 2 , f ) (\mathbb{Z}_d^2,f) ( Z d 2 , f ) :
f ( v , w ) : = v T J w , J : = ( 0 − 1 1 0 ) , v , w ∈ Z d 2 . f(v,w):=v^{\mathsf{T}}Jw,\qquad J:=\begin{pmatrix}0&-1\\1&0\end{pmatrix},\qquad v,w\in\mathbb{Z}_d^2. f ( v , w ) := v T J w , J := ( 0 1 − 1 0 ) , v , w ∈ Z d 2 .
Thus, if v = ( a 1 , b 1 ) T v=(a_1,b_1)^{\mathsf{T}} v = ( a 1 , b 1 ) T and w = ( a 2 , b 2 ) T w=(a_2,b_2)^{\mathsf{T}} w = ( a 2 , b 2 ) T , then f ( v , w ) = a 2 b 1 − a 1 b 2 f(v,w)=a_2b_1-a_1b_2 f ( v , w ) = a 2 b 1 − a 1 b 2 .
Definition 2.1 (Pauli group). For any v = ( a , b ) T ∈ Z d 2 v=(a,b)^{\mathsf{T}}\in\mathbb{Z}_d^2 v = ( a , b ) T ∈ Z d 2 , we define the ordered Weyl operator as W v : = X a Z b W_v:=X^aZ^b W v := X a Z b . The Heisenberg-Weyl Pauli group P \mathcal{P} P is defined as the group generated by these operators and all scalar phases
P : = { λ W v : λ ∈ T , v ∈ Z d 2 } a . \mathcal{P}:=\{\lambda W_v:\lambda\in\mathbb{T},\ v\in\mathbb{Z}_d^2\}^{a}. P := { λ W v : λ ∈ T , v ∈ Z d 2 } a .
The operators { W v : v ∈ Z d 2 } \{W_v:v\in\mathbb{Z}_d^2\} { W v : v ∈ Z d 2 } form an orthonormal basis of B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) , under the Hilbert-Schmidt inner product. Moreover, the group commutator relation between X X X and Z Z Z dictates the canonical commutation of the Weyl operators, that is,
W v W w = ω f ( v , w ) W w W v , ∀ v , w ∈ Z d 2 . W_vW_w=\omega^{f(v,w)}W_wW_v,\qquad\forall v,w\in\mathbb{Z}_d^2. W v W w = ω f ( v , w ) W w W v , ∀ v , w ∈ Z d 2 .
Thus, W u W_u W u and W v W_v W v commute if and only if f ( u , v ) = 0 f(u,v)=0 f ( u , v ) = 0 .
An abelian subgroup of a group G G G is called maximal abelian in G G G if it is not properly contained in any other abelian subgroup of G G G . Given a submodule L ⊆ Z d 2 L\subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 , we denote the Pauli subgroup associated with L L L as P L : = { λ W ℓ : λ ∈ T , ℓ ∈ L } \mathcal{P}_L:=\{\lambda W_\ell:\lambda\in\mathbb{T},\ \ell\in L\} P L := { λ W ℓ : λ ∈ T , ℓ ∈ L } . Then L L L is isotropic if and only if P L \mathcal{P}_L P L is abelian. Moreover, L L L is Lagrangian exactly when P L \mathcal{P}_L P L is a maximal abelian Pauli subgroup, meaning that it is maximal abelian in P \mathcal{P} P . We define the Pauli subalgebra of L L L as A L : = span C { W ℓ : ℓ ∈ L } ⊆ B ( H ) \mathcal{A}_L:=\operatorname{span}_{\mathbb{C}}\{W_\ell:\ell\in L\}\subseteq\mathcal{B}(\mathcal{H}) A L := span C { W ℓ : ℓ ∈ L } ⊆ B ( H ) . This is a unital ∗ * ∗ -subalgebra, and it is abelian exactly when L L L is isotropic. We call A L \mathcal{A}_L A L a maximal abelian Pauli subalgebra , if it is abelian and it is not properly contained in any other abelian Pauli subalgebra. More generally, an abelian subalgebra of B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) is called a maximal abelian subalgebra , if it is not properly contained in any other abelian subalgebra of B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) . For Pauli subalgebras, these two notions of maximality coincide. To see this, define the commutant of A L \mathcal{A}_L A L to be A L ′ : = { T ∈ B ( H ) : T A = A T , ∀ A ∈ A L } \mathcal{A}_L':=\{T\in\mathcal{B}(\mathcal{H}):TA=AT,\ \forall A\in\mathcal{A}_L\} A L ′ := { T ∈ B ( H ) : T A = A T , ∀ A ∈ A L } . It is easy to see that A L ′ \mathcal{A}_L' A L ′ is the subalgebra associated with the symplectic orthogonal complement of L L L , that is, A L ′ = A L ⊥ \mathcal{A}_L'=\mathcal{A}_{L^\perp} A L ′ = A L ⊥ . This is because Weyl operators form a basis for B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) and the commutation relations imply that an operator commutes with every W ℓ W_\ell W ℓ , for ℓ ∈ L \ell\in L ℓ ∈ L , precisely when its Weyl expansion is supported on L ⊥ L^\perp L ⊥ . Now suppose A L \mathcal{A}_L A L is maximal among abelian Pauli subalgebras. Then L L L is isotropic. If v ∈ L ⊥ ∖ L v\in L^\perp\setminus L v ∈ L ⊥ ∖ L , then the larger submodule L + Z d v L+\mathbb{Z}_dv L + Z d v is also isotropic, so its Pauli subalgebra is abelian and properly contains A L \mathcal{A}_L A L , contradicting our maximality assumption. Hence L = L ⊥ L=L^\perp L = L ⊥ , and the equation A L ′ = A L ⊥ \mathcal{A}_L'=\mathcal{A}_{L^\perp} A L ′ = A L ⊥ gives A L = A L ′ \mathcal{A}_L=\mathcal{A}_L' A L = A L ′ . Therefore, every operator commuting with A L \mathcal{A}_L A L is already in it, proving maximality among all abelian subalgebras of B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) . Conversely, for any Pauli subalgebra, maximality among all abelian subalgebras implies maximality among abelian Pauli subalgebras. Consequently, both maximal abelian notions for A L \mathcal{A}_L A L are equivalent to L L L being Lagrangian.
Definition 2.2 (Modular Clifford group and Clifford hierarchy). The (modular) Clifford hierarchy is defined by setting C 1 : = P \mathcal{C}_1:=\mathcal{P} C 1 := P , and for k ∈ N k\in\mathbb{N} k ∈ N with k ≥ 2 k\geq2 k ≥ 2 , we recursively define the k th k^{\text{th}} k th level of the hierarchy as
C k : = { U ∈ U ( H ) : U P U ∗ ⊆ C k − 1 } . \mathcal{C}_k:=\{U\in\mathcal{U}(\mathcal{H}):U\mathcal{P}U^*\subseteq\mathcal{C}_{k-1}\}. C k := { U ∈ U ( H ) : U P U ∗ ⊆ C k − 1 } . The elements of C k \mathcal{C}_k C k are also known as the Clifford hierarchy gates . The second level of the hierarchy C 2 \mathcal{C}_2 C 2 forms a group and is called the modular Clifford group (or simply the Clifford group )b ^{b} b , and its elements are called Clifford gates . Since the conjugation action defining the hierarchy
descends naturally to the projective unitary group P U ( H ) \mathrm{PU}(\mathcal{H}) PU ( H ) , we define the projective Clifford group , denoted as P C 2 : = C 2 / T I \mathrm{PC}_2 := \mathrm{C}_2/\mathbb{T}I PC 2 := C 2 / T I . For k > 2 k > 2 k > 2 , the levels need not be groups, but they form a strictly increasing sequence C k ⊂ C k + 1 \mathrm{C}_k \subset\mathrm{C}_{k+1} C k ⊂ C k + 1 . The inclusions C k ⊆ C k + 1 \mathrm{C}_k \subseteq\mathrm{C}_{k+1} C k ⊆ C k + 1 follow immediately by induction, while a construction is provided in Appendix A, which shows the strictness of the inclusions.
Since the Clifford hierarchy is defined through conjugation of Pauli operators, we first record two elementary properties of unitary conjugation concerning projective order and maximal abelianness.
Lemma 2.4 (Properties of unitary conjugation). Let U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) . Then,
(i) For every subgroup G ⊆ B ( H ) G \subseteq\mathrm{B}(\mathcal{H}) G ⊆ B ( H ) , unitary conjugation by U U U induces an isomorphism Φ ( V ) : = U V U ∗ \Phi(V) := UVU^{*} Φ ( V ) := U V U ∗ , where V ∈ G V \in G V ∈ G . In particular, if G ⊆ U ( H ) G \subseteq\mathrm{U}(\mathcal{H}) G ⊆ U ( H ) , then for V ∈ G V \in G V ∈ G , if the projective class [ V ] [V] [ V ] has order t t t , then so does [ U V U ∗ ] [UVU^{*}] [ U V U ∗ ] in P U ( H ) \mathrm{PU}(\mathcal{H}) PU ( H ) .
(ii) If G G G is a maximal abelian subgroup of a group K ⊆ U ( H ) K \subseteq\mathrm{U}(\mathcal{H}) K ⊆ U ( H ) , then U G U ∗ UGU^{*} U G U ∗ is a maximal abelian subgroup in U K U ∗ UKU^{*} U K U ∗ . Likewise, if A \mathcal{A} A is a maximal abelian subalgebra in B ( H ) \mathrm{B}(\mathcal{H}) B ( H ) , then so is U A U ∗ U\mathcal{A}U^{*} U A U ∗ .
Proof. For part (i), if V , W ∈ G V,W \in G V , W ∈ G , we have Φ ( V W ) = U V W U ∗ = ( U V U ∗ ) ( U W U ∗ ) = Φ ( V ) Φ ( W ) \Phi(VW) = UVWU^{*} = (UVU^{*})(UWU^{*}) = \Phi(V)\Phi(W) Φ ( V W ) = U V W U ∗ = ( U V U ∗ ) ( U W U ∗ ) = Φ ( V ) Φ ( W ) , so Φ \Phi Φ is a well-defined homomorphism. Conjugation by U ∗ U^{*} U ∗ induces its inverse, so Φ \Phi Φ is an isomorphism. If G ⊆ U ( H ) G \subseteq\mathrm{U}(\mathcal{H}) G ⊆ U ( H ) , then for every positive integer m m m , we have ( U V U ∗ ) m = U V m U ∗ (UVU^{*})^{m} = UV^{m}U^{*} ( U V U ∗ ) m = U V m U ∗ . Consequently, ( U V U ∗ ) m (UVU^{*})^{m} ( U V U ∗ ) m is a scalar multiple of the identity if and only if the same is true for V m V^{m} V m . It follows from this that the two projective classes have the same order.
For part (ii), conjugation by U U U preserves products, linear combinations, and commutation relations, and its inverse is conjugation by U ∗ U^{*} U ∗ . Hence, the conjugated subgroup and subalgebra are abelian. Any strictly larger abelian subgroup of U K U ∗ UKU^{*} U K U ∗ containing U G U ∗ UGU^{*} U G U ∗ would conjugate back to a strictly larger abelian subgroup of K K K containing G G G , contradicting maximality. The same argument applies to subalgebras of B ( H ) \mathrm{B}(\mathcal{H}) B ( H ) . □
Next, we now relate the conjugation by Clifford gates to the symplectic action introduced in Lemma 2.2. Similar to the case in Z p α \mathbb{Z}_{p^{\alpha}} Z p α , the symplectic group S p 2 ( Z d ) \mathrm{Sp}_{2}(\mathbb{Z}_{d}) Sp 2 ( Z d ) satisfies S p 2 ( Z d ) = S L 2 ( Z d ) \mathrm{Sp}_{2}(\mathbb{Z}_{d}) = \mathrm{SL}_{2}(\mathbb{Z}_{d}) Sp 2 ( Z d ) = SL 2 ( Z d ) . The following Clifford–symplectic correspondence is standard (see, for example, [KT23, Theorem 4.1]); for every C ∈ C 2 C \in\mathrm{C}_{2} C ∈ C 2 , there exists a unique ρ ( [ C ] ) ∈ S p 2 ( Z d ) \rho([C]) \in\mathrm{Sp}_{2}(\mathbb{Z}_{d}) ρ ([ C ]) ∈ Sp 2 ( Z d ) , called the symplectic representative of C C C , such that [ C W v C ∗ ] = [ W ρ ( [ C ] ) v ] [CW_{\mathbf{v}}C^{*}] = [W_{\rho([C])\mathbf{v}}] [ C W v C ∗ ] = [ W ρ ([ C ]) v ] , for all v ∈ Z d 2 \mathbf{v} \in\mathbb{Z}_{d}^{2} v ∈ Z d 2 . Moreover, the resulting map ρ : P C 2 ⟶ S p 2 ( Z d ) \rho: \mathrm{PC}_{2} \longrightarrow\mathrm{Sp}_{2}(\mathbb{Z}_{d}) ρ : PC 2 ⟶ Sp 2 ( Z d ) is a surjective group homomorphism whose kernel is the projective Pauli subgroup. Thus there is a short exact sequence
1 ⟶ Z d 2 ⟶ P C 2 → ρ S p 2 ( Z d ) ⟶ 1 c , 1 \longrightarrow\mathbb{Z}_{d}^{2} \longrightarrow\mathrm{PC}_{2} \xrightarrow{\rho} \mathrm{Sp}_{2}(\mathbb{Z}_{d}) \longrightarrow1^{c}, 1 ⟶ Z d 2 ⟶ PC 2 ρ Sp 2 ( Z d ) ⟶ 1 c ,
where all maps are group homomorphisms. In the following lemma, we record some elementary structural properties of Clifford gates and their action on the Clifford hierarchy, which will be used in later sections.
Lemma 2.5. The following properties hold for Clifford gates:
(i) For all k ≥ 2 k \ge2 k ≥ 2 , U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) , and C , C ^ ∈ C 2 C,\widehat{C} \in\mathrm{C}_{2} C , C ∈ C 2 , it holds that U ∈ C k U \in\mathrm{C}_{k} U ∈ C k if and only if C U C ^ ∈ C k CU\widehat{C} \in\mathrm{C}_{k} C U C ∈ C k .
(ii) Clifford conjugation cannot change maximal abelian Pauli subgroups and subalgebras.
(iii) The permutation gates in C 2 \mathrm{C}_{2} C 2 are precisely Π ∣ x ⟩ = ∣ a x + b ⟩ \Pi|x\rangle= |ax+b\rangle Π∣ x ⟩ = ∣ a x + b ⟩ , where a ∈ Z d × a \in\mathbb{Z}_{d}^{\times} a ∈ Z d × and b ∈ Z d b \in\mathbb{Z}_{d} b ∈ Z d .
Proof. For part (i), the inductive argument of [35 Proposition 3] applies for every d d d .
For part (ii), for C ∈ C 2 C \in\mathrm{C}_{2} C ∈ C 2 , we denote its symplectic representative as S = ρ ( [ C ] ) S = \rho([C]) S = ρ ([ C ]) . Therefore, for every submodule L ⊆ Z d 2 L \subseteq\mathbb{Z}_{d}^{2} L ⊆ Z d 2 , we have C P L C ∗ = P S ( L ) C\mathcal{P}_{L}C^{*} = \mathcal{P}_{S(L)} C P L C ∗ = P S ( L ) and C A L C ∗ = A S ( L ) C\mathcal{A}_{L}C^{*} = \mathcal{A}_{S(L)} C A L C ∗ = A S ( L ) . Since symplectic action preserves Lagrangian property from Lemma 2.2, conjugation by Clifford gates also preserves the maximal abelian property for both the Pauli subgroup and the subalgebra.
For part (iii), first suppose that Π ∈ C 2 \Pi\in\mathcal{C}_2 Π ∈ C 2 is a permutation gate with Π ∣ x ⟩ = ∣ π ( x ) ⟩ \Pi|x\rangle= |\pi(x)\rangle Π∣ x ⟩ = ∣ π ( x )⟩ for some permutation function π \pi π . Then Π Z Π ∗ ∣ x ⟩ = Π Z ∣ π − 1 ( x ) ⟩ = ω π − 1 ( x ) ∣ x ⟩ \Pi Z\Pi^*|x\rangle= \Pi Z|\pi^{-1}(x)\rangle= \omega^{\pi^{-1}(x)}|x\rangle Π Z Π ∗ ∣ x ⟩ = Π Z ∣ π − 1 ( x )⟩ = ω π − 1 ( x ) ∣ x ⟩ . Since Π \Pi Π is Clifford, Π Z Π ∗ \Pi Z\Pi^* Π Z Π ∗ is a diagonal Pauli, so there exist some λ ∈ T \lambda\in\mathbb{T} λ ∈ T and c 1 ∈ Z d c_1 \in\mathbb{Z}_d c 1 ∈ Z d such that Π Z Π ∗ = λ Z c 1 \Pi Z\Pi^* = \lambda Z^{c_1} Π Z Π ∗ = λ Z c 1 . Evaluating at x = 0 x=0 x = 0 gives λ = ω c \lambda=\omega^c λ = ω c , where c = π − 1 ( 0 ) c=\pi^{-1}(0) c = π − 1 ( 0 ) . As conjugation does not change the projective order by Lemma 2.4(i), Z c 1 Z^{c_1} Z c 1 has projective order d d d , so c 1 ∈ Z d ∗ c_1 \in\mathbb{Z}_d^* c 1 ∈ Z d ∗ . Comparing diagonal entries gives π − 1 ( x ) = c 1 x + c \pi^{-1}(x)=c_1x+c π − 1 ( x ) = c 1 x + c in Z d \mathbb{Z}_d Z d , and hence π ( x ) = c 1 − 1 x − c 1 − 1 c \pi(x)=c_1^{-1}x-c_1^{-1}c π ( x ) = c 1 − 1 x − c 1 − 1 c . Thus π ( x ) = a x + b \pi(x)=ax+b π ( x ) = a x + b , with a = c 1 − 1 ∈ Z d ∗ a=c_1^{-1}\in\mathbb{Z}_d^* a = c 1 − 1 ∈ Z d ∗ and b = − c 1 − 1 c ∈ Z d b=-c_1^{-1}c\in\mathbb{Z}_d b = − c 1 − 1 c ∈ Z d . Conversely, if Π ∣ x ⟩ = ∣ a x + b ⟩ \Pi|x\rangle=|ax+b\rangle Π∣ x ⟩ = ∣ a x + b ⟩ with a ∈ Z d ∗ a\in\mathbb{Z}_d^* a ∈ Z d ∗ and b ∈ Z d b\in\mathbb{Z}_d b ∈ Z d , then a direct calculation gives Π X Π ∗ = X a \Pi X\Pi^*=X^a Π X Π ∗ = X a and Π Z Π ∗ = ω − a − 1 b Z a − 1 \Pi Z\Pi^*=\omega^{-a^{-1}b}Z^{a^{-1}} Π Z Π ∗ = ω − a − 1 b Z a − 1 . Thus Π \Pi Π is Clifford. This extends the prime-dimensional characterization in [14 Theorem 1 and Lemma 6] to every d ≥ 2 d\ge2 d ≥ 2 . □
To study hierarchy gates U ∈ C k U\in\mathcal{C}_k U ∈ C k , it is natural to use an ordered pair ( A , B ) : = ( U X U ∗ , U Z U ∗ ) (A,B):=(UXU^*,UZU^*) ( A , B ) := ( U X U ∗ , U Z U ∗ ) , because every Weyl operator, conjugated by U U U , takes the form A a B b A^aB^b A a B b for a , b ∈ Z d a,b\in\mathbb{Z}_d a , b ∈ Z d . As we will see in Lemma 2.6, the map [ U ] ↦ ( A , B ) [U]\mapsto(A,B) [ U ] ↦ ( A , B ) establishes a one-to-one correspondence between projective Clifford hierarchy gates and conjugate pairs, which we define next.
Definition 2.3 (Conjugate pairs). A conjugate pair is an ordered pair ( A , B ) ∈ U ( H ) × U ( H ) (A,B)\in\mathcal{U}(\mathcal{H})\times\mathcal{U}(\mathcal{H}) ( A , B ) ∈ U ( H ) × U ( H ) , satisfying B A = ω A B BA=\omega AB B A = ω A B and the both have order d d d . We denote the set of all conjugate pairs by Conj ( H ) \operatorname{Conj}(\mathcal{H}) Conj ( H ) .
The next lemma collects the basic properties of conjugate pairs. In particular, part (ii) establishes the correspondence with the projective Clifford hierarchy gates and is a finite-dimensional form of the Stone–von Neumann theorem. These properties are standard in prime dimensions; see [13 Lemmas 3–4 and Theorems 3–4] . The proofs given there extend to arbitrary d d d , as they do not rely on the field structure of Z d \mathbb{Z}_d Z d , so we omit them here.
Lemma 2.6. The following properties hold:
(i) Let A , B ∈ U ( H ) A,B\in\mathcal{U}(\mathcal{H}) A , B ∈ U ( H ) satisfy B A = ω A B BA=\omega AB B A = ω A B . Then the operators { A a B b : ( a , b ) T ∈ Z d 2 } \{A^aB^b:(a,b)^{\mathsf T}\in\mathbb{Z}_d^2\} { A a B b : ( a , b ) T ∈ Z d 2 } form an orthogonal basis of B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) .
(ii) If ( A , B ) (A,B) ( A , B ) forms a conjugate pair, then there exists u 0 ∈ H u_0\in\mathcal{H} u 0 ∈ H of norm one, such that B u 0 = u 0 Bu_0=u_0 B u 0 = u 0 . For such a u 0 u_0 u 0 , define u x : = A x u 0 u_x:=A^xu_0 u x := A x u 0 , for x ∈ Z d x\in\mathbb{Z}_d x ∈ Z d . Then { u x : x ∈ Z d } \{u_x:x\in\mathbb{Z}_d\} { u x : x ∈ Z d } is an orthonormal basis of H \mathcal{H} H , and the unitary U U U defined by U ∣ x ⟩ : = u x U|x\rangle:=u_x U ∣ x ⟩ := u x satisfies U X U ∗ = A UXU^*=A U X U ∗ = A , and U Z U ∗ = B UZU^*=B U Z U ∗ = B . This U U U is unique up to a scalar phase.
(iii) For a conjugate pair ( A , B ) (A,B) ( A , B ) , define W ( A , B ) : = { λ A a B b : λ ∈ T , ( a , b ) T ∈ Z d 2 } \mathcal{W}(A,B):=\{\lambda A^aB^b:\lambda\in\mathbb{T},(a,b)^{\mathsf T}\in\mathbb{Z}_d^2\} W ( A , B ) := { λ A a B b : λ ∈ T , ( a , b ) T ∈ Z d 2 } . Then W ( A , B ) \mathcal{W}(A,B) W ( A , B ) is a group. Moreover, W ( A , B ) ⊆ C k \mathcal{W}(A,B)\subseteq\mathcal{C}_k W ( A , B ) ⊆ C k if and only if the unitary U U U from (ii) lies in C k + 1 \mathcal{C}_{k+1} C k + 1 .
Semi-Clifford gates and generalized semi-Clifford gates
Definition 2.4 (Diagonal gates). We define the group of diagonal unitaries
D : = { D ∈ U ( H ) : D ∣ x ⟩ = g ( x ) ∣ x ⟩ , ∀ x ∈ Z d , for some g : Z d → T } . \mathcal{D}:=\{D\in\mathcal{U}(\mathcal{H}):D|x\rangle=g(x)|x\rangle,\ \forall x\in\mathbb{Z}_d,\ \text{for some }g:\mathbb{Z}_d\to\mathbb{T}\}. D := { D ∈ U ( H ) : D ∣ x ⟩ = g ( x ) ∣ x ⟩ , ∀ x ∈ Z d , for some g : Z d → T } . The diagonal gates at hierarchy level k k k are D k : = C k ∩ D \mathcal{D}_k:=\mathcal{C}_k\cap\mathcal{D} D k := C k ∩ D .
Although C k \mathcal{C}_k C k is generally not a group for k ≥ 3 k\ge3 k ≥ 3 , its diagonal subset D k \mathcal{D}_k D k is an abelian subgroup of D \mathcal{D} D ; see [11 Theorem 1] .
Definition 2.5 (Semi-Clifford gates). A gate U U U is called semi-Clifford if there exist C 1 , C 2 ∈ C 2 C_1,C_2\in\mathcal{C}_2 C 1 , C 2 ∈ C 2 and D ∈ D D\in\mathcal{D} D ∈ D such that U = C 1 D C 2 U=C_1DC_2 U = C 1 D C 2 . We denote the set of semi-Clifford gates as S C \mathcal{SC} SC and we define S C k : = C k ∩ S C \mathcal{SC}_k:=\mathcal{C}_k\cap\mathcal{SC} SC k := C k ∩ SC , which is the set of semi-Clifford gates in C k \mathcal{C}_k C k .
Remark 2.7. The one-bit gate-teleportation protocol for qubits in [36 ] was extended to prime-dimensional qudits in [13 Section 5.1] , which depends only on the decomposition U = C 1 D C 2 U = C_1DC_2 U = C 1 D C 2 and extends unchanged to arbitrary d d d . Thus, the semi-Clifford gates considered here admit the same resource-efficient teleportation protocol, including in composite dimensions.
Definition 2.6 (Permutation diagonal normal form). A unitary U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) admits a permutation diagonal normal form if there exists a representation U = C 1 Π D C 2 U = C_1\Pi D C_2 U = C 1 Π D C 2 , where C 1 , C 2 ∈ C 2 C_1, C_2 \in\mathcal{C}_2 C 1 , C 2 ∈ C 2 , D ∈ D D \in\mathcal{D} D ∈ D , and Π ∈ U ( H ) \Pi\in\mathrm{U}(\mathcal{H}) Π ∈ U ( H ) is a permutation of the computational basis states (also known as a permutation gate ). We denote the set of all such U U U by N \mathcal{N} N and define N k : = C k ∩ N \mathcal{N}_k := \mathcal{C}_k \cap\mathcal{N} N k := C k ∩ N .
We will show later that both normal forms admit characterizations in terms of free Lagrangian submodules of Z d 2 \mathbb{Z}_d^2 Z d 2 . By Lemma 2.1, the free Lagrangian submodules of Z d 2 \mathbb{Z}_d^2 Z d 2 are precisely those generated by unimodular elements, that is, elements v = ( a , b ) T ∈ Z d 2 v = (a,b)^\mathsf{T} \in\mathbb{Z}_d^2 v = ( a , b ) T ∈ Z d 2 satisfying gcd ( a , b , d ) = 1 \gcd(a,b,d) = 1 g cd( a , b , d ) = 1 . Equivalently, the map t ↦ t v t \mapsto tv t ↦ t v is an isomorphism of Z d \mathbb{Z}_d Z d -modules from Z d \mathbb{Z}_d Z d onto Z d v \mathbb{Z}_dv Z d v , when v v v is unimodular. Such elements are also called admissible in the projective-ring literature; see [24 BH00] . We define L Z : = Z d ( 0 1 ) L_{\mathbb{Z}} := \mathbb{Z}_d \left(\begin{smallmatrix}0\\1\end{smallmatrix}\right) L Z := Z d ( 0 1 ) . Since W ( 0 , 1 ) T = Z W_{(0,1)^\mathsf{T}} = Z W ( 0 , 1 ) T = Z , we can also write A L Z = span C { Z b : b ∈ Z d } \mathcal{A}_{L_{\mathbb{Z}}} = \operatorname{span}_{\mathbb{C}}\{Z^b : b \in\mathbb{Z}_d\} A L Z = span C { Z b : b ∈ Z d } . The following lemma characterizes Weyl operators associated with a unimodular element as conjugation by Clifford gates on Z Z Z up to phase. The following lemma follows from the Pauli-Euclid-Gottesman lemma [17 Lemma 2] :
Lemma 2.8. An element v ∈ Z d 2 v \in\mathbb{Z}_d^2 v ∈ Z d 2 is unimodular if and only if there exist C ∈ C 2 C \in\mathcal{C}_2 C ∈ C 2 and λ ∈ T \lambda\in\mathbb{T} λ ∈ T such that W v = λ C ∗ Z C W_v = \lambda C^* Z C W v = λ C ∗ Z C . Consequently, for every free Lagrangian L ⊆ Z d 2 L \subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 , there exists C ∈ C 2 C \in\mathcal{C}_2 C ∈ C 2 such that C P L C ∗ = P L Z C P_L C^* = P_{L_{\mathbb{Z}}} C P L C ∗ = P L Z , where P L Z = { λ Z b : λ ∈ T , b ∈ Z d } P_{L_{\mathbb{Z}}} = \{\lambda Z^b : \lambda\in\mathbb{T},\ b \in\mathbb{Z}_d\} P L Z = { λ Z b : λ ∈ T , b ∈ Z d } .
Proof. For unimodular v = ( a , b ) T ∈ Z d 2 v = (a,b)^\mathsf{T} \in\mathbb{Z}_d^2 v = ( a , b ) T ∈ Z d 2 , there exist s , t ∈ Z d s,t \in\mathbb{Z}_d s , t ∈ Z d such that s a + t b ≡ 1 ( m o d d ) sa + tb \equiv1 \pmod d s a + t b ≡ 1 ( mod d ) . We define the matrix S = ( b − a s t ) S = \begin{pmatrix} b & -a \\ s & t \end{pmatrix} S = ( b s − a t ) , satisfying S v = ( 0 , 1 ) T Sv = (0,1)^\mathsf{T} S v = ( 0 , 1 ) T . We note that det ( S ) = 1 \det(S) = 1 det ( S ) = 1 , so S ∈ Sp 2 ( Z d ) S \in\operatorname{Sp}_2(\mathbb{Z}_d) S ∈ Sp 2 ( Z d ) . By the surjectivity of ρ \rho ρ , there exist C ∈ C 2 C \in\mathcal{C}_2 C ∈ C 2 and λ ∈ T \lambda\in\mathbb{T} λ ∈ T such that ρ ( [ C ] ) = S \rho([C]) = S ρ ([ C ]) = S , and W v = λ C ∗ Z C W_v = \lambda C^* Z C W v = λ C ∗ Z C . Conversely, W v = λ C ∗ Z C W_v = \lambda C^* Z C W v = λ C ∗ Z C implies that ρ ( [ C ] ) v = ( 0 , 1 ) T \rho([C])v = (0,1)^\mathsf{T} ρ ([ C ]) v = ( 0 , 1 ) T . Since ρ ( [ C ] ) \rho([C]) ρ ([ C ]) is invertible and invertible matrices preserve unimodularity, v v v is unimodular.
To prove the second half of the lemma, given that L ⊆ Z d 2 L \subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 is a free Lagrangian submodule, by Lemma 2.1, there exists a unimodular element v = ( a , b ) T ∈ Z d 2 v = (a,b)^\mathsf{T} \in\mathbb{Z}_d^2 v = ( a , b ) T ∈ Z d 2 such that L = Z d v L = \mathbb{Z}_dv L = Z d v . The first half of the lemma provides a Clifford gate C C C such that C P L C ∗ = P L Z C P_L C^* = P_{L_{\mathbb{Z}}} C P L C ∗ = P L Z . □
Lemma 2.9 (Unimodular-element criteria). For U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) , the following criteria hold:
(i) U ∈ S C U \in\mathcal{SC} U ∈ SC if and only if there exists an unimodular v ∈ Z d 2 v \in\mathbb{Z}_d^2 v ∈ Z d 2 such that U W v U ∗ ∈ P U W_v U^* \in\mathcal{P} U W v U ∗ ∈ P .
(ii) U ∈ N U \in\mathcal{N} U ∈ N if and only if there exist unimodular v , w ∈ Z d 2 v,w \in\mathbb{Z}_d^2 v , w ∈ Z d 2 such that U W v U ∗ U W_v U^* U W v U ∗ and W w W_w W w commute.
Proof. We prove the two parts separately.
(i) If U ∈ S C U \in\mathcal{SC} U ∈ SC , then U = C 1 D C 2 U = C_1 D C_2 U = C 1 D C 2 for some C 1 , C 2 ∈ C 2 C_1,C_2 \in\mathcal{C}_2 C 1 , C 2 ∈ C 2 , and D ∈ D D \in\mathcal{D} D ∈ D . Thus C 2 ∗ Z C 2 C_2^* Z C_2 C 2 ∗ Z C 2 is proportional to W v W_v W v , for some v = ρ ( [ C 2 ] ) − 1 ( 0 , 1 ) T v = \rho([C_2])^{-1}(0,1)^\mathsf{T} v = ρ ([ C 2 ] ) − 1 ( 0 , 1 ) T , which is unimodular by Lemma 2.8. Then U ( C 2 ∗ Z C 2 ) U ∗ = C 1 Z C 1 ∗ U(C_2^* Z C_2)U^* = C_1 Z C_1^* U ( C 2 ∗ Z C 2 ) U ∗ = C 1 Z C 1 ∗ is Pauli, proving one direction of the lemma. Conversely, suppose U W v U ∗ ∈ P U W_v U^* \in\mathcal{P} U W v U ∗ ∈ P with v v v unimodular. Then U W v U ∗ = μ W w U W_v U^* = \mu W_w U W v U ∗ = μ W w , for some μ ∈ T \mu\in\mathbb{T} μ ∈ T and w ∈ Z d 2 w \in\mathbb{Z}_d^2 w ∈ Z d 2 . Since conjugation preserves projective order by Lemma 2.4(i), it means that w w w is also unimodular. By Lemma 2.8, we can then choose Clifford gates C v , C w C_v,C_w C v , C w such that C v P L Z d , v C v ∗ = P L Z C_v P_{L_{Z_d,v}} C_v^* = P_{L_{\mathbb{Z}}} C v P L Z d , v C v ∗ = P L Z , and C w P L Z d , w C w ∗ = P L Z C_w P_{L_{Z_d,w}} C_w^* = P_{L_{\mathbb{Z}}} C w P L Z d , w C w ∗ = P L Z . Now, the relation U W v U ∗ = μ W w U W_v U^* = \mu W_w U W v U ∗ = μ W w implies U P Z d , v U ∗ = P Z d , w U P_{Z_d,v} U^* = P_{Z_d,w} U P Z d , v U ∗ = P Z d , w , and so a calculation shows that the unitary V : = C w U C v ∗ V := C_w U C_v^* V := C w U C v ∗ satisfies V P L Z V ∗ = P L Z V P_{L_{\mathbb{Z}}} V^* = P_{L_{\mathbb{Z}}} V P L Z V ∗ = P L Z . In particular, we have V Z V ∗ = λ Z a V Z V^* = \lambda Z^a V Z V ∗ = λ Z a , for some λ ∈ T \lambda\in\mathbb{T} λ ∈ T , and a ∈ Z d a \in\mathbb{Z}_d a ∈ Z d , and since conjugation preserves projective order by Lemma 2.4, we further deduce d = d / gcd ( a , d ) d = d/\gcd(a,d) d = d / g cd( a , d ) , or equivalently a ∈ Z d ∗ a \in\mathbb{Z}_d^* a ∈ Z d ∗ . Also, taking d d d -th powers of the relation V Z V ∗ = λ Z a V Z V^* = \lambda Z^a V Z V ∗ = λ Z a gives us λ d = 1 \lambda^d = 1 λ d = 1 , which implies λ = ω b \lambda= \omega^b λ = ω b for some b ∈ Z d b \in\mathbb{Z}_d b ∈ Z d . Finally, we construct a permutation gate Π ∣ x ⟩ : = ∣ a − 1 ( x − b ) ⟩ \Pi|x\rangle:= |a^{-1}(x-b)\rangle Π∣ x ⟩ := ∣ a − 1 ( x − b )⟩ , which is Clifford by Lemma 2.5(iii). We can check that it also satisfies Π Z Π ∗ = ω b Z a \Pi Z\Pi^* = \omega^b Z^a Π Z Π ∗ = ω b Z a , and therefore, the operator D : = Π ∗ V D := \Pi^*V D := Π ∗ V commutes with Z Z Z , and is hence diagonal. We thus conclude from the definition of V V V that U = ( C w ∗ Π ) D C v ∈ S C U = (C_w^*\Pi)D C_v \in\mathcal{SC} U = ( C w ∗ Π ) D C v ∈ SC , because C w , Π ∈ C 2 C_w,\Pi\in\mathcal{C}_2 C w , Π ∈ C 2 and C 2 \mathcal{C}_2 C 2 is a group.
(ii) Let us first assume that U ∈ N U \in\mathcal{N} U ∈ N . Then by definition, there exists C 1 , C 2 ∈ C 2 C_1,C_2 \in\mathcal{C}_2 C 1 , C 2 ∈ C 2 , D ∈ D D \in\mathcal{D} D ∈ D , and Π \Pi Π some permutation gate, such that U = C 1 Π D C 2 U=C_1\Pi D C_2 U = C 1 Π D C 2 . By Lemma 2.8, there exists unimodular v , w ∈ Z d 2 v,w \in\mathbb{Z}_d^2 v , w ∈ Z d 2 , such that W v = λ C 2 ∗ Z C 2 W_v=\lambda C_2^* Z C_2 W v = λ C 2 ∗ Z C 2 and W w = μ C 1 Z C 1 ∗ W_w=\mu C_1 Z C_1^* W w = μ C 1 Z C 1 ∗ , for some λ , μ ∈ T \lambda,\mu\in\mathbb{T} λ , μ ∈ T . Then U W v U ∗ = λ C 1 Π D Z D ∗ Π ∗ C 1 ∗ = λ C 1 ( Π Z Π ∗ ) C 1 ∗ UW_vU^*=\lambda C_1\Pi D Z D^*\Pi^*C_1^*=\lambda C_1(\Pi Z\Pi^*)C_1^* U W v U ∗ = λ C 1 Π D Z D ∗ Π ∗ C 1 ∗ = λ C 1 ( Π Z Π ∗ ) C 1 ∗ . Since Π Z Π ∗ \Pi Z\Pi^* Π Z Π ∗ simply permutes the diagonal entries of Z Z Z , it is diagonal. A direct computation then shows that U W v U ∗ UW_vU^* U W v U ∗ and W w W_w W w commute.
Conversely, assume U W v U ∗ UW_vU^* U W v U ∗ commutes with W w W_w W w , where v , w ∈ Z d 2 v,w \in\mathbb{Z}_d^2 v , w ∈ Z d 2 are unimodular. We denote W ^ : = U W v U ∗ \widehat{W}:=UW_vU^* W := U W v U ∗ , and we first note some properties of W ^ \widehat{W} W , W v W_v W v , and W w W_w W w . By Lemma 2.8, each of them are related to Z Z Z by similarity transformations (up to some non-zero constant). Now, since Z Z Z has d d d distinct eigenvalues, so does each of W ^ \widehat{W} W , W v W_v W v , and W w W_w W w . Moreover, they are all unitary operators, and hence their eigenspaces corresponding to each distinct eigenvalue are orthogonal and one dimensional. In particular, since W ^ \widehat{W} W and W w W_w W w commute, they are simultaneously diagonalizable, and hence share the same eigenbasis. Let the eigenvalues of W ^ \widehat{W} W (resp. W w W_w W w ) be { β 1 , … , β d } \{\beta_1,\ldots,\beta_d\} { β 1 , … , β d } (resp. { β 1 ′ , … , β d ′ } \{\beta'_1,\ldots,\beta'_d\} { β 1 ′ , … , β d ′ } ). Then, by Lagrange’s interpolation formula, there exists a complex polynomial p p p such that p ( β j ) = β j ′ p(\beta_j)=\beta'_j p ( β j ) = β j ′ , for all 1 ≤ j ≤ d 1\le j\le d 1 ≤ j ≤ d , using the distinctness of the eigenvalues; since the common eigenbasis of W ^ \widehat{W} W and W w W_w W w is orthogonal, this then implies that p ( W ^ ) = W w p(\widehat{W})=W_w p ( W ) = W w . Interchanging the roles of W ^ \widehat{W} W and W v W_v W v , we may also conclude that there exists a complex polynomial q q q such that q ( W v ) = W ^ q(W_v)=\widehat{W} q ( W v ) = W .
Now, let us write L 1 = Z d v L_1=\mathbb{Z}_d v L 1 = Z d v and L 2 = Z d w L_2=\mathbb{Z}_d w L 2 = Z d w ; then from the previous discussion, we immediately get that U A L 1 U ∗ = A L 2 U\mathcal{A}_{L_1}U^*=\mathcal{A}_{L_2} U A L 1 U ∗ = A L 2 . Also, by Lemma 2.8, there exist Clifford gates C 1 , C 2 C_1,C_2 C 1 , C 2 such that C 1 P L 1 C 1 ∗ = P L Z C_1P_{L_1}C_1^*=P_{L_Z} C 1 P L 1 C 1 ∗ = P L Z , and C 2 P L 2 C 2 ∗ = P L Z C_2P_{L_2}C_2^*=P_{L_Z} C 2 P L 2 C 2 ∗ = P L Z . We may then verify that T : = C 2 U C 1 ∗ T:=C_2UC_1^* T := C 2 U C 1 ∗ normalizes A L Z \mathcal{A}_{L_Z} A L Z , that is, T A L Z T ∗ = C 2 U C 1 ∗ A L Z C 1 U ∗ C 2 ∗ = A L Z T\mathcal{A}_{L_Z}T^*=C_2UC_1^*\mathcal{A}_{L_Z}C_1U^*C_2^*=\mathcal{A}_{L_Z} T A L Z T ∗ = C 2 U C 1 ∗ A L Z C 1 U ∗ C 2 ∗ = A L Z ; so, in particular, T Z T ∗ TZT^* T Z T ∗ is diagonal. A direct computation now shows that for every j ∈ Z d j\in\mathbb{Z}_d j ∈ Z d , we have ( T Z T ∗ ) T ∣ j ⟩ = T Z ∣ j ⟩ = ω j T ∣ j ⟩ (TZT^*)T|j\rangle=T Z|j\rangle=\omega^jT|j\rangle ( T Z T ∗ ) T ∣ j ⟩ = T Z ∣ j ⟩ = ω j T ∣ j ⟩ , and thus each T ∣ j ⟩ T|j\rangle T ∣ j ⟩ is an eigenvector of T Z T ∗ TZT^* T Z T ∗ , and all the eigenvalues are distinct. Since T Z T ∗ TZT^* T Z T ∗ is diagonal, we further conclude that T ∣ j ⟩ T|j\rangle T ∣ j ⟩ must lie in the span of a computational basis state, for every j j j . Since the eigenvectors of T Z T ∗ TZT^* T Z T ∗ are orthogonal (by distinctness of the eigenvalues), this implies that T = Π D T=\Pi D T = Π D , for some permutation gate Π \Pi Π and a diagonal unitary D D D . Hence, from the definition of T T T , we get U = C 2 ∗ Π D C 1 ∈ N U=C_2^*\Pi D C_1\in\mathcal{N} U = C 2 ∗ Π D C 1 ∈ N . □ \square □
Remark 2.10. For U ∈ C k U\in\mathcal{C}_k U ∈ C k , from the arguments above, we have U ∈ S C k U\in\mathcal{SC}_k U ∈ SC k if and only if there exists an unimodular v v v such that U W v U ∗ ∈ P UW_vU^*\in\mathcal{P} U W v U ∗ ∈ P . Same holds for N k \mathcal{N}_k N k , that is, for U ∈ C k U\in\mathcal{C}_k U ∈ C k , we have U ∈ N k U\in\mathcal{N}_k U ∈ N k if and only if there exists unimodular elements v v v and w w w such that U W v U ∗ UW_vU^* U W v U ∗ and W w W_w W w commute.
In multi-qubit systems [35 Proposition 5] and prime-dimensional multi-qudit systems [13 Theorem 7] , the normal form U = C 1 D C 2 U=C_1DC_2 U = C 1 D C 2 is equivalent to conjugating some maximal abelian Pauli subgroup onto a maximal abelian Pauli subgroup, that is, U P L U ∗ = P L ^ UP_LU^*=P_{\widehat{L}} U P L U ∗ = P L , for some Lagrangian submodules L , L ^ L,\widehat{L} L , L . This equivalence follows from the transitivity of the Clifford action on the associated Lagrangians, so every maximal abelian Pauli subgroup is conjugated by Clifford gates to the standard Z Z Z -type subgroup. Building on the qubit analysis of [PRTC20], Pauli-support methods in [14 Theorem 5] characterize single-qudit semi-Clifford hierarchy gates in prime dimension by the containment of the Pauli supports of their conjugate pair in parallel lines. These characterizations do not extend automatically to composite dimensions, motivating the formulations in terms of Pauli subgroups and their linear spans introduced below.
Definition 2.7 (Lagrangian semi-Clifford gates). A unitary U ∈ U ( H ) U\in\mathcal{U}(\mathcal{H}) U ∈ U ( H ) is called Lagrangian semi-Clifford (or a Lagrangian semi-Clifford gate ) if there exists a Lagrangian submodule L ⊆ Z d 2 L\subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 such that U P L U ∗ ⊆ P UP_LU^*\subseteq\mathcal{P} U P L U ∗ ⊆ P . We denote the set of Lagrangian semi-Clifford gates by L S C \mathcal{LSC} LSC and set L S C k : = C k ∩ L S C \mathcal{LSC}_k:=\mathcal{C}_k\cap\mathcal{LSC} LSC k := C k ∩ LSC .
As semi-Cliffordness does not cover the full Clifford hierarchy in multi-qudit systems, [35 ] extends semi-Clifford gates to generalized semi-Clifford gates that replace the subgroup conjugation with its linear span analog. For a single qudit in an arbitrary dimension, we formulate both conditions with weaker requirements on the conjugate object (Definition 2.7 and Definition 2.8). At the subgroup level, we require only containment in the Pauli group; at the algebra level, we require only invariance under conjugation by Weyl operators. We show below, in Lemma 2.11, that these conditions already force the image to be a maximal abelian Pauli subgroup or the linear span of such a subgroup, respectively, thereby establishing equivalence with the stronger definition in previous literature (see, for example, [35 , 9 MSD26] ).
Definition 2.8 (Generalized semi-Clifford gates). A unitary U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) is called generalized semi-Clifford (or a generalized semi-Clifford gate ) if there exists a Lagrangian submodule L ⊆ Z d 2 L \subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 such that U A L U ∗ U\mathcal{A}_L U^* U A L U ∗ is invariant under conjugation by every Weyl operator, that is,
W v ( U A L U ∗ ) W v ∗ = U A L U ∗ , ∀ v ∈ Z d 2 . W_v(U\mathcal{A}_L U^*)W_v^* = U\mathcal{A}_L U^*, \qquad\forall v \in\mathbb{Z}_d^2. W v ( U A L U ∗ ) W v ∗ = U A L U ∗ , ∀ v ∈ Z d 2 . We denote the set of generalized semi-Clifford gates by G S C \mathcal{GSC} G SC and set G S C k : = C k ∩ G S C \mathcal{GSC}_k := \mathcal{C}_k \cap\mathcal{GSC} G SC k := C k ∩ G SC .
Lemma 2.11. For U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) , the following criteria hold:
(i) U ∈ L S C U \in\mathcal{LSC} U ∈ LSC if and only if U P L U ∗ = P L ^ U\mathcal{P}_L U^* = \mathcal{P}_{\hat{L}} U P L U ∗ = P L ^ for some Lagrangian submodules L , L ^ L,\hat{L} L , L ^ .
(ii) U ∈ G S C U \in\mathcal{GSC} U ∈ G SC if and only if U A L U ∗ = A L ^ U\mathcal{A}_L U^* = \mathcal{A}_{\hat{L}} U A L U ∗ = A L ^ for some Lagrangian submodules L , L ^ L,\hat{L} L , L ^ .
Proof. For the first equivalence, for some Lagrangian submodules L , L ^ L,\hat{L} L , L ^ , the equality U P L U ∗ = P L ^ U\mathcal{P}_L U^* = \mathcal{P}_{\hat{L}} U P L U ∗ = P L ^ obviously implies U ∈ L S C U \in\mathcal{LSC} U ∈ LSC by definition. Conversely, given U ∈ L S C U \in\mathcal{LSC} U ∈ LSC , there exists a Lagrangian submodule L ⊆ Z d 2 L \subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 , such that U P L U ∗ ⊆ P U\mathcal{P}_L U^* \subseteq\mathcal{P} U P L U ∗ ⊆ P is an abelian Pauli subgroup, and so it equals P L ^ \mathcal{P}_{\hat{L}} P L ^ for some isotropic submodule L ^ \hat{L} L ^ . Since by Lemma 2.4(i) unitary conjugation preserves the cardinality of the quotient of any Pauli subgroup modulo scalar phases, so we have that ∣ L ^ ∣ = ∣ L ∣ = d |\hat{L}| = |L| = d ∣ L ^ ∣ = ∣ L ∣ = d . Lemma 2.1 therefore implies that L ^ \hat{L} L ^ is Lagrangian.
For part (ii), assuming U A L U ∗ = A L ^ U\mathcal{A}_L U^* = \mathcal{A}_{\hat{L}} U A L U ∗ = A L ^ , for some Lagrangian submodules L , L ^ L,\hat{L} L , L ^ , we get U ∈ G S C U \in\mathcal{GSC} U ∈ G SC because every Pauli subalgebra is invariant under conjugation by Weyl operators.
Conversely, we assume U ∈ G S C U \in\mathcal{GSC} U ∈ G SC and let L L L be the Lagrangian submodule that satisfies the definition of G S C \mathcal{GSC} G SC . We write A : = U A L U ∗ \mathcal{A} := U\mathcal{A}_L U^* A := U A L U ∗ . By assumption, A \mathcal{A} A is invariant under conjugation by every Weyl operator, that is, W u T W u ∗ ∈ A W_u T W_u^* \in\mathcal{A} W u T W u ∗ ∈ A , for every T ∈ A T \in\mathcal{A} T ∈ A , and u ∈ Z d 2 u \in\mathbb{Z}_d^2 u ∈ Z d 2 . Fixing such a T T T , we may expand T T T uniquely in the Weyl operator basis to get T = ∑ w ∈ Z d 2 a w W w T = \sum_{w\in\mathbb{Z}_d^2} a_w W_w T = ∑ w ∈ Z d 2 a w W w , with a w ∈ C a_w \in\mathbb{C} a w ∈ C . Now for all v ∈ Z d 2 v \in\mathbb{Z}_d^2 v ∈ Z d 2 , we first claim that if a v ≠ 0 a_v \ne0 a v = 0 , then W v ∈ A W_v \in\mathcal{A} W v ∈ A . Using the expansion of T T T , we have W u T W u ∗ = ∑ w a w ω f ( u , w ) W w W_u T W_u^* = \sum_w a_w \omega^{f(u,w)}W_w W u T W u ∗ = ∑ w a w ω f ( u , w ) W w , for all u ∈ Z d 2 u \in\mathbb{Z}_d^2 u ∈ Z d 2 . Then for any v ′ ∈ Z d 2 v' \in\mathbb{Z}_d^2 v ′ ∈ Z d 2 , we evaluate the average
E v ′ ( T ) : = 1 d 2 ∑ u ∈ Z d 2 ω − f ( u , v ′ ) W u T W u ∗ = ∑ w a w ( 1 d 2 ∑ u ∈ Z d 2 ω f ( u , w − v ′ ) ) W w = a v W v ′ . E_{v'}(T) := \frac{1}{d^2}\sum_{u\in\mathbb{Z}_d^2}\omega^{-f(u,v')}W_uTW_u^* = \sum_w a_w\left(\frac{1}{d^2}\sum_{u\in\mathbb{Z}_d^2}\omega^{f(u,w-v')}\right)W_w = a_vW_{v'}. E v ′ ( T ) := d 2 1 u ∈ Z d 2 ∑ ω − f ( u , v ′ ) W u T W u ∗ = w ∑ a w d 2 1 u ∈ Z d 2 ∑ ω f ( u , w − v ′ ) W w = a v W v ′ .
Since W u T W u ∗ ∈ A W_uTW_u^* \in\mathcal{A} W u T W u ∗ ∈ A for every u ∈ Z d 2 u \in\mathbb{Z}_d^2 u ∈ Z d 2 , we conclude E v ′ ( T ) = a v W v ′ ∈ A E_{v'}(T) = a_vW_{v'} \in\mathcal{A} E v ′ ( T ) = a v W v ′ ∈ A , and this proves the claim.
The above claim shows that A \mathcal{A} A contains at least one W u W_u W u , for some u ∈ Z d 2 u \in\mathbb{Z}_d^2 u ∈ Z d 2 ; thus if we define L ^ : = { v ∈ Z d 2 : W v ∈ A } \hat{L} := \{v \in\mathbb{Z}_d^2 : W_v \in\mathcal{A}\} L ^ := { v ∈ Z d 2 : W v ∈ A } , then we know that it is non-empty. Clearly, from definition, we have A L ^ ⊆ A \mathcal{A}_{\hat{L}} \subseteq\mathcal{A} A L ^ ⊆ A . From the proof of the claim above, we also see that if T = ∑ w ∈ Z d 2 a w W w ∈ A T = \sum_{w\in\mathbb{Z}_d^2}a_wW_w \in\mathcal{A} T = ∑ w ∈ Z d 2 a w W w ∈ A , then W v ∈ A L ^ W_v \in\mathcal{A}_{\hat{L}} W v ∈ A L ^ whenever a v ≠ 0 a_v \ne0 a v = 0 , which implies that T ∈ A L ^ T \in\mathcal{A}_{\hat{L}} T ∈ A L ^ . This shows A ⊆ A L ^ \mathcal{A} \subseteq\mathcal{A}_{\hat{L}} A ⊆ A L ^ , proving A L ^ = A \mathcal{A}_{\hat{L}} = \mathcal{A} A L ^ = A . It remains to show that L ^ \hat{L} L ^ is Lagrangian. Since A L \mathcal{A}_L A L is a maximal abelian subalgebra, it follows that U A L U ∗ = A = A L ^ U\mathcal{A}_L U^* = \mathcal{A} = \mathcal{A}_{\hat{L}} U A L U ∗ = A = A L ^ is also a maximal abelian subalgebra, by Lemma 2.4(ii). But A L ^ \mathcal{A}_{\hat{L}} A L ^ is also a Pauli subalgebra, and so it is in fact a maximal abelian Pauli subalgebra, and hence L ^ \hat{L} L ^ is Lagrangian. □
Remark 2.12. In either case, L ^ \hat{L} L ^ is uniquely determined by U U U and L L L , since linear independence of Weyl operators implies both L ↦ P L L \mapsto\mathcal{P}_L L ↦ P L and L ↦ A L L \mapsto\mathcal{A}_L L ↦ A L are injective.
Same as the Clifford hierarchy, each of the four sequences ( S C k ) k ≥ 1 (\mathcal{SC}_k)_{k\geq1} ( SC k ) k ≥ 1 , ( N k ) k ≥ 1 (\mathcal{N}_k)_{k\geq1} ( N k ) k ≥ 1 , ( L S C k ) k ≥ 1 (\mathcal{LSC}_k)_{k\geq1} ( LSC k ) k ≥ 1 , and ( G S C k ) k ≥ 1 (\mathcal{GSC}_k)_{k\geq1} ( G SC k ) k ≥ 1 is strictly increasing. The inclusions follow from the definitions and the nesting of the Clifford hierarchy. Strictness is shown in Appendix A.
Moreover, the four types of gates, S C \mathcal{SC} SC , L S C \mathcal{LSC} LSC , G S C \mathcal{GSC} G SC , and N \mathcal{N} N , have interesting properties beyond those as merely hierarchy gates. For example, we exhibit an element in all these four classes that is not necessarily in any finite level of the Clifford hierarchy, and hence not in ( S C k ) k ≥ 1 (\mathcal{SC}_k)_{k\geq1} ( SC k ) k ≥ 1 , ( N k ) k ≥ 1 (\mathcal{N}_k)_{k\geq1} ( N k ) k ≥ 1 , ( L S C k ) k ≥ 1 (LSC_k)_{k\geq1} ( L S C k ) k ≥ 1 , or ( G S C k ) k ≥ 1 (GSC_k)_{k\geq1} ( GS C k ) k ≥ 1 , for any k k k . Already for a single qubit, consider D θ = diag ( 1 , e i θ ) D_\theta=\operatorname{diag}(1,e^{i\theta}) D θ = diag ( 1 , e i θ ) , where θ / π ∉ Q \theta/\pi\notin\mathbb{Q} θ / π ∈ / Q . Since D θ D_\theta D θ commutes with Z Z Z , it fixes every element of the Lagrangian Pauli subgroup P L Z P_{L_Z} P L Z under conjugation, where L Z = Z d ( 0 , 1 ) ⊤ L_Z=\mathbb{Z}_d(0,1)^\top L Z = Z d ( 0 , 1 ) ⊤ . Thus D θ P L Z D θ ∗ = P L Z D_\theta P_{L_Z}D_\theta^*=P_{L_Z} D θ P L Z D θ ∗ = P L Z , so D θ ∈ L S C D_\theta\in LSC D θ ∈ L S C . On the other hand, the identity D θ X D θ ∗ = e i θ X D − 2 θ D_\theta X D_\theta^*=e^{i\theta}XD_{-2\theta} D θ X D θ ∗ = e i θ X D − 2 θ , together with the recursive definition of the hierarchy, gives D θ ∈ C k D_\theta\in C_k D θ ∈ C k if and only if θ ∈ π 2 k − 1 Z \theta\in\frac{\pi}{2^{k-1}}\mathbb{Z} θ ∈ 2 k − 1 π Z (mod 2 π 2\pi 2 π ), for k ≥ 1 k\geq1 k ≥ 1 . Consequently, D θ D_\theta D θ lies outside every finite hierarchy level. This is the single qubit instance of the restriction to dyadic rational multiples of π \pi π in Anderson’s normal form for semi-Clifford gates belonging to the hierarchy [5 Section 3] .
In Figure 1 , we get two separate pictures for the four types of gates in multi-qubit or single-qudit of square-free dimensions, and a single qudit of dimension that is not square-free. Previously, for all k ∈ N k\in\mathbb{N} k ∈ N , in the multi-qubit setting, it was known that S C k = L S C k SC_k=LSC_k S C k = L S C k and G S C k = N k GSC_k=\mathcal{N}_k GS C k = N k [35 Proposition 1, 2] ; while in the multi-qudit setting with d d d prime, it was known that S C k = L S C k SC_k=LSC_k S C k = L S C k [13 Theorem 7] . More generally, the same equalities holds for a single qudit when d d d is square-free, as we will show in Theorem 3.5 . On the contrary, when d d d is not square-free, there exist non-free Lagrangian submodules of Z d 2 \mathbb{Z}_d^2 Z d 2 . Since the symplectic action preserves freeness of the Lagrangian submodules (Lemma 2.2), these cannot be carried to the standard free Lagrangian through conjugation by Clifford gates. Consequently, the subgroup and algebra conditions defining L S C LSC L S C and G S C GSC GS C need not yield the normal forms defining S C SC S C and N \mathcal{N} N .
Corollary 2.13. For every dimension d ∈ N d\in\mathbb{N} d ∈ N , we have S C ⊆ L S C ∩ N SC\subseteq LSC\cap\mathcal{N} S C ⊆ L S C ∩ N and L S C ∪ N ⊆ G S C LSC\cup\mathcal{N}\subseteq GSC L S C ∪ N ⊆ GS C . All four classes are closed under adjoints and left and right Clifford multiplication. Their intersections with C k C_k C k are invariant under left and right multiplication by Clifford gates, for all k ≥ 2 k\geq2 k ≥ 2 .
Proof. The inclusions are obvious from their definitions, Lemma 2.9 , and Lemma 2.5. Adjoints and Clifford multiplication (both left and right) preserve both normal forms S C SC S C and N \mathcal{N} N . For the other two classes L S C LSC L S C and G S C GSC GS C , Lemma 2.11 proves closure under adjoints. For U ∈ L S C U\in LSC U ∈ L S C , we want to show that C 1 U C 2 ∈ L S C C_1UC_2\in LSC C 1 U C 2 ∈ L S C for C 1 , C 2 ∈ C 2 C_1,C_2\in C_2 C 1 , C 2 ∈ C 2 . By Lemma 2.11 , there exist Lagrangian submodules L , L ^ ⊆ Z d 2 L,\hat{L}\subseteq\mathbb{Z}_d^2 L , L ^ ⊆ Z d 2 such that U P L U ∗ = P L ^ UP_LU^*=P_{\hat{L}} U P L U ∗ = P L ^ . Now let S 1 S_1 S 1 , S 2 S_2 S 2 be the symplectic representatives of C 1 , C 2 C_1,C_2 C 1 , C 2 respectively. Then ( C 1 U C 2 ) P S 2 − 1 ( L ) ( C 1 U C 2 ) ∗ = P S 1 ( L ^ ) (C_1UC_2)P_{S_2^{-1}(L)}(C_1UC_2)^*=P_{S_1(\hat{L})} ( C 1 U C 2 ) P S 2 − 1 ( L ) ( C 1 U C 2 ) ∗ = P S 1 ( L ^ ) , proving C 1 U C 2 ∈ L S C C_1UC_2\in LSC C 1 U C 2 ∈ L S C . Similarly, for U ∈ G S C U\in GSC U ∈ GS C , we get ( C 1 U C 2 ) A S 2 − 1 ( L ) ( C 1 U C 2 ) ∗ = A S 1 ( L ^ ) (C_1UC_2)\mathcal{A}_{S_2^{-1}(L)}(C_1UC_2)^*=\mathcal{A}_{S_1(\hat{L})} ( C 1 U C 2 ) A S 2 − 1 ( L ) ( C 1 U C 2 ) ∗ = A S 1 ( L ^ ) . This gives invariance under right and left multiplication by Clifford gates of G S C GSC GS C .
Hierarchy gates are semi-Clifford when d d d is square-free
We recall prime-power factorization, that is, d = ∏ j = 1 s q j d=\prod_{j=1}^{s}q_j d = ∏ j = 1 s q j , where q j = p j α j q_j=p_j^{\alpha_j} q j = p j α j , for 1 ≤ j ≤ s 1\leq j\leq s 1 ≤ j ≤ s and the integers q 1 , … , q s q_1,\ldots,q_s q 1 , … , q s are pairwise coprime. For each 1 ≤ j ≤ s 1\leq j\leq s 1 ≤ j ≤ s , we define its corresponding ring, Hilbert space, and phase as Z q j : = Z / q j Z \mathbb{Z}_{q_j}:=\mathbb{Z}/q_j\mathbb{Z} Z q j := Z / q j Z , H j : = C q j \mathcal{H}_j:=\mathbb{C}^{q_j} H j := C q j , and ω j : = e 2 π i / q j \omega_j:=e^{2\pi i/q_j} ω j := e 2 π i / q j respectively.
We use the Chinese remainder theorem (CRT) to reduce the study of hierarchy gates to prime-power dimensions. For any decomposition d = ∏ j = 1 s q j d = \prod_{j=1}^{s} q_j d = ∏ j = 1 s q j into pairwise coprime factors, the associated CRT unitary transforms every d d d -dimensional hierarchy gate into a tensor product of hierarchy gates on the individual factors. When d d d is square-free, the known prime-dimensional semi-Clifford theorem [35 , 14 ] then applies to each factor. Finally, we use the CRT decomposition of Lagrangians to establish S C = L S C \mathcal{SC} = \mathcal{LSC} SC = LSC and G S C = N \mathcal{GSC} = \mathcal{N} G SC = N for arbitrary unitaries in square-free dimensions.
CRT factorization
We recall that CRT gives a ring isomorphism ϕ : Z d ⟶ ∏ j = 1 s Z q j \phi: \mathbb{Z}_d \longrightarrow\prod_{j=1}^{s} \mathbb{Z}_{q_j} ϕ : Z d ⟶ ∏ j = 1 s Z q j , defined by ϕ ( x ) : = ( x m o d q 1 , … , x m o d q s ) \phi(x) := (x \bmod q_1, \ldots, x \bmod q_s) ϕ ( x ) := ( x mod q 1 , … , x mod q s ) . We define q ^ j : = d / q j \widehat{q}_j := d/q_j q j := d / q j , r j : = q ^ j − 1 ( m o d q j ) r_j := \widehat{q}_j^{-1} \pmod{q_j} r j := q j − 1 ( mod q j ) , and e j : = r j q ^ j ( m o d d ) e_j := r_j\widehat{q}_j \pmod d e j := r j q j ( mod d ) . Indeed, e j ≡ 1 ( m o d q j ) e_j \equiv1 \pmod{q_j} e j ≡ 1 ( mod q j ) , and e j ≡ 0 ( m o d q k ) e_j \equiv0 \pmod{q_k} e j ≡ 0 ( mod q k ) ( k ≠ j ) (k \ne j) ( k = j ) . So the inverse of ϕ \phi ϕ is ϕ − 1 ( x 1 , … , x s ) = ∑ j = 1 s x j e j ( m o d d ) \phi^{-1}(x_1,\ldots,x_s) = \sum_{j=1}^{s}x_je_j \pmod d ϕ − 1 ( x 1 , … , x s ) = ∑ j = 1 s x j e j ( mod d ) . Thus this identification induces the unitary Γ ∣ x ⟩ : = ∣ ϕ ( x ) ⟩ = ⨂ j = 1 s ∣ x m o d q j ⟩ \Gamma\lvert x\rangle:= \lvert\phi(x)\rangle= \bigotimes_{j=1}^{s}\lvert x \bmod q_j\rangle Γ ∣ x ⟩ := ∣ ϕ ( x )⟩ = ⨂ j = 1 s ∣ x mod q j ⟩ .
Let X j , Z j X_j,Z_j X j , Z j denote the standard Weyl generators on H j \mathcal{H}_j H j . The factorization for Pauli groups is standard (see, for example, Looi and Griffiths [27 Sec. II.D, Thm. 4 and App. A, Eqs. (A4)–(A6)] ). For x ∈ Z d x \in\mathbb{Z}_d x ∈ Z d , write x j : = x ( m o d q j ) ∈ Z q j x_j := x \pmod{q_j} \in\mathbb{Z}_{q_j} x j := x ( mod q j ) ∈ Z q j . Then Γ ∣ x ⟩ = ∣ x 1 ⟩ ⊗ ⋯ ⊗ ∣ x s ⟩ \Gamma\lvert x\rangle= \lvert x_1\rangle\otimes\cdots\otimes\lvert x_s\rangle Γ ∣ x ⟩ = ∣ x 1 ⟩ ⊗ ⋯ ⊗ ∣ x s ⟩ . Since addition by 1 1 1 modulo d d d becomes addition by 1 1 1 in each CRT coordinate, we get Γ X ∣ x ⟩ = ∣ x 1 + 1 ⟩ ⊗ ⋯ ⊗ ∣ x s + 1 ⟩ = ( ⨂ j = 1 s X j ) Γ ∣ x ⟩ \Gamma X\lvert x\rangle= \lvert x_1+1\rangle\otimes\cdots\otimes\lvert x_s+1\rangle= \left(\bigotimes_{j=1}^{s}X_j\right)\Gamma\lvert x\rangle Γ X ∣ x ⟩ = ∣ x 1 + 1 ⟩ ⊗ ⋯ ⊗ ∣ x s + 1 ⟩ = ( ⨂ j = 1 s X j ) Γ ∣ x ⟩ . Hence Γ X Γ ∗ = ⨂ j = 1 s X j \Gamma X\Gamma^{*} = \bigotimes_{j=1}^{s}X_j Γ X Γ ∗ = ⨂ j = 1 s X j . For Z Z Z , since we can write x = ∑ j = 1 s x j e j x = \sum_{j=1}^{s}x_je_j x = ∑ j = 1 s x j e j in Z d \mathbb{Z}_d Z d , we get ω x = ∏ j = 1 s exp ( 2 π i q j r j x j ) = ∏ j = 1 s ω j r j x j \omega^x = \prod_{j=1}^{s}\exp\left(\frac{2\pi i}{q_j}r_jx_j\right) = \prod_{j=1}^{s}\omega_j^{r_jx_j} ω x = ∏ j = 1 s exp ( q j 2 π i r j x j ) = ∏ j = 1 s ω j r j x j . Thus Γ Z Γ ∗ = ⨂ j = 1 s Z j r j \Gamma Z\Gamma^{*} = \bigotimes_{j=1}^{s}Z_j^{r_j} Γ Z Γ ∗ = ⨂ j = 1 s Z j r j . Moreover, Γ X a Z b Γ ∗ = ( Γ X Γ ∗ ) a ( Γ Z Γ ∗ ) b = ⨂ j = 1 s X j a Z j r j b \Gamma X^aZ^b\Gamma^{*} = (\Gamma X\Gamma^{*})^a(\Gamma Z\Gamma^{*})^b = \bigotimes_{j=1}^{s}X_j^aZ_j^{r_jb} Γ X a Z b Γ ∗ = ( Γ X Γ ∗ ) a ( Γ Z Γ ∗ ) b = ⨂ j = 1 s X j a Z j r j b . We define Θ : Z d 2 ⟶ ∏ j = 1 s Z q j 2 \Theta: \mathbb{Z}_d^2 \longrightarrow\prod_{j=1}^{s}\mathbb{Z}_{q_j}^2 Θ : Z d 2 ⟶ ∏ j = 1 s Z q j 2 by Θ ( a , b ) T : = ( ( a m o d q j , r j b m o d q j ) ) j = 1 s \Theta(a,b)^{\mathsf{T}} := ((a \bmod q_j, r_jb \bmod q_j))_{j=1}^{s} Θ ( a , b ) T := (( a mod q j , r j b mod q j ) ) j = 1 s . Then the following Lemma is the phase-space counterpart of the decomposition on stabilizer groups; see [27 Corollary 5] .
Lemma 3.1. Let L ⊆ Z d 2 L \subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 be a submodule and we define L j : = pr j ( Θ ( L ) ) ⊆ Z q j 2 L_j := \operatorname{pr}_j(\Theta(L)) \subseteq\mathbb{Z}_{q_j}^2 L j := pr j ( Θ ( L )) ⊆ Z q j 2 for 1 ≤ j ≤ s 1 \le j \le s 1 ≤ j ≤ s . Then Θ ( L ) = ∏ j = 1 s L j \Theta(L) = \prod_{j=1}^{s}L_j Θ ( L ) = ∏ j = 1 s L j and Θ ( L ⊥ ) = ∏ j = 1 s L j ⊥ \Theta(L^\perp) = \prod_{j=1}^{s}L_j^\perp Θ ( L ⊥ ) = ∏ j = 1 s L j ⊥ . In particular, L L L is Lagrangian in Z d 2 \mathbb{Z}_d^2 Z d 2 if and only if every L j L_j L j is Lagrangian in Z q j 2 \mathbb{Z}_{q_j}^2 Z q j 2 .
Proof. The inclusion Θ ( L ) ⊆ ∏ j L j \Theta(L) \subseteq\prod_j L_j Θ ( L ) ⊆ ∏ j L j is obvious, because by definition, every element of Θ ( L ) \Theta(L) Θ ( L ) has its j j j th component in L j L_j L j . To prove ∏ j L j ⊆ Θ ( L ) \prod_j L_j \subseteq\Theta(L) ∏ j L j ⊆ Θ ( L ) , we recall q ^ j : = d / q j \widehat{q}_j := d/q_j q j := d / q j , r j : = q ^ j − 1 ( m o d q j ) r_j := \widehat{q}_j^{-1} \pmod{q_j} r j := q j − 1 ( mod q j ) , and e j : = r j q ^ j ( m o d d ) e_j := r_j\widehat{q}_j \pmod d e j := r j q j ( mod d ) . For v ∈ L v \in L v ∈ L , since L L L is a submodule, we know e j v e_jv e j v is in L L L . As e j ≡ 1 ( m o d q j ) e_j \equiv1 \pmod{q_j} e j ≡ 1 ( mod q j ) and e j ≡ 0 ( m o d q k ) e_j \equiv0 \pmod{q_k} e j ≡ 0 ( mod q k ) ( k ≠ j ) (k \ne j) ( k = j ) , we get Θ ( e j v ) = ( 0 , … , 0 , Θ j ( v ) , 0 , … , 0 ) \Theta(e_jv) = (0,\ldots,0,\Theta_j(v),0,\ldots,0) Θ ( e j v ) = ( 0 , … , 0 , Θ j ( v ) , 0 , … , 0 ) , that is, multiplication by e j e_j e j selects the j j j th CRT component of a submodule. Now choose any ( x 1 , … , x s ) ∈ ∏ j L j (x_1,\ldots,x_s) \in\prod_j L_j ( x 1 , … , x s ) ∈ ∏ j L j . For each j j j , by the definition of L j L_j L j , there exist some v ( j ) ∈ L v^{(j)} \in L v ( j ) ∈ L such that Θ j ( v ( j ) ) = x j \Theta_j(v^{(j)}) = x_j Θ j ( v ( j ) ) = x j . Then we define v : = ∑ j e j v ( j ) ∈ L v := \sum_j e_jv^{(j)} \in L v := ∑ j e j v ( j ) ∈ L , and then Θ ( v ) = ( x 1 , … , x s ) \Theta(v) = (x_1,\ldots,x_s) Θ ( v ) = ( x 1 , … , x s ) . This proves the reverse inclusion. We next prove the equivalence. We note that [ Θ j ( v ) , Θ j ( w ) ] = r j [ v , w ] m o d q j [\Theta_j(v),\Theta_j(w)] = r_j[v,w] \bmod q_j [ Θ j ( v ) , Θ j ( w )] = r j [ v , w ] mod q j . As each r j r_j r j is a unit, the vanishing of all [ v , w ] m o d q j [v,w] \bmod q_j [ v , w ] mod q j is equivalent to the vanishing of [ Θ j ( v ) , Θ j ( w ) ] [\Theta_j(v),\Theta_j(w)] [ Θ j ( v ) , Θ j ( w )] . Therefore, we conclude that the statement is true. □ \square □
Since Γ \Gamma Γ maps Weyl operators to the tensor product and Pauli subalgebras are their complex linear spans, the factorization of Lagrangians immediately yields the corresponding factorization of Pauli subalgebras, Γ A L Γ ∗ = ⨂ j = 1 s A L j \Gamma\mathcal{A}_L\Gamma^{*} = \bigotimes_{j=1}^{s}\mathcal{A}_{L_j} Γ A L Γ ∗ = ⨂ j = 1 s A L j , which will be used in Section 5. Meanwhile, it specializes in the known factorization of the Clifford group [1 App. B, Eqs. (127)–(131)] . In the following, we will prove that this factorization extends to the entire Clifford hierarchy. Before that, we should recall the notations and facts we use in the proof. The unsuffixed symbols refer to the ambient space H \mathcal{H} H , while we denote P ( q j ) \mathcal{P}(q_j) P ( q j ) , C ( q j ) \mathcal{C}(q_j) C ( q j ) , and D ( q j ) \mathcal{D}(q_j) D ( q j ) to be the Pauli group, the k k k th Clifford hierarchy, and its diagonal sector on H j \mathcal{H}_j H j , respectively. Besides, the proof uses two standard facts. First, the factors of a nonzero decomposable tensor are unique up to nonzero scalar rescalings whose product is one [32 pp. 291–314] . The second one is that every automorphism of a full matrix algebra is inner by the Skolem–Noether theorem [29 pp. 218–233] .
Lemma 3.2 (CRT factorization of the hierarchy). For every k ∈ N k \in\mathbb{N} k ∈ N ,
Γ C k Γ ∗ = { ⨂ j = 1 s U j : U j ∈ C k ( q j ) } . \Gamma C_k \Gamma^* = \left\{ \bigotimes_{j=1}^{s} U_j : U_j \in C_k(q_j) \right\}. Γ C k Γ ∗ = { j = 1 ⨂ s U j : U j ∈ C k ( q j ) } . Proof. The proof proceeds by induction on the hierarchy level k k k . For k = 1 k=1 k = 1 , since Γ X a Z b Γ ∗ = ⨂ j = 1 s X j a j Z j r j b j \Gamma X^a Z^b \Gamma^* = \bigotimes_{j=1}^{s} X_j^{a_j} Z_j^{r_j b_j} Γ X a Z b Γ ∗ = ⨂ j = 1 s X j a j Z j r j b j , where r j = q ^ − 1 ( m o d q j ) r_j = \hat{q}^{-1} \pmod{q_j} r j = q ^ − 1 ( mod q j ) for each j j j . Since every r j r_j r j is invertible, we conclude
Γ P ( d ) Γ ∗ = { ⨂ j = 1 s P j : P j ∈ P ( q j ) } . \Gamma\mathcal{P}(d) \Gamma^* = \left\{ \bigotimes_{j=1}^{s} P_j : P_j \in\mathcal{P}(q_j) \right\}. Γ P ( d ) Γ ∗ = { j = 1 ⨂ s P j : P j ∈ P ( q j ) } . Assume the theorem holds for k − 1 k-1 k − 1 for k ≥ 2 k \geq2 k ≥ 2 . First we prove the “⊇ \supseteq ⊇ ” direction. Let U : = ⨂ j = 1 s U j U := \bigotimes_{j=1}^{s} U_j U := ⨂ j = 1 s U j , where U j ∈ C k ( q j ) U_j \in C_k(q_j) U j ∈ C k ( q j ) . It suffices to show that Γ ∗ U Γ ∈ C k \Gamma^* U \Gamma\in C_k Γ ∗ U Γ ∈ C k . For any Weyl operator W ∈ P W \in\mathcal{P} W ∈ P , k = 1 k=1 k = 1 case gives Γ W Γ ∗ = ⨂ j = 1 s W j \Gamma W \Gamma^* = \bigotimes_{j=1}^{s} W_j Γ W Γ ∗ = ⨂ j = 1 s W j where W j ∈ P ( q j ) W_j \in\mathcal{P}(q_j) W j ∈ P ( q j ) . Hence U ( Γ W Γ ∗ ) U ∗ = ⨂ j = 1 s U j W j U j ∗ ∈ ⨂ j = 1 s C k − 1 ( q j ) U(\Gamma W \Gamma^*)U^* = \bigotimes_{j=1}^{s} U_j W_j U_j^* \in\bigotimes_{j=1}^{s} C_{k-1}(q_j) U ( Γ W Γ ∗ ) U ∗ = ⨂ j = 1 s U j W j U j ∗ ∈ ⨂ j = 1 s C k − 1 ( q j ) . By the inductive hypothesis, the last tensor product lies in Γ C k − 1 Γ ∗ \Gamma C_{k-1}\Gamma^* Γ C k − 1 Γ ∗ , so ( Γ ∗ U Γ ) W ( Γ ∗ U Γ ) ∗ ∈ C k − 1 (\Gamma^* U \Gamma)W(\Gamma^* U \Gamma)^* \in C_{k-1} ( Γ ∗ U Γ ) W ( Γ ∗ U Γ ) ∗ ∈ C k − 1 . Therefore, Γ ∗ U Γ ∈ C k \Gamma^* U \Gamma\in C_k Γ ∗ U Γ ∈ C k , which is equivalent to U ∈ Γ C k Γ ∗ U \in\Gamma C_k \Gamma^* U ∈ Γ C k Γ ∗ .
Now to prove the other direction, consider U ∈ C k U \in C_k U ∈ C k and define V : = Γ U Γ ∗ ∈ U ( ⨂ j = 1 s H j ) V := \Gamma U \Gamma^* \in U\left(\bigotimes_{j=1}^{s} \mathcal{H}_j\right) V := Γ U Γ ∗ ∈ U ( ⨂ j = 1 s H j ) . Denote the embedded local generators on ⨂ j = 1 s H j \bigotimes_{j=1}^{s} \mathcal{H}_j ⨂ j = 1 s H j as X ~ j : = I H 1 ⊗ ⋯ ⊗ I H j − 1 ⊗ X j ⊗ I H j + 1 ⊗ ⋯ ⊗ I H s \widetilde{X}_j := I_{\mathcal{H}_1} \otimes\cdots\otimes I_{\mathcal{H}_{j-1}} \otimes X_j \otimes I_{\mathcal{H}_{j+1}} \otimes\cdots\otimes I_{\mathcal{H}_s} X j := I H 1 ⊗ ⋯ ⊗ I H j − 1 ⊗ X j ⊗ I H j + 1 ⊗ ⋯ ⊗ I H s and Z ~ j : = I H 1 ⊗ ⋯ ⊗ I H j − 1 ⊗ Z j ⊗ I H j + 1 ⊗ ⋯ ⊗ I H s \widetilde{Z}_j := I_{\mathcal{H}_1} \otimes\cdots\otimes I_{\mathcal{H}_{j-1}} \otimes Z_j \otimes I_{\mathcal{H}_{j+1}} \otimes\cdots\otimes I_{\mathcal{H}_s} Z j := I H 1 ⊗ ⋯ ⊗ I H j − 1 ⊗ Z j ⊗ I H j + 1 ⊗ ⋯ ⊗ I H s with the corresponding pullbacks in P \mathcal{P} P as X ( j ) : = Γ ∗ X ~ j Γ X^{(j)} := \Gamma^* \widetilde{X}_j \Gamma X ( j ) := Γ ∗ X j Γ and Z ( j ) : = Γ ∗ Z ~ j Γ Z^{(j)} := \Gamma^* \widetilde{Z}_j \Gamma Z ( j ) := Γ ∗ Z j Γ . By k = 1 k=1 k = 1 case, both X ( j ) X^{(j)} X ( j ) and Z ( j ) Z^{(j)} Z ( j ) lie in P \mathcal{P} P . Now, consider conjugating X ~ j \widetilde{X}_j X j and Z ~ j \widetilde{Z}_j Z j by V V V , we get A j : = V X ~ j V ∗ = Γ U X ( j ) U ∗ Γ ∗ A_j := V\widetilde{X}_jV^* = \Gamma U X^{(j)} U^* \Gamma^* A j := V X j V ∗ = Γ U X ( j ) U ∗ Γ ∗ and B j : = V Z ~ j V ∗ = Γ U Z ( j ) U ∗ Γ ∗ B_j := V\widetilde{Z}_jV^* = \Gamma U Z^{(j)} U^* \Gamma^* B j := V Z j V ∗ = Γ U Z ( j ) U ∗ Γ ∗ ; as U U U is in the k k k -th level, both lie in Γ C k − 1 Γ ∗ \Gamma C_{k-1}\Gamma^* Γ C k − 1 Γ ∗ . By the inductive hypothesis, A j A_j A j and B j B_j B j factorize completely into local tensor components, that is, A j = ⨂ l = 1 s A j l A_j = \bigotimes_{l=1}^{s} A_{jl} A j = ⨂ l = 1 s A j l and B j = ⨂ l = 1 s B j l B_j = \bigotimes_{l=1}^{s} B_{jl} B j = ⨂ l = 1 s B j l , where A j l , B j l ∈ C k − 1 ( q l ) A_{jl}, B_{jl} \in C_{k-1}(q_l) A j l , B j l ∈ C k − 1 ( q l ) .
We now fix j j j and next want to show that A j j A_{jj} A j j and B j j B_{jj} B j j satisfy the Weyl commutation relation with phase ω j \omega_j ω j , and hence generate the full local matrix algebra B ( H j ) \mathcal{B}(\mathcal{H}_j) B ( H j ) . We know that Z ~ j X ~ j = ω j X ~ j Z ~ j \widetilde{Z}_j\widetilde{X}_j = \omega_j \widetilde{X}_j\widetilde{Z}_j Z j X j = ω j X j Z j . Since this relation must be preserved by A j A_j A j and B j B_j B j , there exist λ j l ∈ T \lambda_{jl} \in\mathbb{T} λ j l ∈ T such that B j l A j l = λ j l A j l B j l B_{jl}A_{jl} = \lambda_{jl}A_{jl}B_{jl} B j l A j l = λ j l A j l B j l for all l l l with ∏ l = 1 s λ j l = ω j \prod_{l=1}^{s}\lambda_{jl} = \omega_j ∏ l = 1 s λ j l = ω j . Meanwhile, as det ( B j l ) det ( A j l ) = λ j l q l det ( A j l ) det ( B j l ) \det(B_{jl})\det(A_{jl}) = \lambda_{jl}^{q_l}\det(A_{jl})\det(B_{jl}) det ( B j l ) det ( A j l ) = λ j l q l det ( A j l ) det ( B j l ) , we have λ j l q l = 1 \lambda_{jl}^{q_l} = 1 λ j l q l = 1 . Since λ j ℓ q ℓ = 1 \lambda_{j\ell}^{q_\ell} = 1 λ j ℓ q ℓ = 1 and ∏ ℓ λ j ℓ = ω j \prod_{\ell}\lambda_{j\ell} = \omega_j ∏ ℓ λ j ℓ = ω j , whose order divides q j q_j q j , coprimality forces λ j j = ω j \lambda_{jj} = \omega_j λ j j = ω j and λ j ℓ = 1 \lambda_{j\ell} = 1 λ j ℓ = 1 for ℓ ≠ j \ell\ne j ℓ = j . Thus by (i) of Lemma 2.6, B j j A j j = ω j A j j B j j B_{jj}A_{jj} = \omega_j A_{jj}B_{jj} B j j A j j = ω j A j j B j j implies A j j A_{jj} A j j and B j j B_{jj} B j j generate the entire local matrix algebra B ( H j ) \mathcal{B}(\mathcal{H}_j) B ( H j ) .
We now want to show that the factors A j ℓ A_{j\ell} A j ℓ and B j ℓ B_{j\ell} B j ℓ are scalar multiples of the identity whenever ℓ ≠ j \ell\ne j ℓ = j . Consider X ~ j , Z ~ j , X ~ r , Z ~ r \widetilde{X}_j,\widetilde{Z}_j,\widetilde{X}_r,\widetilde{Z}_r X j , Z j , X r , Z r for r ≠ j r \ne j r = j . The corresponding A j , B j , A r , B r A_j,B_j,A_r,B_r A j , B j , A r , B r commutes accordingly. Since A j A r = A r A j A_jA_r = A_rA_j A j A r = A r A j , equating the tensor components yields A j ℓ A r ℓ = μ ℓ A r ℓ A j ℓ A_{j\ell}A_{r\ell} = \mu_\ell A_{r\ell}A_{j\ell} A j ℓ A r ℓ = μ ℓ A r ℓ A j ℓ , and ∏ ℓ μ ℓ = 1 \prod_\ell\mu_\ell= 1 ∏ ℓ μ ℓ = 1 . Taking determinants gives μ ℓ q ℓ = 1 \mu_\ell^{q_\ell} = 1 μ ℓ q ℓ = 1 ; then again the coprime argument implies every μ ℓ = 1 \mu_\ell= 1 μ ℓ = 1 . The same argument is required for A j B r A_jB_r A j B r , B j A r B_jA_r B j A r , and B j B r B_jB_r B j B r . So after taking l = j l=j l = j , we find that for every r ≠ j r \ne j r = j , A r j A_{rj} A r j and B r j B_{rj} B r j commute with both A j j A_{jj} A j j and B j j B_{jj} B j j . Since A j j , B j j A_{jj},B_{jj} A j j , B j j form a conjugate pair on H j \mathcal{H}_j H j , and the commutant of { A j j , B j j } \{A_{jj},B_{jj}\} { A j j , B j j } in B ( H j ) \mathcal{B}(\mathcal{H}_j) B ( H j ) consists only of scalars. Thus A r j A_{rj} A r j and B r j B_{rj} B r j are scalar whenever r ≠ j r \ne j r = j , and then we absorb their products into the j j j -th component, after which A j j A_{jj} A j j and B j j B_{jj} B j j are renamed. Therefore A j = I ⊗ ⋯ ⊗ A j j ⊗ ⋯ ⊗ I A_j = I \otimes\cdots\otimes A_{jj} \otimes\cdots\otimes I A j = I ⊗ ⋯ ⊗ A j j ⊗ ⋯ ⊗ I , and B j = I ⊗ ⋯ ⊗ B j j ⊗ ⋯ ⊗ I B_j = I \otimes\cdots\otimes B_{jj} \otimes\cdots\otimes I B j = I ⊗ ⋯ ⊗ B j j ⊗ ⋯ ⊗ I . Since X ~ j = Z ~ j = I \widetilde{X}_j = \widetilde{Z}_j = I X j = Z j = I , conjugation by V V V gives A j j q j = B j j q j = I A_{jj}^{q_j} = B_{jj}^{q_j} = I A j j q j = B j j q j = I . Together with B j j A j j = ω j A j j B j j B_{jj}A_{jj} = \omega_j A_{jj}B_{jj} B j j A j j = ω j A j j B j j , this shows that V V V is a conjugate pair on H j \mathcal{H}_j H j . By Lemma 2.6(ii), there exists V j ∈ U ( H j ) V_j \in U(\mathcal{H}_j) V j ∈ U ( H j ) such that V j X j V j ∗ = A j j V_jX_jV_j^* = A_{jj} V j X j V j ∗ = A j j and V j Z j V j ∗ = B j j V_jZ_jV_j^* = B_{jj} V j Z j V j ∗ = B j j . Set W : = ⨂ j = 1 s V j W := \bigotimes_{j=1}^{s} V_j W := ⨂ j = 1 s V j . Then V V V and W W W induce the same conjugation on every embedded generator X ~ j , Z ~ j \widetilde{X}_j,\widetilde{Z}_j X j , Z j . Consequently, W ∗ V W^*V W ∗ V commutes with all these generators. Since they generate B ( ⨂ j = 1 s H j ) \mathcal{B}\left(\bigotimes_{j=1}^{s}\mathcal{H}_j\right) B ( ⨂ j = 1 s H j ) , their common commutant consists only of scalar operators. Thus W ∗ V = λ I W^*V = \lambda I W ∗ V = λ I for some λ ∈ T \lambda\in\mathbb{T} λ ∈ T , so V = λ ⨂ j = 1 s V j V = \lambda\bigotimes_{j=1}^{s} V_j V = λ ⨂ j = 1 s V j . Absorbing λ \lambda λ into V 1 V_1 V 1 yields the required factorization.
Finally, we consider an arbitrary P j ∈ P ( q j ) P_j \in\mathcal{P}(q_j) P j ∈ P ( q j ) , and define its embedded operator as P ~ j : = I H 1 ⊗ ⋯ ⊗ P j ⊗ ⋯ ⊗ I H s \widetilde{P}_j := I_{\mathcal{H}_1} \otimes\cdots\otimes P_j \otimes\cdots\otimes I_{\mathcal{H}_s} P j := I H 1 ⊗ ⋯ ⊗ P j ⊗ ⋯ ⊗ I H s . Therefore, V P j V ∗ = I ⊗ ⋯ ⊗ ( V j P j V j ∗ ) ⊗ ⋯ ⊗ I ∈ Γ C k − 1 Γ ∗ VP_jV^* = I \otimes\cdots\otimes(V_jP_jV_j^*) \otimes\cdots\otimes I \in\Gamma C_{k-1}\Gamma^* V P j V ∗ = I ⊗ ⋯ ⊗ ( V j P j V j ∗ ) ⊗ ⋯ ⊗ I ∈ Γ C k − 1 Γ ∗ . The induction hypothesis then gives V j P j V j ∗ ∈ C k − 1 ( q j ) V_jP_jV_j^* \in C_{k-1}(q_j) V j P j V j ∗ ∈ C k − 1 ( q j ) , proving V j ∈ C k ( q j ) V_j \in C_k(q_j) V j ∈ C k ( q j ) . This proves the inclusion “⊆ \subseteq ⊆ ”. Taking all the above into account, the equality holds.
Square-free semi-Clifford theorem
The CRT factorization reduces the square-free case to prime dimensions. We therefore recall the following known result, which combines the previously established qubit and odd-prime cases.
Theorem 3.3 (Prime-dimensional semi-Clifford theorem [35 , 14 ] ). We assume that the fixed ambient dimension is prime, that is, d = p d=p d = p . Then, for every k ∈ N k \in\mathbb{N} k ∈ N , C k = S C k \mathcal{C}_k=\mathcal{SC}_k C k = SC k . Equivalently, every U ∈ C k U \in\mathcal{C}_k U ∈ C k admits a decomposition U = C 1 D C 2 U=C_1DC_2 U = C 1 D C 2 , where C 1 , C 2 ∈ C 2 C_1,C_2 \in\mathcal{C}_2 C 1 , C 2 ∈ C 2 , and D ∈ D k D \in\mathcal{D}_k D ∈ D k .
We now extend the prime-dimensional result to square-free composite dimensions. By the CRT factorization of the Clifford hierarchy, the argument reduces to applying Theorem 3.3 on each prime tensor factor.
Lemma 3.4. Let d d d be square-free. Then in a single qudit of d d d dimension, for every k ∈ N k \in\mathbb{N} k ∈ N , C k = S C k \mathcal{C}_k=\mathcal{SC}_k C k = SC k , that is, every single-qudit Clifford-hierarchy gate is semi-Clifford.
Proof. The direction S C k ⊆ C k \mathcal{SC}_k \subseteq\mathcal{C}_k SC k ⊆ C k is straightforward by the Clifford invariance in Lemma 2.5(i). We now prove the reverse inclusion. Let U ∈ C k ( d ) U \in\mathcal{C}_k(d) U ∈ C k ( d ) . By Lemma 3.2 , Γ U Γ ∗ = ⨂ j = 1 s U j \Gamma U\Gamma^*=\bigotimes_{j=1}^{s}U_j Γ U Γ ∗ = ⨂ j = 1 s U j , where U j ∈ C k ( p j ) U_j \in\mathcal{C}_k(p_j) U j ∈ C k ( p j ) . By the prime-dimensional Theorem 3.3 , each local factor has a semi-Clifford decomposition U j = C j , 1 D j C j , 2 U_j=C_{j,1}D_jC_{j,2} U j = C j , 1 D j C j , 2 , where C j , 1 , C j , 2 ∈ C 2 ( p j ) C_{j,1},C_{j,2} \in\mathcal{C}_2(p_j) C j , 1 , C j , 2 ∈ C 2 ( p j ) and D j ∈ D k ( p j ) D_j \in\mathcal{D}_k(p_j) D j ∈ D k ( p j ) . Thus, Γ U Γ ∗ = ( ⨂ j C j , 1 ) ( ⨂ j D j ) ( ⨂ j C j , 2 ) \Gamma U\Gamma^*=\left(\bigotimes_j C_{j,1}\right)\left(\bigotimes_j D_j\right)\left(\bigotimes_j C_{j,2}\right) Γ U Γ ∗ = ( ⨂ j C j , 1 ) ( ⨂ j D j ) ( ⨂ j C j , 2 ) . Set C 1 = Γ ∗ ( ⨂ j C j , 1 ) Γ C_1=\Gamma^*\left(\bigotimes_j C_{j,1}\right)\Gamma C 1 = Γ ∗ ( ⨂ j C j , 1 ) Γ , C 2 = Γ ∗ ( ⨂ j C j , 2 ) Γ C_2=\Gamma^*\left(\bigotimes_j C_{j,2}\right)\Gamma C 2 = Γ ∗ ( ⨂ j C j , 2 ) Γ , and D = Γ ∗ ( ⨂ j D j ) Γ D=\Gamma^*\left(\bigotimes_jD_j\right)\Gamma D = Γ ∗ ( ⨂ j D j ) Γ . By Lemma 3.2 at k = 2 k=2 k = 2 and q i = p i q_i=p_i q i = p i , we have C 1 , C 2 ∈ C 2 C_1,C_2 \in\mathcal{C}_2 C 1 , C 2 ∈ C 2 , and D ∈ C k D \in\mathcal{C}_k D ∈ C k .
It remains to check that D D D is diagonal in the original computational basis. Since each D j D_j D j is diagonal in the standard basis of H j \mathcal{H}_j H j , there exists a function δ j : Z p j → T \delta_j:\mathbb{Z}_{p_j}\to\mathbb{T} δ j : Z p j → T such that D j ∣ x j ⟩ = δ j ( x j ) ∣ x j ⟩ D_j\lvert x_j\rangle=\delta_j(x_j)\lvert x_j\rangle D j ∣ x j ⟩ = δ j ( x j ) ∣ x j ⟩ , where x j ∈ Z p j x_j\in\mathbb{Z}_{p_j} x j ∈ Z p j . Hence D ∣ x ⟩ = Γ ∗ ( ⨂ j = 1 s D j ) Γ ∣ x ⟩ = ( ∏ j = 1 s δ j ( x j ) ) ∣ x ⟩ D\lvert x\rangle=\Gamma^*\left(\bigotimes_{j=1}^{s}D_j\right)\Gamma\lvert x\rangle=\left(\prod_{j=1}^{s}\delta_j(x_j)\right)\lvert x\rangle D ∣ x ⟩ = Γ ∗ ( ⨂ j = 1 s D j ) Γ ∣ x ⟩ = ( ∏ j = 1 s δ j ( x j ) ) ∣ x ⟩ . Thus, every computational basis element ∣ x ⟩ \lvert x\rangle ∣ x ⟩ is an eigenvector of D D D , so D D D is diagonal in the original computational basis of H \mathcal{H} H . Therefore, U ∈ S C k U\in\mathcal{SC}_k U ∈ SC k . □
We conclude with a second consequence of the CRT decomposition. When d d d is square-free, Lemma 3.1 implies that every Lagrangian submodule of Z d 2 \mathbb{Z}_d^2 Z d 2 is free of rank one. The characterizations of L S C \mathcal{LSC} LSC and G S C \mathcal{GSC} G SC therefore recover the normal forms defining S C \mathcal{SC} SC and N \mathcal{N} N , respectively. These equivalences hold for arbitrary unitaries, without a hierarchy restriction.
Theorem 3.5 (Square-free dimension equivalences). If d ≥ 2 d\ge2 d ≥ 2 is square-free, then for a single qudit of dimension d d d , we have S C = L S C \mathcal{SC}=\mathcal{LSC} SC = LSC and G S C = N \mathcal{GSC}=\mathcal{N} G SC = N .
Proof. The normal forms immediately give S C ⊆ L S C \mathcal{SC}\subseteq\mathcal{LSC} SC ⊆ LSC and N ⊆ G S C \mathcal{N}\subseteq\mathcal{GSC} N ⊆ G SC , because diagonal gates centralize P Z : = { λ Z b : λ ∈ T , b ∈ Z d } P_Z:=\{\lambda Z^b:\lambda\in\mathbb{T},\,b\in\mathbb{Z}_d\} P Z := { λ Z b : λ ∈ T , b ∈ Z d } , while permutation–diagonal gates normalize its linear span, and the conjugation by Clifford gates preserves Pauli structure.
Before discussing its converse, we claim that every Lagrangian L ⊆ Z d 2 L\subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 is free. By Lemma 3.1 , every Lagrangian L ⊆ Z d 2 L\subseteq\mathbb{Z}_d^2 L ⊆ Z d 2 corresponds under CRT to a product of Lagrangians L j ⊆ Z p j 2 L_j\subseteq\mathbb{Z}_{p_j}^2 L j ⊆ Z p j 2 . Each L j L_j L j is one-dimensional, so choosing a generator in each factor and combining them by CRT gives a generator v v v of L L L for which r ↦ r v r\mapsto rv r ↦ r v is an isomorphism Z d → L \mathbb{Z}_d\to L Z d → L . Hence L L L is free of rank one. Now let U ∈ L S C U\in\mathcal{LSC} U ∈ LSC . There is a Lagrangian submodule L = Z d v L=\mathbb{Z}_dv L = Z d v , with v v v unimodular, such that U P L U ∗ ⊆ P UP_LU^*\subseteq\mathcal{P} U P L U ∗ ⊆ P . In particular, U W v U ∗ ∈ P UW_vU^*\in\mathcal{P} U W v U ∗ ∈ P , so Lemma 2.9 (i) gives U ∈ S C U\in\mathcal{SC} U ∈ SC . Consider U ∈ G S C U\in\mathcal{GSC} U ∈ G SC , we can get U A L U ∗ = A L ^ UA_LU^*=\mathcal{A}_{\hat{L}} U A L U ∗ = A L ^ for some Lagrangian submodule L = Z d v L=\mathbb{Z}_dv L = Z d v and L ^ = Z d w \hat{L}=\mathbb{Z}_dw L ^ = Z d w , with v , w v,w v , w unimodular. Hence U W v U ∗ ∈ A L ^ UW_vU^*\in\mathcal{A}_{\hat{L}} U W v U ∗ ∈ A L ^ , so it commutes with W w W_w W w . Lemma 2.9 (ii) yields U ∈ N U\in\mathcal{N} U ∈ N , completing both equalities.
Counterexample construction when d d d is not square-free
To prove the converse of the square-free result, for every non-square-free d d d , we construct a gate U ∈ C 3 U\in\mathcal{C}_3 U ∈ C 3 that is not semi-Clifford. From Lemma 2.9 , we know that the Weyl labels whose conjugates remain in the Pauli group are important for testing the membership.
Definition 4.1 (Pauli kernel). For U ∈ U ( H ) U \in\mathrm{U}(\mathcal{H}) U ∈ U ( H ) , its Pauli kernel is K ( U ) : = { v ∈ Z d 2 : U W v U ∗ ∈ P } K(U) := \{v \in\mathbb{Z}_d^2 : UW_vU^* \in\mathcal{P}\} K ( U ) := { v ∈ Z d 2 : U W v U ∗ ∈ P } .
The Pauli Kernel is a subgroup of Z d 2 \mathbb{Z}_d^2 Z d 2 . Indeed, since W v W w ∗ W_vW_w^* W v W w ∗ is proportional to W v − w W_{v-w} W v − w , the set K ( U ) K(U) K ( U ) contains zero and is closed under subtraction. The following lemma characterizes semi-Clifford and Lagrangian semi-Clifford gates in terms of K ( U ) K(U) K ( U ) and, at the third level, relates this kernel to the symplectic image of the conjugated Paulis. Its proof uses two standard facts about finite groups. Lagrange’s theorem states that the order of a subgroup divides the order of the group, and Cauchy’s theorem states that if a prime p p p divides the order of a finite group, then the group contains an element of order p p p .
Lemma 4.1 (Pauli-kernel criteria). Let U ∈ C k U \in\mathcal{C}_k U ∈ C k .
(i) U ∈ S C U \in\mathcal{SC} U ∈ SC if and only if K ( U ) K(U) K ( U ) contains an unimodular element. In particular, if d d d has a divisor t > 1 t > 1 t > 1 such that K ( U ) ⊆ t Z d 2 K(U) \subseteq t\mathbb{Z}_d^2 K ( U ) ⊆ t Z d 2 , then U ∉ S C k U \notin\mathcal{SC}_k U ∈ / SC k .
(ii) U ∈ L S C U \in\mathcal{LSC} U ∈ LSC if and only if K ( U ) K(U) K ( U ) contains a Lagrangian submodule. For d = p α d = p^\alpha d = p α , where p p p is prime and α ∈ N \alpha\in\mathbb{N} α ∈ N , U ∈ L S C U \in\mathcal{LSC} U ∈ LSC is equivalent to ∣ K ( U ) ∣ ≥ p α |K(U)| \ge p^\alpha ∣ K ( U ) ∣ ≥ p α .
(iii) If U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 , the map Φ U : Z d 2 → Sp 2 ( Z d ) \Phi_U : \mathbb{Z}_d^2 \to\operatorname{Sp}_2(\mathbb{Z}_d) Φ U : Z d 2 → Sp 2 ( Z d ) , defined by Φ U ( v ) : = ρ ( [ U W v U ∗ ] ) \Phi_U(v) := \rho([UW_vU^*]) Φ U ( v ) := ρ ([ U W v U ∗ ]) , is a homomorphism with kernel K ( U ) K(U) K ( U ) . Its symplectic image S U S_U S U is abelian and satisfies S U ≅ Z d 2 / K ( U ) S_U \cong\mathbb{Z}_d^2/K(U) S U ≅ Z d 2 / K ( U ) .
Proof. Part (i) follows from Lemma 2.9 (i). The final assertion holds because no element in t Z d 2 t\mathbb{Z}_d^2 t Z d 2 is unimodular when t t t divides d d d .
For part (ii), maximal abelian Pauli subgroups are precisely the groups P L \mathcal{P}_L P L with L L L Lagrangian. By the definition of K ( U ) K(U) K ( U ) , U P L U ∗ ⊆ P U\mathcal{P}_LU^* \subseteq\mathcal{P} U P L U ∗ ⊆ P if and only if L ⊆ K ( U ) L \subseteq K(U) L ⊆ K ( U ) . Thus the first equivalence follows from the definition of L S C \mathcal{LSC} LSC . Now suppose d = p α d = p^\alpha d = p α . Every Lagrangian submodule has order d d d by Lemma 2.1. Hence, if K ( U ) K(U) K ( U ) contains a Lagrangian submodule, then ∣ K ( U ) ∣ ≥ d |K(U)| \ge d ∣ K ( U ) ∣ ≥ d . Conversely, suppose ∣ K ( U ) ∣ ≥ p α |K(U)| \ge p^\alpha ∣ K ( U ) ∣ ≥ p α . We use the elementary fact that a finite abelian p p p -group G G G with ∣ G ∣ ≥ p r |G| \ge p^r ∣ G ∣ ≥ p r contains a subgroup of order p r p^r p r . We will prove that by induction on r r r . The case r = 0 r = 0 r = 0 is immediate. For r > 0 r > 0 r > 0 , Cauchy’s theorem gives a subgroup N ≤ G N \le G N ≤ G of order p p p . The quotient G / N G/N G / N is again an abelian p p p -group and has order at least p r − 1 p^{r-1} p r − 1 . By induction, it contains a subgroup of order p r − 1 p^{r-1} p r − 1 , whose inverse image in G G G has order p r p^r p r . Since K ( U ) K(U) K ( U ) is a finite abelian p p p -group, this fact provides a subgroup L ⊆ K ( U ) L \subseteq K(U) L ⊆ K ( U ) of order p α = d p^\alpha= d p α = d . As an additive subgroup of Z d 2 \mathbb{Z}_d^2 Z d 2 , L L L is also a Z d \mathbb{Z}_d Z d -submodule. By Lemma 2.3(ii), such a submodule is Lagrangian. This proves the converse.
For part (iii), the assumption U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 ensures that Φ U \Phi_U Φ U is well-defined. The Weyl multiplication law gives [ U W v + w U ∗ ] = [ U W v U ∗ ] [ U W w U ∗ ] [UW_{v+w}U^*] = [UW_vU^*][UW_wU^*] [ U W v + w U ∗ ] = [ U W v U ∗ ] [ U W w U ∗ ] . Since ρ \rho ρ is a homomorphism, so is Φ U \Phi_U Φ U . Moreover, ker ρ \ker\rho ker ρ is the projective Pauli subgroup, hence ker Φ U = K ( U ) \ker\Phi_U = K(U) ker Φ U = K ( U ) . The first isomorphism theorem gives S U ≅ Z d 2 / K ( U ) S_U \cong\mathbb{Z}_d^2/K(U) S U ≅ Z d 2 / K ( U ) . Thus S U S_U S U is abelian and, when d = p α d = p^\alpha d = p α , is a p p p -group.
The motivating example in dimension 9
Throughout this subsection, we set η : = e 2 π i / 27 \eta:= e^{2\pi i/27} η := e 2 π i /27 , ω : = η 3 \omega:= \eta^3 ω := η 3 , and ζ : = η 9 \zeta:= \eta^9 ζ := η 9 . In dimension 9, the unique nonfree Lagrangian submodule is 3 Z 9 2 3\mathbb{Z}_9^2 3 Z 9 2 , while the free Lagrangian submodules are precisely ⟨ ( 3 h , 1 ) ⟩ \langle(3h,1)\rangle ⟨( 3 h , 1 )⟩ for h ∈ Z 3 h \in\mathbb{Z}_3 h ∈ Z 3 and ⟨ ( 1 , j ) ⟩ \langle(1,j)\rangle ⟨( 1 , j )⟩ for j ∈ Z 9 j \in\mathbb{Z}_9 j ∈ Z 9 . Because these submodules are pairwise distinct, Lemma 2.3(iii) states that there are exactly 1 + 3 + 9 = 13 1+3+9=13 1 + 3 + 9 = 13 Lagrangian submodules in Z 9 2 \mathbb{Z}_9^2 Z 9 2 , confirming that our list is exhaustive. Building on the framework from § 2.3 , the remainder of this subsection establishes the precise relations among the four structural types in the Clifford hierarchy for a single 9-dimensional qudit (summarized in Figure 2 ).
We first construct a permutation gate Π 9 \Pi_9 Π 9 , which cycles ∣ 0 ⟩ , ∣ 3 ⟩ , ∣ 6 ⟩ |0\rangle, |3\rangle, |6\rangle ∣0 ⟩ , ∣3 ⟩ , ∣6 ⟩ and fixes the other six computational-basis states. We will prove Π 9 ∈ ( N 3 ∩ L S C 3 ) ∖ S C 3 \Pi_9 \in(\mathcal{N}_3 \cap\mathcal{LSC}_3) \setminus\mathcal{SC}_3 Π 9 ∈ ( N 3 ∩ LSC 3 ) ∖ SC 3 in Appendix B.§ 1 , since the argument is technical and is not needed for the subsequent proofs. Moreover, the third-level hierarchy exhibits certain special properties.
Proposition 4.2. For a single qudit of dimension 9, the following relations hold at the third level of the Clifford hierarchy:
(i) C 3 = L S C 3 = G S C 3 \mathcal{C}_3 = \mathcal{LSC}_3 = \mathcal{GSC}_3 C 3 = LSC 3 = G SC 3
(ii) N 3 ⊆ L S C 3 \mathcal{N}_3 \subseteq\mathcal{LSC}_3 N 3 ⊆ LSC 3 .
Proof. By Lemma 4.1(ii)–(iii), it suffices to prove ∣ S U ∣ ≤ 9 |S_U| \le9 ∣ S U ∣ ≤ 9 , since ∣ K ( U ) ∣ ∣ S U ∣ = 81 |K(U)||S_U| = 81 ∣ K ( U ) ∣∣ S U ∣ = 81 . The argument is given in Appendix B.1. It yields C 3 ⊆ L S C 3 C_3 \subseteq LSC_3 C 3 ⊆ L S C 3 ; Corollary 2.13 then gives part (i). Part (ii) follows immediately because N 3 ⊆ C 3 N_3 \subseteq C_3 N 3 ⊆ C 3 . □
Moreover, the inclusion N 3 ⊆ L S C 3 N_3 \subseteq LSC_3 N 3 ⊆ L S C 3 is strict. To show this, we construct another gate U 9 ∈ L S C k ∖ N k U_9 \in LSC_k \setminus N_k U 9 ∈ L S C k ∖ N k for every k ≥ 3 k \ge3 k ≥ 3 . We later extend this construction to obtain a third-level gate that is not semi-Clifford in every non-square-free dimension. First, we define the Clifford gates E 9 ∣ x ⟩ : = ω x ( x − 1 ) / 2 ∣ x ⟩ E_9|x\rangle:= \omega^{x(x-1)/2}|x\rangle E 9 ∣ x ⟩ := ω x ( x − 1 ) /2 ∣ x ⟩ and H 9 ∣ x ⟩ : = 1 3 ∑ y ∈ Z 9 ω x y ∣ y ⟩ H_9|x\rangle:= \frac{1}{3}\sum_{y\in\mathbb{Z}_9}\omega^{xy}|y\rangle H 9 ∣ x ⟩ := 3 1 ∑ y ∈ Z 9 ω x y ∣ y ⟩ . We note that x ( x − 1 ) / 2 x(x-1)/2 x ( x − 1 ) /2 is always an integer, so we do not need a finer phase. These are respectively the standard phase-shift and the discrete Fourier transform gates, which normalize the Weyl–Pauli group and hence lie in C 2 C_2 C 2 ; see [17 Eqs. (13)–(18) and Proposition 1] . We define A 9 : = Z ∗ H 9 E 9 − 3 H 9 A_9 := Z^*H_9E_9^{-3}H_9 A 9 := Z ∗ H 9 E 9 − 3 H 9 , and B 9 : = X E 9 3 B_9 := XE_9^3 B 9 := X E 9 3 ; since C 2 C_2 C 2 is a group, they all belong to C 2 C_2 C 2 . Moreover, the Pauli factors X X X and Z ∗ Z^* Z ∗ do not affect the symplectic representation. A direct calculation gives
ρ ( [ A 9 ] ) = ( 1 3 0 1 ) , ρ ( [ B 9 ] ) = ( 1 0 3 1 ) . \rho([A_9]) = \begin{pmatrix} 1 & 3 \\ 0 & 1 \end{pmatrix}, \qquad\rho([B_9]) = \begin{pmatrix} 1 & 0 \\ 3 & 1 \end{pmatrix}. ρ ([ A 9 ]) = ( 1 0 3 1 ) , ρ ([ B 9 ]) = ( 1 3 0 1 ) .
We will prove that ( A 9 , B 9 ) (A_9,B_9) ( A 9 , B 9 ) forms a conjugate pair and then, by the discrete von Neumann theorem (Lemma 2.6), we can guarantee the existence of the corresponding third-level hierarchy gate U 9 U_9 U 9 , which is not semi-Clifford. Details are shown below.
Proposition 4.3. The unitary gate U 9 U_9 U 9 constructed above lies in L S C 3 / N 3 LSC_3/N_3 L S C 3 / N 3 , and thus it is not semi-Clifford.
Proof. A direct calculation gives A 9 3 = ζ − 1 Z − 3 A_9^3 = \zeta^{-1}Z^{-3} A 9 3 = ζ − 1 Z − 3 and B 9 3 = ζ X 3 B_9^3 = \zeta X^3 B 9 3 = ζ X 3 . Consequently, conjugation by U 9 U_9 U 9 maps the Pauli subgroup associated with the nonfree Lagrangian 3 Z 9 2 3\mathbb{Z}_9^2 3 Z 9 2 onto itself. Thus U 9 ∈ L S C 3 U_9 \in LSC_3 U 9 ∈ L S C 3 .
Suppose U 9 ∈ N 3 U_9 \in N_3 U 9 ∈ N 3 . By Lemma 2.9(ii), there are admissible v = ( a , b ) T v = (a,b)^{\mathrm{T}} v = ( a , b ) T and w = ( c , e ) T w = (c,e)^{\mathrm{T}} w = ( c , e ) T in Z 9 2 \mathbb{Z}_9^2 Z 9 2 such that G : = U 9 W v U 9 ∗ = A 9 a B 9 b G := U_9W_vU_9^\ast= A_9^aB_9^b G := U 9 W v U 9 ∗ = A 9 a B 9 b commutes with W w W_w W w . On the one hand, the symplectic representation of G G G is
ρ ( [ G ] ) = ( 1 3 0 1 ) a ( 1 0 3 1 ) b = ( 1 3 a 3 b 1 ) over Z 9 . \rho([G]) = \begin{pmatrix} 1 & 3 \\ 0 & 1 \end{pmatrix}^{a}\begin{pmatrix} 1 & 0 \\ 3 & 1 \end{pmatrix}^{b} = \begin{pmatrix} 1 & 3a \\ 3b & 1 \end{pmatrix} \text{ over } \mathbb{Z}_9. ρ ([ G ]) = ( 1 0 3 1 ) a ( 1 3 0 1 ) b = ( 1 3 b 3 a 1 ) over Z 9 .
Commutativity of G G G and W w W_w W w implies a e ≡ b c ≡ 0 ( m o d 3 ) ae \equiv bc \equiv0 \pmod{3} a e ≡ b c ≡ 0 ( mod 3 ) . On the other hand, the identities for A 9 3 A_9^3 A 9 3 and B 9 3 B_9^3 B 9 3 , together with B 9 A 9 = ω A 9 B 9 B_9A_9 = \omega A_9B_9 B 9 A 9 = ω A 9 B 9 , give [ G 3 ] = [ X 3 b Z − 3 a ] [G^3] = [X^{3b}Z^{-3a}] [ G 3 ] = [ X 3 b Z − 3 a ] . Since G 3 G^3 G 3 also commutes with W w = X c Z e W_w = X^cZ^e W w = X c Z e , the Weyl commutation relation gives ω − 3 ( a c + b e ) = 1 \omega^{-3(ac+be)} = 1 ω − 3 ( a c + b e ) = 1 , and hence a c + b e ≡ 0 ( m o d 3 ) ac+be \equiv0 \pmod{3} a c + b e ≡ 0 ( mod 3 ) . Meanwhile, admissibility of v v v means that at least one of a , b a,b a , b is nonzero modulo 3. If a ≢ 0 ( m o d 3 ) a \not\equiv0 \pmod{3} a ≡ 0 ( mod 3 ) , then a e ≡ 0 ae \equiv0 a e ≡ 0 forces e ≡ 0 e \equiv0 e ≡ 0 , and a c + b e ≡ 0 ac+be \equiv0 a c + b e ≡ 0 then forces c ≡ 0 c \equiv0 c ≡ 0 . If b ≢ 0 ( m o d 3 ) b \not\equiv0 \pmod{3} b ≡ 0 ( mod 3 ) , the same equations give c ≡ e ≡ 0 c \equiv e \equiv0 c ≡ e ≡ 0 . In either case, w w w is not unimodular, a contradiction. Therefore U 9 ∉ N 3 U_9 \notin N_3 U 9 ∈ / N 3 . Since S C 3 ⊆ N 3 SC_3 \subseteq N_3 S C 3 ⊆ N 3 , U 9 U_9 U 9 is not semi-Clifford. □】【。
Moreover, since Π 9 \Pi_9 Π 9 lies exactly in C 3 \mathcal{C}_3 C 3 , it follows that Π 9 ∈ ( L S C k ∩ N k ) / S C k \Pi_9 \in(\mathcal{L}\mathcal{S}\mathcal{C}_k \cap\mathcal{N}_k)/\mathcal{S}\mathcal{C}_k Π 9 ∈ ( LS C k ∩ N k ) / S C k and U 9 ∈ L S C k ∖ N k U_9 \in\mathcal{L}\mathcal{S}\mathcal{C}_k \setminus\mathcal{N}_k U 9 ∈ LS C k ∖ N k for every k ≥ 3 k \ge3 k ≥ 3 . However, the inclusion N 3 ⊆ L S C 3 \mathcal{N}_3 \subseteq\mathcal{L}\mathcal{S}\mathcal{C}_3 N 3 ⊆ LS C 3 and equality C 3 = L S C 3 = G S C 3 \mathcal{C}_3 = \mathcal{L}\mathcal{S}\mathcal{C}_3 = \mathcal{G}\mathcal{S}\mathcal{C}_3 C 3 = LS C 3 = G S C 3 does not extend to higher levels. In Appendix B, we construct two gates Q 9 Q_9 Q 9 and V 9 V_9 V 9 satisfying Q 9 ∈ N k ∖ L S C k Q_9 \in\mathcal{N}_k \setminus\mathcal{L}\mathcal{S}\mathcal{C}_k Q 9 ∈ N k ∖ LS C k and V 9 ∈ G S C k / ( L S C k ∪ N k ) V_9 \in\mathcal{G}\mathcal{S}\mathcal{C}_k/(\mathcal{L}\mathcal{S}\mathcal{C}_k \cup\mathcal{N}_k) V 9 ∈ G S C k / ( LS C k ∪ N k ) for every k ≥ 4 k \ge4 k ≥ 4 .
Third-level gates that are not semi-Clifford in arbitrary non-square-free dimensions
In this subsection, we consider the dimension d = ∏ j = 1 s p j α j d = \prod_{j=1}^{s}p_j^{\alpha_j} d = ∏ j = 1 s p j α j to be non-square-free, so that α j ≥ 2 \alpha_j \ge2 α j ≥ 2 for some j j j . We now construct a general family of C 3 \mathcal{C}_3 C 3 gates that are not semi-Clifford by observing that the factor 3 in the previous 9-dimensional construction serves as a specific instance of a zero-divisor satisfying the following properties.
Lemma 4.4. An integer d ≥ 2 d \ge2 d ≥ 2 is non-square-free if and only if it has a divisor r r r with 1 < r < d 1 < r < d 1 < r < d and r 2 ≡ 0 ( m o d d ) r^2 \equiv0 \pmod d r 2 ≡ 0 ( mod d ) . One may take r : = ∏ j p j ⌈ α j / 2 ⌉ r := \prod_j p_j^{\lceil\alpha_j/2\rceil} r := ∏ j p j ⌈ α j /2 ⌉ and define a divisor t : = d / r = ∏ j p j ⌊ α j / 2 ⌋ > 1 t := d/r = \prod_j p_j^{\lfloor\alpha_j/2\rfloor} > 1 t := d / r = ∏ j p j ⌊ α j /2 ⌋ > 1 . Then r a ≡ 0 ( m o d d ) ra \equiv0 \pmod d r a ≡ 0 ( mod d ) if and only if a ∈ t Z d a \in t\mathbb{Z}_d a ∈ t Z d .
Proof. For r = ∏ j p j β j ∣ d r = \prod_j p_j^{\beta_j} \mid d r = ∏ j p j β j ∣ d , the condition d ∣ r 2 d \mid r^2 d ∣ r 2 is equivalent to 2 β j ≥ α j 2\beta_j \ge\alpha_j 2 β j ≥ α j for every j j j . Such an r r r can be proper exactly when some α j ≥ 2 \alpha_j \ge2 α j ≥ 2 , and the displayed choice then works. The remaining assertions follow from d = r t d = rt d = r t and d ∣ r 2 d \mid r^2 d ∣ r 2 .
Lemma 4.5. Let r , t r,t r , t be as in Lemma 4.4. There is a conjugate pair of Clifford gates ( A , B ) (A,B) ( A , B ) with
ρ ( [ A ] ) = ( 1 r 0 1 ) , ρ ( [ B ] ) = ( 1 0 r 1 ) . \rho([A]) = \begin{pmatrix} 1 & r \\ 0 & 1 \end{pmatrix}, \qquad\rho([B]) = \begin{pmatrix} 1 & 0 \\ r & 1 \end{pmatrix}. ρ ([ A ]) = ( 1 0 r 1 ) , ρ ([ B ]) = ( 1 r 0 1 ) . Moreover, the conjugate pair ( A , B ) (A,B) ( A , B ) determines a unitary U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 , whose Pauli kernel is K ( U ) = t Z d 2 K(U) = t\mathbb{Z}_d^2 K ( U ) = t Z d 2 . In particular, U U U is not semi-Clifford.
Proof. We define
H ∣ x ⟩ = 1 d ∑ y ∈ Z d ω x y ∣ y ⟩ , E r ∣ x ⟩ = ω r x ( x − 1 ) / 2 + ϵ x ∣ x ⟩ , ϵ = { 0 , t odd , r / 2 , t even . H|x\rangle= \frac{1}{\sqrt{d}}\sum_{y\in\mathbb{Z}_d}\omega^{xy}|y\rangle,\qquad E_r|x\rangle= \omega^{r x(x-1)/2+\epsilon x}|x\rangle,\qquad\epsilon= \begin{cases} 0, & t\text{ odd}, \\ r/2, & t\text{ even}. \end{cases} H ∣ x ⟩ = d 1 y ∈ Z d ∑ ω x y ∣ y ⟩ , E r ∣ x ⟩ = ω r x ( x − 1 ) /2 + ϵ x ∣ x ⟩ , ϵ = { 0 , r /2 , t odd , t even .
Since t ∣ r t \mid r t ∣ r , r r r is even whenever t t t is even, so the exponent is integral. Its change under x ↦ x + t x \mapsto x+t x ↦ x + t is r t x + r t ( t − 1 ) / 2 + ϵ t rtx + rt(t-1)/2 + \epsilon t r t x + r t ( t − 1 ) /2 + ϵ t , a multiple of d d d in both parity cases. Thus the phases are t t t -periodic, in particular well-defined on Z d \mathbb{Z}_d Z d , and E r E_r E r is a polynomial in Z r Z^r Z r .
The adjacent phase ratio gives E r X E r ∗ = ω ϵ X Z r E_r X E_r^* = \omega^\epsilon XZ^r E r X E r ∗ = ω ϵ X Z r , while E r Z E r ∗ = Z E_r Z E_r^* = Z E r Z E r ∗ = Z . Hence E r E_r E r is Clifford with the lower shear as its symplectic action. Set T = H ∗ E r ∗ H T = H^*E_r^*H T = H ∗ E r ∗ H . The identities H ∗ Z H = X H^*ZH = X H ∗ Z H = X and H ∗ X H = Z − 1 H^*XH = Z^{-1} H ∗ X H = Z − 1 show that T T T has the upper shear as its action and is a polynomial in X r X^r X r . Because d ∣ r 2 d \mid r^2 d ∣ r 2 , X r X^r X r and Z r Z^r Z r commute, so T T T and E r E_r E r commute. Put A 0 = Z − 1 T A_0 = Z^{-1}T A 0 = Z − 1 T and B 0 = X E r B_0 = XE_r B 0 = X E r . Using also that T T T commutes with X X X and E r E_r E r with Z Z Z ,
B 0 A 0 = X Z − 1 E r T = ω Z − 1 T X E r = ω A 0 B 0 . B_0A_0 = XZ^{-1}E_rT = \omega Z^{-1}TXE_r = \omega A_0B_0. B 0 A 0 = X Z − 1 E r T = ω Z − 1 T X E r = ω A 0 B 0 .
Now choose a unit eigenvector u u u of B 0 B_0 B 0 , with eigenvalue λ 1 ∈ T \lambda_1 \in\mathbb{T} λ 1 ∈ T . Then B 0 A 0 j u = λ 1 ω j A 0 j u B_0A_0^j u = \lambda_1\omega^j A_0^j u B 0 A 0 j u = λ 1 ω j A 0 j u for 0 ≤ j < d 0 \le j < d 0 ≤ j < d . These are d d d distinct eigenvalues, so the corresponding vectors form an orthonormal basis. Therefore B 0 d = λ 1 d I B_0^d = \lambda_1^d I B 0 d = λ 1 d I , and similarly we can get A 0 d = λ 2 d I A_0^d = \lambda_2^d I A 0 d = λ 2 d I for some λ 2 ∈ T \lambda_2 \in\mathbb{T} λ 2 ∈ T . We define A : = 1 λ 2 A 0 A := \frac{1}{\lambda_2}A_0 A := λ 2 1 A 0 and B : = 1 λ 1 B 0 B := \frac{1}{\lambda_1}B_0 B := λ 1 1 B 0 , forming a valid conjugate pair. Then, Lemma 2.6(ii) gives the corresponding unitary U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 , as all products A a B b A^aB^b A a B b are Clifford. Finally, Lemma 4.1(iii) gives
Φ U ( a , b ) = ρ ( [ A ] ) a ρ ( [ B ] ) b = ( 1 r a r b 1 ) . \Phi_U(a,b) = \rho([A])^a \rho([B])^b = \begin{pmatrix} 1 & ra \\ rb & 1 \end{pmatrix}. Φ U ( a , b ) = ρ ([ A ] ) a ρ ([ B ] ) b = ( 1 r b r a 1 ) .
Thus ( a , b ) ∈ K ( U ) (a,b) \in K(U) ( a , b ) ∈ K ( U ) if and only if r a = r b = 0 ra = rb = 0 r a = r b = 0 in Z d \mathbb{Z}_d Z d , equivalently ( a , b ) ∈ t Z d 2 (a,b) \in t\mathbb{Z}_d^2 ( a , b ) ∈ t Z d 2 . Since t > 1 t > 1 t > 1 , this kernel contains no unimodular element, and Lemma 4.1(i) proves the claim.
Lemmas 3.4 and 4.5 give the following equivalence between square-free dimensions and semi-Clifford gates.
Theorem 4.6. Let d ≥ 2 d \ge2 d ≥ 2 . Every gate in the single-qudit Clifford hierarchy is semi-Clifford if and only if d d d is square-free. Moreover, when d d d is not square-free, a non-semi-Clifford gate already exists at the third level.
Third-level hierarchy gates are generalized semi-Clifford for arbitrary d d d
Section 4.2 constructs third-level gates that are not semi-Clifford in every non-square-free dimension. Nevertheless, every third-level gate is generalized semi-Clifford. We use the symplectic action from Lemma 2.2 to find an invariant Lagrangian in prime-power dimension. The Weyl-invariance condition in the preliminaries then gives the required Pauli algebra directly. Finally, CRT factorization reduces arbitrary dimensions to the prime-power case.
The prime-power case
Fix d = p α d = p^{\alpha} d = p α , where p p p is prime and α ≥ 1 \alpha\ge1 α ≥ 1 . We use the Lagrangians L m = p m Z p α e 1 ⊕ p α − m Z p α e 2 ⊆ Z p α 2 L_m = p^m\mathbb{Z}_{p^\alpha}e_1 \oplus p^{\alpha-m}\mathbb{Z}_{p^\alpha}e_2 \subseteq\mathbb{Z}_{p^\alpha}^2 L m = p m Z p α e 1 ⊕ p α − m Z p α e 2 ⊆ Z p α 2 from Lemma 2.3.
Lemma 5.1 (Level-three generalized semi-Clifford theorem in prime-power dimension). When d = p α d = p^\alpha d = p α , every U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 is generalized semi-Clifford. Moreover, there exist 0 ≤ r , s ≤ ⌊ α / 2 ⌋ 0 \le r,s \le\lfloor\alpha/2 \rfloor 0 ≤ r , s ≤ ⌊ α /2 ⌋ and Clifford gates C 1 , C 2 C_1,C_2 C 1 , C 2 such that ( C 2 U C 1 ) A L r ( C 2 U C 1 ) ∗ = A L s (C_2UC_1)\mathcal{A}_{L_r}(C_2UC_1)^* = \mathcal{A}_{L_s} ( C 2 U C 1 ) A L r ( C 2 U C 1 ) ∗ = A L s .
Proof. Let U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 , put V v : = U W v U ∗ V_v := UW_vU^* V v := U W v U ∗ , and let S U S_U S U be its symplectic image, same as Lemma 4.1(iii), which is a finite p p p -group by the same lemma. Lemma 2.2 gives its action on Lag ( Z p α 2 ) \operatorname{Lag}(\mathbb{Z}_{p^\alpha}^2) Lag ( Z p α 2 ) . Since S U S_U S U is a finite p p p -group, the orbit–stabilizer theorem implies that every orbit has p p p -power cardinality; see [HS93, pp. 26–27]. On the other hand, Lemma 2.3(iii) gives ∣ Lag ( Z p α 2 ) ∣ = 1 + p + ⋯ + p α ≡ 1 ( m o d p ) |\operatorname{Lag}(\mathbb{Z}_{p^\alpha}^2)| = 1 + p + \cdots+ p^\alpha\equiv1 \pmod p ∣ Lag ( Z p α 2 ) ∣ = 1 + p + ⋯ + p α ≡ 1 ( mod p ) . The orbits partition this set, and every orbit with more than one element has cardinality divisible by p p p . Hence there is a singleton orbit, corresponding to a Lagrangian fixed by every element of S U S_U S U . Since each V v V_v V v is Clifford, Lemma 2.5(ii) gives V v A L V v ∗ = A L V_v\mathcal{A}_L V_v^* = \mathcal{A}_L V v A L V v ∗ = A L for every v v v . Consequently, W v ( U ∗ A L U ) W v ∗ = U ∗ ( V v A L V v ∗ ) U = U ∗ A L U W_v(U^*\mathcal{A}_L U)W_v^* = U^*(V_v\mathcal{A}_L V_v^*)U = U^*\mathcal{A}_L U W v ( U ∗ A L U ) W v ∗ = U ∗ ( V v A L V v ∗ ) U = U ∗ A L U . This is precisely the defining condition for U ∗ ∈ G S C U^* \in\mathit{GSC} U ∗ ∈ GSC . By the adjoint invariance in Lemma 2.13, U ∈ G S C U \in\mathit{GSC} U ∈ GSC .
For the standard-form assertion, first by Lemma 2.11 , there is a Lagrangian L ^ \widehat{L} L with U ∗ A L U = A L ^ U^*\mathcal{A}_L U = \mathcal{A}_{\widehat{L}} U ∗ A L U = A L . Lemma 2.3(i) supplies symplectic maps S 1 , S 2 S_1,S_2 S 1 , S 2 and indices r , s r,s r , s such that S 1 ( L r ) = L ^ S_1(L_r) = \widehat{L} S 1 ( L r ) = L and S 2 ( L ) = L s S_2(L) = L_s S 2 ( L ) = L s . By the surjectivity of ρ \rho ρ , there exist C 1 , C 2 ∈ C 2 C_1,C_2 \in\mathcal{C}_2 C 1 , C 2 ∈ C 2 such that their symplectic representations are S 1 , S 2 S_1,S_2 S 1 , S 2 , respectively. Applying Corollary 2.5(i) to these two maps yields ( C 2 U C 1 ) A L r ( C 2 U C 1 ) ∗ = C 2 ( U A L ^ U ∗ ) C 2 ∗ = A L s (C_2UC_1)\mathcal{A}_{L_r}(C_2UC_1)^* = C_2(U\mathcal{A}_{\widehat{L}}U^*)C_2^* = \mathcal{A}_{L_s} ( C 2 U C 1 ) A L r ( C 2 U C 1 ) ∗ = C 2 ( U A L U ∗ ) C 2 ∗ = A L s . □
Remark 5.2. The symplectic action in Lemma 2.2 remains available at every hierarchy level, but the preceding proof does not automatically extend beyond level three. For U ∈ C k + 1 U \in\mathcal{C}_{k+1} U ∈ C k + 1 with k ≥ 3 k \ge3 k ≥ 3 , the conjugates U W v U ∗ ∈ C k UW_vU^* \in\mathcal{C}_k U W v U ∗ ∈ C k need not be Clifford. Although their projective classes still form an abelian group, the Clifford–symplectic homomorphism ρ \rho ρ is not defined on these elements in general. Thus, the proof no longer supplies a symplectic p p p -group action to which the fixed-point argument can be applied.
Arbitrary dimension
The Chinese-remainder factorization of the hierarchy and of Pauli algebras now extends the result to every d ≥ 2 d \ge2 d ≥ 2 .
Theorem 5.3 (Level-three generalized semi-Clifford theorem). For every d ≥ 2 d \ge2 d ≥ 2 , C 3 ⊆ G S C \mathcal{C}_3 \subseteq\mathit{GSC} C 3 ⊆ GSC .
Proof. Let U ∈ C 3 U \in\mathcal{C}_3 U ∈ C 3 . By Lemma 3.2 , Γ U Γ ∗ = ⨂ j U j \Gamma U\Gamma^* = \bigotimes_j U_j Γ U Γ ∗ = ⨂ j U j , where U j ∈ C 3 ( q j ) U_j \in\mathcal{C}_3(q_j) U j ∈ C 3 ( q j ) . Lemma 5.1 gives Lagrangians L j , L ^ j ⊆ Z q j 2 L_j,\widehat{L}_j \subseteq\mathbb{Z}_{q_j}^2 L j , L j ⊆ Z q j 2 with U j A L ^ j U j ∗ = A L j U_j\mathcal{A}_{\widehat{L}_j}U_j^* = \mathcal{A}_{L_j} U j A L j U j ∗ = A L j . Let L = Θ − 1 ( ∏ j L j ) L = \Theta^{-1}\left(\prod_j L_j\right) L = Θ − 1 ( ∏ j L j ) and L ^ = Θ − 1 ( ∏ j L ^ j ) \widehat{L} = \Theta^{-1}\left(\prod_j \widehat{L}_j\right) L = Θ − 1 ( ∏ j L j ) . By Lemma 3.1 , both are Lagrangian, and their corresponding Pauli algebras factor under Γ \Gamma Γ . Therefore Γ ( U A L ^ U ∗ ) Γ ∗ = ⨂ j ( U j A L ^ j U j ∗ ) = ⨂ j A L j = Γ A L Γ ∗ \Gamma(U\mathcal{A}_{\widehat{L}}U^*)\Gamma^* = \bigotimes_j(U_j\mathcal{A}_{\widehat{L}_j}U_j^*) = \bigotimes_j\mathcal{A}_{L_j} = \Gamma\mathcal{A}_L\Gamma^* Γ ( U A L U ∗ ) Γ ∗ = ⨂ j ( U j A L j U j ∗ ) = ⨂ j A L j = Γ A L Γ ∗ . Thus U A L ^ U ∗ = A L U\mathcal{A}_{\widehat{L}}U^* = \mathcal{A}_L U A L U ∗ = A L , proving U ∈ G S C U \in\mathit{GSC} U ∈ GSC . □
:::
References
Appendices
Appendix A. ( S C k ) k ≥ 1 (\mathcal{SC}_k)_{k\ge1} ( SC k ) k ≥ 1 , ( N k ) k ≥ 1 (\mathcal{N}_k)_{k\ge1} ( N k ) k ≥ 1 , ( L S C k ) k ≥ 1 (\mathcal{LSC}_k)_{k\ge1} ( LSC k ) k ≥ 1 , and ( G S C k ) k ≥ 1 (\mathcal{GSC}_k)_{k\ge1} ( G SC k ) k ≥ 1 are strictly increasing
The recursive definition gives C k − 1 ⊆ C k C_{k-1}\subseteq C_k C k − 1 ⊆ C k for k ≥ 2 k\ge2 k ≥ 2 . We prove that C k C_k C k is strictly bigger than C k − 1 C_{k-1} C k − 1 by constructing a diagonal gate of at level k k k , for every d ≥ 2 d\ge2 d ≥ 2 . Since a diagonal gate commutes with Z Z Z , the conjugate pair in Lemma 2.6 suggests focusing on its conjugation of X X X . The key observation is that this conjugation takes a discrete derivative of the phase function, as in the proof of Lemma 2 in [11 Sec. III] . We reverse this operation to construct successive gates by discrete integration. More precisely, let D g ∣ x ⟩ = e 2 π i g ( x ) ∣ x ⟩ D_g|x\rangle=e^{2\pi i g(x)}|x\rangle D g ∣ x ⟩ = e 2 π i g ( x ) ∣ x ⟩ . To construct a diagonal gate D g ′ D_{g'} D g ′ satisfying D g ′ X D g ′ ∗ = e 2 π i α X D g D_{g'}XD_{g'}^*=e^{2\pi i\alpha}XD_g D g ′ X D g ′ ∗ = e 2 π i α X D g , we seek a phase function g ′ g' g ′ such that Δ g ′ ( x ) : = g ′ ( x + 1 ) − g ′ ( x ) ≡ g ( x ) + α ( m o d 1 ) \Delta g'(x):=g'(x+1)-g'(x)\equiv g(x)+\alpha\pmod1 Δ g ′ ( x ) := g ′ ( x + 1 ) − g ′ ( x ) ≡ g ( x ) + α ( mod 1 ) , where the indices are understood modulo d d d . A sufficient condition is the exact real-valued identity Δ g ′ ( x ) = g ( x ) + α \Delta g'(x)=g(x)+\alpha Δ g ′ ( x ) = g ( x ) + α , which we solve by cumulative summation g ′ ( x ) = g ′ ( 0 ) + ∑ t = 0 x − 1 ( g ( t ) + α ) g'(x)=g'(0)+\sum_{t=0}^{x-1}(g(t)+\alpha) g ′ ( x ) = g ′ ( 0 ) + ∑ t = 0 x − 1 ( g ( t ) + α ) . For this solution to be consistent with cyclic indexing, we require g ′ ( d ) = g ′ ( 0 ) g'(d)=g'(0) g ′ ( d ) = g ′ ( 0 ) . Equivalently, the differences must sum to zero, that is, 0 = ∑ x = 0 d − 1 Δ g ′ ( x ) = ∑ x = 0 d − 1 g ( x ) + d α 0=\sum_{x=0}^{d-1}\Delta g'(x)=\sum_{x=0}^{d-1}g(x)+d\alpha 0 = ∑ x = 0 d − 1 Δ g ′ ( x ) = ∑ x = 0 d − 1 g ( x ) + d α . We therefore choose α = − μ ( g ) \alpha=-\mu(g) α = − μ ( g ) , where μ ( g ) = d − 1 ∑ x = 0 d − 1 g ( x ) \mu(g)=d^{-1}\sum_{x=0}^{d-1}g(x) μ ( g ) = d − 1 ∑ x = 0 d − 1 g ( x ) . Subtracting the mean thus ensures cyclic consistency, while changing the target gate only by a global phase. This motivates the following recursive construction. For a real-valued function on { 0 , … , d − 1 } \{0,\ldots,d-1\} { 0 , … , d − 1 } , put μ ( h ) = d − 1 ∑ x = 0 d − 1 h ( x ) \mu(h)=d^{-1}\sum_{x=0}^{d-1}h(x) μ ( h ) = d − 1 ∑ x = 0 d − 1 h ( x ) . We define
F 1 ( x ) : = x / d , F k ( x ) : = ∑ t = 0 x − 1 ( F k − 1 ( t ) − μ ( F k − 1 ) ) ( k ≥ 2 ) , D k ∣ x ⟩ : = e 2 π i F k ( x ) ∣ x ⟩ . F_1(x):=x/d,\qquad F_k(x):=\sum_{t=0}^{x-1}\left(F_{k-1}(t)-\mu(F_{k-1})\right)\quad(k\ge2),\qquad D_k|x\rangle:=e^{2\pi iF_k(x)}|x\rangle. F 1 ( x ) := x / d , F k ( x ) := t = 0 ∑ x − 1 ( F k − 1 ( t ) − μ ( F k − 1 ) ) ( k ≥ 2 ) , D k ∣ x ⟩ := e 2 π i F k ( x ) ∣ x ⟩ .
Lemma A.1. We have D 1 = Z D_1=Z D 1 = Z . For k ≥ 2 k\ge2 k ≥ 2 , set c k = e − 2 π i μ ( F k − 1 ) c_k=e^{-2\pi i\mu(F_{k-1})} c k = e − 2 π i μ ( F k − 1 ) . Then D k Z D k ∗ = Z D_kZD_k^*=Z D k Z D k ∗ = Z , D k X D k ∗ = X ( c k D k − 1 ) D_kXD_k^*=X(c_kD_{k-1}) D k X D k ∗ = X ( c k D k − 1 ) , and thus D k ∈ C k ∖ C k − 1 D_k\in C_k\setminus C_{k-1} D k ∈ C k ∖ C k − 1 .
Proof. By construction, F k ( x + 1 ) − F k ( x ) = F k − 1 ( x ) − μ ( F k − 1 ) F_k(x+1)-F_k(x)=F_{k-1}(x)-\mu(F_{k-1}) F k ( x + 1 ) − F k ( x ) = F k − 1 ( x ) − μ ( F k − 1 ) . This includes the cyclic edge x = d − 1 x=d-1 x = d − 1 , because the right-hand side sums to zero. The conjugation identities follow, as does
D k X a D k ∗ = X a E k , a , E k , a = c k a ∏ r = 0 a − 1 X − r D k − 1 X r ( 0 ≤ a < d ) . D_kX^aD_k^*=X^aE_{k,a},\qquad E_{k,a}=c_k^a\prod_{r=0}^{a-1}X^{-r}D_{k-1}X^r\quad(0\le a<d). D k X a D k ∗ = X a E k , a , E k , a = c k a r = 0 ∏ a − 1 X − r D k − 1 X r ( 0 ≤ a < d ) .
Starting with D 1 = Z D_1=Z D 1 = Z , suppose inductively that D k − 1 ∈ D k − 1 D_{k-1}\in\mathcal{D}_{k-1} D k − 1 ∈ D k − 1 . Since diagonal gates in the same level of Clifford hierarchy form a group, we have E k , a ∈ D k − 1 E_{k,a}\in\mathcal{D}_{k-1} E k , a ∈ D k − 1 . Therefore, D k ( λ X a Z b ) D k ∗ = λ X a E k , a Z b ∈ C k − 1 D_k(\lambda X^aZ^b)D_k^*=\lambda X^aE_{k,a}Z^b\in C_{k-1} D k ( λ X a Z b ) D k ∗ = λ X a E k , a Z b ∈ C k − 1 , using Pauli multiplication invariance (the group property at level one and Lemma 2.5 at higher levels). Hence D k ∈ D k D_k\in\mathcal{D}_k D k ∈ D k .
To prove exactness, the cyclic adjacent ratio of the entries of D 2 D_2 D 2 is e 2 π i ( x / d − ( d − 1 ) / ( 2 d ) ) e^{2\pi i(x/d-(d-1)/(2d))} e 2 π i ( x / d − ( d − 1 ) / ( 2 d )) , which varies with x x x . A diagonal Pauli has a constant adjacent ratio, so D 2 ∉ C 1 D_2\notin C_1 D 2 ∈ / C 1 . For k ≥ 3 k\ge3 k ≥ 3 , if D k ∈ C k − 1 D_k\in C_{k-1} D k ∈ C k − 1 , then X ( c k D k − 1 ) ∈ C k − 2 X(c_kD_{k-1})\in C_{k-2} X ( c k D k − 1 ) ∈ C k − 2 . Removing the scalar and Pauli factor would give D k − 1 ∈ C k − 2 D_{k-1}\in C_{k-2} D k − 1 ∈ C k − 2 , contradicting induction. □
Obviously, for fixed k k k , D k D_k D k in Lemma A.1 also belongs to S C k ∖ S C k − 1 \mathcal{SC}_k\setminus\mathcal{SC}_{k-1} SC k ∖ SC k − 1 , N k ∖ N k − 1 \mathcal{N}_k\setminus\mathcal{N}_{k-1} N k ∖ N k − 1 , L S C k ∖ L S C k − 1 \mathcal{LSC}_k\setminus\mathcal{LSC}_{k-1} LSC k ∖ LSC k − 1 and G S C k ∖ G S C k − 1 \mathcal{GSC}_k\setminus\mathcal{GSC}_{k-1} G SC k ∖ G SC k − 1 . This shows that ( S C k ) k ≥ 1 (\mathcal{SC}_k)_{k\ge1} ( SC k ) k ≥ 1 , ( N k ) k ≥ 1 (\mathcal{N}_k)_{k\ge1} ( N k ) k ≥ 1 , ( L S C k ) k ≥ 1 (\mathcal{LSC}_k)_{k\ge1} ( LSC k ) k ≥ 1 , and ( G S C k ) k ≥ 1 (\mathcal{GSC}_k)_{k\ge1} ( G SC k ) k ≥ 1 are strictly increasing. Moreover, the same examples prove this fact for any number n ≥ 1 n\ge1 n ≥ 1 of qudits. We define C k ( n , d ) C_k^{(n,d)} C k ( n , d ) to be the k k k -th level of Clifford hierarchy gates in n n n qudits of dimension d d d . Indeed, U ∈ C k ( 1 , d ) U\in C_k^{(1,d)} U ∈ C k ( 1 , d ) if and only if U ⊗ I d ⊗ ( n − 1 ) ∈ C k ( n , d ) U\otimes I_d^{\otimes(n-1)}\in C_k^{(n,d)} U ⊗ I d ⊗ ( n − 1 ) ∈ C k ( n , d ) . At level one, this follows from the uniqueness of Pauli tensor factors up to scalar phases. Inductively, test against tensor-product Pauli operators and apply the equivalence at level k − 1 k-1 k − 1 ; the Pauli factors on the remaining sites can be removed without changing the level. Consequently, for every k ≥ 2 k\ge2 k ≥ 2 , D k ⊗ I d ⊗ ( n − 1 ) ∈ C k ( n , d ) ∖ C k − 1 ( n , d ) D_k\otimes I_d^{\otimes(n-1)}\in C_k^{(n,d)}\setminus C_{k-1}^{(n,d)} D k ⊗ I d ⊗ ( n − 1 ) ∈ C k ( n , d ) ∖ C k − 1 ( n , d ) .
Appendix B. Relations between S C \mathcal{SC} SC , N \mathcal{N} N , L S C \mathcal{LSC} LSC , and G S C \mathcal{GSC} G SC in dimension nine
Throughout this appendix, d = 9 d=9 d = 9 , η = e 2 π i / 27 \eta=e^{2\pi i/27} η = e 2 π i /27 , ω = η 3 \omega=\eta^3 ω = η 3 , and ζ = η 9 \zeta=\eta^9 ζ = η 9 . We first record the diagonal Clifford characterization needed below. A diagonal unitary T T T is Clifford if and only if, up to a scalar, T ∣ x ⟩ = ω e x 2 + f x ∣ x ⟩ T\lvert x\rangle= \omega^{ex^2+fx}\lvert x\rangle T ∣ x ⟩ = ω e x 2 + f x ∣ x ⟩ for some e , f ∈ Z 9 e,f \in\mathbb{Z}_9 e , f ∈ Z 9 . Indeed, if T ∣ x ⟩ = t x ∣ x ⟩ T\lvert x\rangle= t_x\lvert x\rangle T ∣ x ⟩ = t x ∣ x ⟩ is Clifford, then T X T ∗ = μ X Z r TXT^*=\mu XZ^r T X T ∗ = μ X Z r for some μ ∈ T \mu\in\mathbb{T} μ ∈ T and r ∈ Z 9 r\in\mathbb{Z}_9 r ∈ Z 9 , so t x + 1 / t x = μ ω r x t_{x+1}/t_x=\mu\omega^{rx} t x + 1 / t x = μ ω r x . Multiplying these ratios around the nine-cycle gives μ 9 = 1 \mu^9=1 μ 9 = 1 . Their successive products yield a quadratic exponent, since 2 2 2 is invertible modulo nine. Conversely, quadratic phases conjugate X X X to a Pauli and fix Z Z Z , hence are Clifford. Likewise, as presented in Lemma 2.5, a permutation gate is Clifford exactly when its permutation is affine with unit slope, as established in the preliminaries.
Lemma B.1 (Diagonal third-level gates in dimension nine). A diagonal unitary D D D belongs to C 3 C_3 C 3 if and only if there are unique λ ∈ T \lambda\in\mathbb{T} λ ∈ T and a , b , c ∈ { 0 , … , 8 } a,b,c\in\{0,\ldots,8\} a , b , c ∈ { 0 , … , 8 } such that D ∣ x ⟩ = λ η a x 3 + 3 b x 2 + 3 c x ∣ x ⟩ D\lvert x\rangle=\lambda\eta^{ax^3+3bx^2+3cx}\lvert x\rangle D ∣ x ⟩ = λ η a x 3 + 3 b x 2 + 3 c x ∣ x ⟩ for every x ∈ Z 9 x\in\mathbb{Z}_9 x ∈ Z 9 .
Proof. For integers a , b , c a,b,c a , b , c , the polynomial h ( x ) = a x 3 + 3 b x 2 + 3 c x h(x)=ax^3+3bx^2+3cx h ( x ) = a x 3 + 3 b x 2 + 3 c x satisfies h ( x + 9 ) ≡ h ( x ) ( m o d 27 ) h(x+9)\equiv h(x)\pmod{27} h ( x + 9 ) ≡ h ( x ) ( mod 27 ) , so the formula is well-defined. Its first difference is h ( x + 1 ) − h ( x ) = 3 a x 2 + 3 ( a + 2 b ) x + a + 3 b + 3 c h(x+1)-h(x)=3ax^2+3(a+2b)x+a+3b+3c h ( x + 1 ) − h ( x ) = 3 a x 2 + 3 ( a + 2 b ) x + a + 3 b + 3 c . Thus D Z D ∗ = Z DZD^*=Z D Z D ∗ = Z and D X D ∗ = η a + 3 b + 3 c X T DXD^*=\eta^{a+3b+3c}XT D X D ∗ = η a + 3 b + 3 c X T , where T ∣ x ⟩ = ω a x 2 + ( a + 2 b ) x ∣ x ⟩ T\lvert x\rangle=\omega^{ax^2+(a+2b)x}\lvert x\rangle T ∣ x ⟩ = ω a x 2 + ( a + 2 b ) x ∣ x ⟩ is Clifford. Since the Pauli group is generated by X X X , Z Z Z and scalar phases, and C 2 C_2 C 2 is a group, every conjugated Pauli is Clifford. Hence D ∈ C 3 D\in C_3 D ∈ C 3 .
Conversely, if D ∈ C 3 D\in C_3 D ∈ C 3 , then E = X ∗ D X D ∗ E=X^*DXD^* E = X ∗ D X D ∗ is a diagonal Clifford, so E ∣ x ⟩ : = μ ω e x 2 + f x ∣ x ⟩ E\lvert x\rangle:=\mu\omega^{ex^2+fx}\lvert x\rangle E ∣ x ⟩ := μ ω e x 2 + f x ∣ x ⟩ . Choose a , b ∈ { 0 , … , 8 } a,b\in\{0,\ldots,8\} a , b ∈ { 0 , … , 8 } with a ≡ e a\equiv e a ≡ e and a + 2 b ≡ f ( m o d 9 ) a+2b\equiv f\pmod9 a + 2 b ≡ f ( mod 9 ) , and set F ∣ x ⟩ : = η a x 3 + 3 b x 2 ∣ x ⟩ F\lvert x\rangle:=\eta^{ax^3+3bx^2}\lvert x\rangle F ∣ x ⟩ := η a x 3 + 3 b x 2 ∣ x ⟩ . The first-difference formula shows that the adjacent diagonal-entry ratios of D F ∗ DF^* D F ∗ are constant. Their product is one, so that constant is ω c \omega^c ω c for a unique c ∈ { 0 , … , 8 } c\in\{0,\ldots,8\} c ∈ { 0 , … , 8 } . Therefore D F ∗ = λ Z c DF^*=\lambda Z^c D F ∗ = λ Z c , giving the required form.
For uniqueness, λ = ⟨ 0 ∣ D ∣ 0 ⟩ \lambda=\langle0\lvert D\lvert0\rangle λ = ⟨ 0 ∣ D ∣ 0 ⟩ . The normalized adjacent ratios determine e , f e,f e , f uniquely: their values at x = 1 , 2 x=1,2 x = 1 , 2 determine the coefficients of e x 2 + f x ex^2+fx e x 2 + f x , since 2 2 2 is a unit in Z 9 \mathbb{Z}_9 Z 9 . Thus a , b a,b a , b , and then c c c , are uniquely determined. □
Relations at level three
We define Π 9 ∣ x ⟩ = ∣ p ( x ) ⟩ \Pi_9\lvert x\rangle=\lvert p(x)\rangle Π 9 ∣ x ⟩ = ∣ p ( x )⟩ , where p ( x ) = − 3 x 2 + x + 3 ( m o d 9 ) p(x)=-3x^2+x+3\pmod9 p ( x ) = − 3 x 2 + x + 3 ( mod 9 ) . It cycles 0 , 3 , 6 0,3,6 0 , 3 , 6 and fixes the other six labels, with inverse p − 1 ( x ) = 3 x 2 + x − 3 ( m o d 9 ) p^{-1}(x)=3x^2+x-3\pmod9 p − 1 ( x ) = 3 x 2 + x − 3 ( mod 9 ) . Direct substitution gives Π 9 X a Z b Π 9 ∗ ∣ x ⟩ = ω 3 b x 2 + b x − 3 b ∣ ( 1 + 3 a ) x + a − 3 a 2 ⟩ \Pi_9X^aZ^b\Pi_9^*\lvert x\rangle=\omega^{3bx^2+bx-3b}\lvert(1+3a)x+a-3a^2\rangle Π 9 X a Z b Π 9 ∗ ∣ x ⟩ = ω 3 b x 2 + b x − 3 b ∣( 1 + 3 a ) x + a − 3 a 2 ⟩ . The permutation is affine with unit slope and the phase is quadratic, so every conjugate is Clifford. Since Π 9 \Pi_9 Π 9 is a permutation gate, Π 9 ∈ N 3 \Pi_9\in\mathcal{N}_3 Π 9 ∈ N 3 . For a conjugate to be Pauli, its permutation must be a translation, which forces 3 ∣ a 3\mid a 3 ∣ a . The second finite difference of its phase exponent is 6 b ( m o d 9 ) 6b\pmod9 6 b ( mod 9 ) , so 3 ∣ b 3\mid b 3 ∣ b is also necessary. Conversely, these divisibilities reduce the conjugate to X a Z b X^aZ^b X a Z b . Consequently, K ( Π 9 ) = 3 Z 9 2 K(\Pi_9)=3\mathbb{Z}_9^2 K ( Π 9 ) = 3 Z 9 2 , and thus Π 9 ∈ ( N 3 ∩ L S C 3 ) ∖ S C 3 \Pi_9\in(\mathcal{N}_3\cap\mathcal{L}\mathcal{S}\mathcal{C}_3)\setminus\mathcal{S}\mathcal{C}_3 Π 9 ∈ ( N 3 ∩ LS C 3 ) ∖ S C 3 . The membership assertions follow from Lemma 4.1, since 3 Z 9 2 3\mathbb{Z}_9^2 3 Z 9 2 is Lagrangian and contains no unimodular element.
Proof of Proposition 4.2. Fix U ∈ C 3 U\in C_3 U ∈ C 3 and put S = S U = ⟨ S a , S b ⟩ \mathcal{S}=\mathcal{S}_U=\langle S_a,S_b\rangle S = S U = ⟨ S a , S b ⟩ , where S a = Φ U ( 1 , 0 ) S_a=\Phi_U(1,0) S a = Φ U ( 1 , 0 ) and S b = Φ U ( 0 , 1 ) S_b=\Phi_U(0,1) S b = Φ U ( 0 , 1 ) . By Lemma 4.1, S \mathcal{S} S is abelian, its order divides 81 81 81 , and ∣ K ( U ) ∣ ∣ S ∣ = 81 \lvert K(U)\rvert\lvert\mathcal{S}\rvert=81 ∣ K ( U )∣ ∣ S ∣ = 81 . It therefore suffices to prove ∣ S ∣ ≤ 9 \lvert\mathcal{S}\rvert\le9 ∣ S ∣ ≤ 9 . Let μ : S → S ‾ \mu:\mathcal{S}\to\overline{\mathcal{S}} μ : S → S denote reduction modulo three.
If S ‾ = { I } \overline{\mathcal{S}}=\{I\} S = { I } , both generators have the form I + 3 M I+3M I + 3 M and their cubes are the identity. Since they commute, ∣ S ∣ ≤ 9 \lvert\mathcal{S}\rvert\le9 ∣ S ∣ ≤ 9 .
Otherwise, ∣ S ‾ ∣ \lvert\overline{\mathcal{S}}\rvert ∣ S ∣ divides both 81 81 81 and ∣ S L 2 ( F 3 ) ∣ = 24 \lvert\mathrm{SL}_2(\mathbb{F}_3)\rvert=24 ∣ SL 2 ( F 3 )∣ = 24 , so ∣ S ‾ ∣ = 3 \lvert\overline{\mathcal{S}}\rvert=3 ∣ S ∣ = 3 . Choose S ∈ S S\in\mathcal{S} S ∈ S with S ‾ ≠ I \overline{S}\ne I S = I . This nonidentity matrix of order three is unipotent. After a change of basis in G L 2 ( F 3 ) \mathrm{GL}_2(\mathbb{F}_3) GL 2 ( F 3 ) , lifted to G L 2 ( Z 9 ) \mathrm{GL}_2(\mathbb{Z}_9) GL 2 ( Z 9 ) , we may assume S ‾ = ( 1 1 0 1 ) \overline{S}=\begin{pmatrix}1&1\\0&1\end{pmatrix} S = ( 1 0 1 1 ) . Every T ∈ ker μ T\in\ker\mu T ∈ ker μ has a unique expression T = I + 3 M T=I+3M T = I + 3 M with M ∈ M 2 ( F 3 ) M\in M_2(\mathbb{F}_3) M ∈ M 2 ( F 3 ) , where 3 M 3M 3 M is interpreted using any lift to M 2 ( Z 9 ) M_2(\mathbb{Z}_9) M 2 ( Z 9 ) . Since T T T commutes with S S S , we have M ‾ S ‾ = S ‾ M ‾ \overline{M}\overline{S}=\overline{S}\overline{M} M S = S M , hence M = ( u v 0 u ) M=\begin{pmatrix}u&v\\0&u\end{pmatrix} M = ( u 0 v u ) . The identity det T = 1 \det T=1 det T = 1 gives tr M = 2 u = 0 \operatorname{tr}M=2u=0 tr M = 2 u = 0 in F 3 \mathbb{F}_3 F 3 , so u = 0 u=0 u = 0 . Thus ∣ ker μ ∣ ≤ 3 \lvert\ker\mu\rvert\le3 ∣ ker μ ∣ ≤ 3 , and ∣ S ∣ = ∣ S ‾ ∣ ∣ ker μ ∣ ≤ 9 \lvert\mathcal{S}\rvert=\lvert\overline{\mathcal{S}}\rvert\lvert\ker\mu\rvert\le9 ∣ S ∣ = ∣ S ∣ ∣ ker μ ∣ ≤ 9 .
In either case, ∣ K ( U ) ∣ ≥ 9 \lvert K(U)\rvert\ge9 ∣ K ( U )∣ ≥ 9 , so Lemma 4.1(iii) gives U ∈ L S C 3 U\in\mathcal{L}\mathcal{S}\mathcal{C}_3 U ∈ LS C 3 . Together with L S C 3 ⊆ G S C 3 ⊆ C 3 \mathcal{L}\mathcal{S}\mathcal{C}_3\subseteq\mathcal{G}\mathcal{S}\mathcal{C}_3\subseteq C_3 LS C 3 ⊆ G S C 3 ⊆ C 3 , this proves (i). Part (ii) follows immediately from N 3 ⊆ C 3 \mathcal{N}_3\subseteq C_3 N 3 ⊆ C 3 . □
Separations at higher levels
We construct Q 9 ∈ N 4 ∖ L S C Q_9\in\mathcal{N}_4\setminus\mathcal{L}\mathcal{S}\mathcal{C} Q 9 ∈ N 4 ∖ LSC and V 9 ∈ G S C 4 ∖ ( N ∪ L S C ) V_9\in\mathcal{G}\mathcal{S}\mathcal{C}_4\setminus(\mathcal{N}\cup\mathcal{L}\mathcal{S}\mathcal{C}) V 9 ∈ G S C 4 ∖ ( N ∪ LSC ) . Since the excluded classes have no hierarchy restriction, these examples give the corresponding separations for every k ≥ 4 k\ge4 k ≥ 4 .
A permutation–diagonal gate outside LSC
Set T 9 ∣ x ⟩ = η x 4 + x 2 ∣ x ⟩ T_9\lvert x\rangle= \eta^{x^4+x^2}\lvert x\rangle T 9 ∣ x ⟩ = η x 4 + x 2 ∣ x ⟩ . This is well-defined modulo nine: replacing x x x by x + 9 x+9 x + 9 changes the exponent by 9 ( x 3 + 2 x ) 9(x^3+2x) 9 ( x 3 + 2 x ) (mod 27 27 27 ), which vanishes. We define diagonal gates E a ∣ x ⟩ = η h a ( x ) ∣ x ⟩ E_a\lvert x\rangle=\eta^{h_a(x)}\lvert x\rangle E a ∣ x ⟩ = η h a ( x ) ∣ x ⟩ , where h a ( x ) = 4 a x 3 + 6 a 2 x 2 + ( 4 a 3 + 2 a ) x + a 4 + a 2 h_a(x)=4ax^3+6a^2x^2+(4a^3+2a)x+a^4+a^2 h a ( x ) = 4 a x 3 + 6 a 2 x 2 + ( 4 a 3 + 2 a ) x + a 4 + a 2 . Then T 9 X a T 9 ∗ = X a E a T_9X^aT_9^*=X^aE_a T 9 X a T 9 ∗ = X a E a . The quadratic and linear coefficients of h a h_a h a are divisible by three, since a 3 ≡ a a^3\equiv a a 3 ≡ a (mod 3 3 3 ). Lemma B.1 therefore gives E a ∈ D 3 E_a\in D_3 E a ∈ D 3 . Here the cubic coefficient can be reduced modulo nine by adjusting the linear coefficient, using 9 x 3 ≡ 9 x 9x^3\equiv9x 9 x 3 ≡ 9 x (mod 27 27 27 ). Thus T 9 ∈ D 4 T_9\in D_4 T 9 ∈ D 4 .
Put Q 9 = Π 9 T 9 Q_9=\Pi_9T_9 Q 9 = Π 9 T 9 . For y = p − 1 ( x ) y=p^{-1}(x) y = p − 1 ( x ) , we have y ≡ x y\equiv x y ≡ x (mod 3 3 3 ), y 2 ≡ x 2 y^2\equiv x^2 y 2 ≡ x 2 (mod 9 9 9 ), and y 3 ≡ x 3 y^3\equiv x^3 y 3 ≡ x 3 (mod 27 27 27 ). Since y − x ≡ 3 ( x 2 − 1 ) y-x\equiv3(x^2-1) y − x ≡ 3 ( x 2 − 1 ) (mod 9 9 9 ), we have h a ( p − 1 ( x ) ) − h a ( x ) ≡ 3 ( 4 a 3 + 2 a ) ( x 2 − 1 ) h_a(p^{-1}(x))-h_a(x)\equiv3(4a^3+2a)(x^2-1) h a ( p − 1 ( x )) − h a ( x ) ≡ 3 ( 4 a 3 + 2 a ) ( x 2 − 1 ) (mod 27 27 27 ). The added term preserves the form in Lemma B.1, so Π 9 E a Π 9 ∗ ∈ D 3 \Pi_9E_a\Pi_9^*\in D_3 Π 9 E a Π 9 ∗ ∈ D 3 . Consequently,
Q 9 X a Z b Q 9 ∗ = ( Π 9 X a Z b Π 9 ∗ ) ( Π 9 E a Π 9 ∗ ) ∈ C 3 , Q_9X^aZ^bQ_9^*=(\Pi_9X^aZ^b\Pi_9^*)(\Pi_9E_a\Pi_9^*)\in C_3, Q 9 X a Z b Q 9 ∗ = ( Π 9 X a Z b Π 9 ∗ ) ( Π 9 E a Π 9 ∗ ) ∈ C 3 ,
by Clifford invariance. Therefore Q 9 ∈ N 4 Q_9\in\mathcal{N}_4 Q 9 ∈ N 4 .
For this conjugate to be Pauli, its permutation must be a translation, forcing a = 3 a 0 a=3a_0 a = 3 a 0 with a 0 ∈ { 0 , 1 , 2 } a_0\in\{0,1,2\} a 0 ∈ { 0 , 1 , 2 } . Its action then becomes Q 9 X 3 a 0 Z b Q 9 ∗ ∣ x ⟩ = ω g ( p − 1 ( x ) ) ∣ x + 3 a 0 ⟩ Q_9X^{3a_0}Z^bQ_9^*\lvert x\rangle=\omega^{g(p^{-1}(x))}\lvert x+3a_0\rangle Q 9 X 3 a 0 Z b Q 9 ∗ ∣ x ⟩ = ω g ( p − 1 ( x )) ∣ x + 3 a 0 ⟩ , where g ( x ) = 4 a 0 x 3 + ( 2 a 0 + b ) x + 3 a 0 2 g(x)=4a_0x^3+(2a_0+b)x+3a_0^2 g ( x ) = 4 a 0 x 3 + ( 2 a 0 + b ) x + 3 a 0 2 (mod 9 9 9 ). The second finite difference of g ∘ p − 1 g\circ p^{-1} g ∘ p − 1 is 6 a 0 x + 6 b 6a_0x+6b 6 a 0 x + 6 b (mod 9 9 9 ). If the phase is affine, its values at x = 0 , 1 x=0,1 x = 0 , 1 force 3 ∣ b 3\mid b 3 ∣ b and a 0 = 0 a_0=0 a 0 = 0 . These conditions also suffice. Hence K ( Q 9 ) = { ( 0 , 0 ) , ( 0 , 3 ) , ( 0 , 6 ) } K(Q_9)=\{(0,0),(0,3),(0,6)\} K ( Q 9 ) = {( 0 , 0 ) , ( 0 , 3 ) , ( 0 , 6 )} , which contains no Lagrangian because every Lagrangian in Z 9 2 \mathbb{Z}_9^2 Z 9 2 has order nine. Thus Q 9 ∉ L S C Q_9\notin LSC Q 9 ∈ / L S C .
A generalized semi-Clifford gate outside both intermediate classes
Let L n f = 3 Z 9 2 L_{\mathrm{nf}}=3\mathbb{Z}_9^2 L nf = 3 Z 9 2 . We use the joint eigenbasis
∣ y , z ⟩ f t = 1 3 ∑ t = 0 2 ζ − z t ∣ y + 3 t ⟩ , y , z ∈ { 0 , 1 , 2 } . \lvert y,z\rangle_{\mathrm{ft}}=\frac{1}{\sqrt{3}}\sum_{t=0}^{2}\zeta^{-zt}\lvert y+3t\rangle,\qquad y,z\in\{0,1,2\}. ∣ y , z ⟩ ft = 3 1 t = 0 ∑ 2 ζ − z t ∣ y + 3 t ⟩ , y , z ∈ { 0 , 1 , 2 } .
It satisfies X 3 ∣ y , z ⟩ f t = ζ z ∣ y , z ⟩ f t X^3\lvert y,z\rangle_{\mathrm{ft}}=\zeta^z\lvert y,z\rangle_{\mathrm{ft}} X 3 ∣ y , z ⟩ ft = ζ z ∣ y , z ⟩ ft and Z 3 ∣ y , z ⟩ f t = ζ y ∣ y , z ⟩ f t Z^3\lvert y,z\rangle_{\mathrm{ft}}=\zeta^y\lvert y,z\rangle_{\mathrm{ft}} Z 3 ∣ y , z ⟩ ft = ζ y ∣ y , z ⟩ ft . The nine joint eigenvalue pairs are distinct, so A L n f \mathcal{A}_{L_{\mathrm{nf}}} A L nf is precisely the algebra diagonal in this basis. We define
V 9 ∣ y , z ⟩ f t : = η y 3 ζ y z 2 ∣ y , z − y 2 ⟩ f t . V_9\lvert y,z\rangle_{\mathrm{ft}}:=\eta^{y^3\zeta^{yz^2}}\lvert y,z-y^2\rangle_{\mathrm{ft}}. V 9 ∣ y , z ⟩ ft := η y 3 ζ y z 2 ∣ y , z − y 2 ⟩ ft .
The output labels are taken modulo three, whereas y 3 y^3 y 3 in the exponent of η \eta η uses y ∈ { 0 , 1 , 2 } y\in\{0,1,2\} y ∈ { 0 , 1 , 2 } . This operator permutes the basis vectors up to phases, so it is unitary and normalizes A L n f \mathcal{A}_{L_{\mathrm{nf}}} A L nf . Therefore V 9 ∈ G S C V_9\in GSC V 9 ∈ GS C .
We first prove V 9 ∈ C 4 V_9\in C_4 V 9 ∈ C 4 . For a polynomial function f : F 3 2 → F 3 f:\mathbb{F}_3^2\to\mathbb{F}_3 f : F 3 2 → F 3 , define D f ∣ y , z ⟩ f t = ζ f ( y , z ) ∣ y , z ⟩ f t D_f\lvert y,z\rangle_{\mathrm{ft}}=\zeta^{f(y,z)}\lvert y,z\rangle_{\mathrm{ft}} D f ∣ y , z ⟩ ft = ζ f ( y , z ) ∣ y , z ⟩ ft . If f f f is affine, then D f D_f D f is a Pauli, since the phases ζ y \zeta^y ζ y and ζ z \zeta^z ζ z represent Z 3 Z^3 Z 3 and X 3 X^3 X 3 . A Pauli W = X a Z b W=X^aZ^b W = X a Z b translates the labels by ( y , z ) ↦ ( y + a ˉ , z − b ˉ ) (y,z)\mapsto(y+\bar a,z-\bar b) ( y , z ) ↦ ( y + a ˉ , z − b ˉ ) , up to phases, where bars denote reduction modulo three. Consequently, D f W D f ∗ = W D f ( y + a ˉ , z − b ˉ ) − f ( y , z ) D_fWD_f^*=WD_{f(y+\bar a,z-\bar b)-f(y,z)} D f W D f ∗ = W D f ( y + a ˉ , z − b ˉ ) − f ( y , z ) . Finite differences lower the total degree. Thus, a polynomial of degree at most two gives a Clifford D f D_f D f , and one of degree at most three gives D f ∈ C 3 D_f\in C_3 D f ∈ C 3 .
Let P ∣ x ⟩ = η x 3 ∣ x ⟩ P\lvert x\rangle=\eta^{x^3}\lvert x\rangle P ∣ x ⟩ = η x 3 ∣ x ⟩ . Lemma B.1 gives P ∈ D 3 P\in D_3 P ∈ D 3 , and expansion of ( y + 3 t ) 3 (y+3t)^3 ( y + 3 t ) 3 modulo 27 27 27 gives P ∣ y , z ⟩ f t = η y 3 ∣ y , z − y 2 ⟩ f t P\lvert y,z\rangle_{\mathrm{ft}}=\eta^{y^3}\lvert y,z-y^2\rangle_{\mathrm{ft}} P ∣ y , z ⟩ ft = η y 3 ∣ y , z − y 2 ⟩ ft . Hence V 9 = P D y z 2 V_9=P D_{yz^2} V 9 = P D y z 2 . For W = X a Z b W=X^aZ^b W = X a Z b , write D y z 2 W D y z 2 ∗ = W D f D_{yz^2}WD_{yz^2}^*=WD_f D y z 2 W D y z 2 ∗ = W D f , where f ( y , z ) = ( y + a ˉ ) ( z − b ˉ ) 2 − y z 2 f(y,z)=(y+\bar a)(z-\bar b)^2-yz^2 f ( y , z ) = ( y + a ˉ ) ( z − b ˉ ) 2 − y z 2 . Conjugation by P P P replaces z z z by z + y 2 z+y^2 z + y 2 . Using y 3 = y y^3=y y 3 = y on F 3 \mathbb{F}_3 F 3 , we obtain f ( y , z + y 2 ) = − a ˉ z 2 + q ( y , z ) f(y,z+y^2)=-\bar a z^2+q(y,z) f ( y , z + y 2 ) = − a ˉ z 2 + q ( y , z ) , where q q q has degree at most two. Therefore, V 9 W V 9 ∗ = ( P W P ∗ ) D q D − a ˉ z 2 ∈ C 3 V_9WV_9^*=(PWP^*)D_qD_{-\bar a z^2}\in C_3 V 9 W V 9 ∗ = ( P W P ∗ ) D q D − a ˉ z 2 ∈ C 3 , as the first two factors are Clifford and the last lies in C 3 C_3 C 3 . This proves V 9 ∈ C 4 V_9\in C_4 V 9 ∈ C 4 .
Next, suppose V 9 ∈ N V_9\in\mathcal{N} V 9 ∈ N . By Lemma 2.9(ii), there are unimodular labels ( a , b ) (a,b) ( a , b ) and ( c , e ) (c,e) ( c , e ) such that G = V 9 X a Z b V 9 ∗ G=V_9X^aZ^bV_9^* G = V 9 X a Z b V 9 ∗ commutes with W = X c Z e W=X^cZ^e W = X c Z e . Up to a scalar independent of y , z y,z y , z , we have G 3 ∣ y , z ⟩ f t = ζ a ( z + y 2 ) + b y ∣ y , z ⟩ f t G^3\lvert y,z\rangle_{\mathrm{ft}}=\zeta^{a(z+y^2)+by}\lvert y,z\rangle_{\mathrm{ft}} G 3 ∣ y , z ⟩ ft = ζ a ( z + y 2 ) + b y ∣ y , z ⟩ ft . Since W W W translates the labels by ( c , − e ) (c,-e) ( c , − e ) modulo three, commutation with G 3 G^3 G 3 requires a ( 2 c y + c 2 − e ) + b c = 0 a(2cy+c^2-e)+bc=0 a ( 2 cy + c 2 − e ) + b c = 0 in F 3 \mathbb{F}_3 F 3 for every y y y . If a ≠ 0 a\ne0 a = 0 (mod 3 3 3 ), the linear and constant coefficients give c ≡ e ≡ 0 c\equiv e\equiv0 c ≡ e ≡ 0 (mod 3 3 3 ), contradicting admissibility. Thus a ≡ 0 a\equiv0 a ≡ 0 and b ≠ 0 b\ne0 b = 0 ; the same identity then forces c ≡ 0 c\equiv0 c ≡ 0 , so e ≠ 0 e\ne0 e = 0 . Write a = 3 a 0 a = 3a_0 a = 3 a 0 and c = 3 c 0 c = 3c_0 c = 3 c 0 , with a 0 , c 0 ∈ { 0 , 1 , 2 } a_0,c_0 \in\{0,1,2\} a 0 , c 0 ∈ { 0 , 1 , 2 } . The defining action of V 9 V_9 V 9 gives
G ∣ y , z ⟩ f t = λ y ζ ( a 0 + b y ) z ∣ y , z − b ⟩ f t , G|y,z\rangle_{\mathrm{ft}} = \lambda_y\zeta^{(a_0+by)z}|y,z-b\rangle_{\mathrm{ft}}, G ∣ y , z ⟩ ft = λ y ζ ( a 0 + b y ) z ∣ y , z − b ⟩ ft ,
W ∣ y , z ⟩ f t = μ y ζ c 0 z ∣ y , z − e ⟩ f t , W|y,z\rangle_{\mathrm{ft}} = \mu_y\zeta^{c_0z}|y,z-e\rangle_{\mathrm{ft}}, W ∣ y , z ⟩ ft = μ y ζ c 0 z ∣ y , z − e ⟩ ft ,
where λ y , μ y \lambda_y,\mu_y λ y , μ y are phases independent of z z z . Commutation requires e ( a 0 + b y ) = c 0 b e(a_0+by)=c_0b e ( a 0 + b y ) = c 0 b in F 3 \mathbb{F}_3 F 3 for every y y y . Subtracting the equations for y = 1 , 0 y=1,0 y = 1 , 0 gives e b = 0 eb=0 e b = 0 , contradicting b , e ≢ 0 ( m o d 3 ) b,e\not\equiv0\pmod{3} b , e ≡ 0 ( mod 3 ) . Therefore V 9 ∉ N V_9\notin\mathcal{N} V 9 ∈ / N .
Finally, S C ⊆ N \mathcal{SC}\subseteq\mathcal{N} SC ⊆ N and Lemma 2.9(i) imply that K ( V 9 ) K(V_9) K ( V 9 ) contains no unimodular element. Thus K ( V 9 ) ⊆ 3 Z 9 2 K(V_9)\subseteq3\mathbb{Z}_9^2 K ( V 9 ) ⊆ 3 Z 9 2 . For t , u ∈ Z 3 t,u\in\mathbb{Z}_3 t , u ∈ Z 3 , direct conjugation gives
V 9 X 3 t Z 3 u V 9 ∗ ∣ y , z ⟩ f t = ζ t ( z + y 2 ) + u y ∣ y , z ⟩ f t . V_9X^{3t}Z^{3u}V_9^*|y,z\rangle_{\mathrm{ft}}=\zeta^{t(z+y^2)+uy}|y,z\rangle_{\mathrm{ft}}. V 9 X 3 t Z 3 u V 9 ∗ ∣ y , z ⟩ ft = ζ t ( z + y 2 ) + u y ∣ y , z ⟩ ft .
A Pauli diagonal in this basis commutes with X 3 , Z 3 X^3,Z^3 X 3 , Z 3 , so its label lies in L n f ⊥ = L n f L_{\mathrm{nf}}^\perp=L_{\mathrm{nf}} L nf ⊥ = L nf . Its phase exponent is therefore affine in y , z y,z y , z . The displayed exponent is affine exactly when t = 0 t=0 t = 0 , giving K ( V 9 ) = { ( 0 , 0 ) , ( 0 , 3 ) , ( 0 , 6 ) } K(V_9)=\{(0,0),(0,3),(0,6)\} K ( V 9 ) = {( 0 , 0 ) , ( 0 , 3 ) , ( 0 , 6 )} . This kernel has order three and contains no Lagrangian, so V 9 ∉ L S C V_9\notin\mathcal{LSC} V 9 ∈ / LSC . Both Q 9 Q_9 Q 9 and V 9 V_9 V 9 have exact level four, because Proposition 4.2 places every third-level gate in L S C \mathcal{LSC} LSC .
École polytechnique fédérale de Lausanne (EPFL), Lausanne, Switzerland
Email address: yifei.qi@epfl.ch
Department of Mathematics, University of California, Berkeley, CA 94720
Email address: rsarkar@berkeley.edu