- The paper establishes necessary and sufficient modular conditions for transversal physical Z-rotations to implement logical single-qubit and multi-controlled-Z gates in CSS codes, including the bound p ≥ ℓ + m − 1 for addressable (m−1)-controlled rotations.
- The appending construction extends any primary CSS code with dedicated auxiliary blocks for arbitrary target gates while preserving logical-qubit count and controlling distance loss, including a worked [[15,7,3]] Steane-code example producing a [[43,7,≥2]] code for an addressable logical T gate.
- The resulting asymptotic families achieve [[n,Θ(n),Ω(n)]] codes for fixed addressable S gates, while higher-level rotations face sublinear-distance, non-LDPC, and auxiliary-code limitations tied to open questions about divisible classical codes.
This paper develops a theory and a constructive framework for CSS quantum error-correcting codes that implement target logical diagonal gates fault-tolerantly via transversal physical Z-rotations (2608.19094). The work proceeds in three stages: an exact characterization of nested classical code pairs (C2⊆C1) whose associated CSS codes realize a prescribed logical diagonal gate; a modular "appending construction" that extends any primary CSS code to support an arbitrary set of such gates; and explicit asymptotic code families realizing addressable logical S gates and higher-level Z-rotations.
Characterization of realizable logical diagonal gates
The central technical result is a necessary-and-sufficient condition for a dyadic transversal physical Z-rotation U(p,w)=diag(expι2pπ(w⋅x):x∈F2n) to realize a target logical gate UL=diag(expι2ℓπf(a):a∈F2k) on a CSS code (C1,C2)CSS. The condition requires p≥ℓ together with three families of modular equations involving the dot products of w with codewords of (C2⊆C1)0, with coset representatives of (C2⊆C1)1, and with their Schur products. A key structural consequence, recovered independently by Camps-Moreno et al., is that the function (C2⊆C1)2 cannot be arbitrary: it decomposes over the coset basis (C2⊆C1)3 and its (C2⊆C1)4-fold Schur products, so CSS codes can realize only logical single-qubit (C2⊆C1)5-rotations and multi-controlled-(C2⊆C1)6 rotations through transversal physical (C2⊆C1)7-rotations. This is a hard restriction on what any CSS construction of this type can achieve.
For addressable multi-controlled-(C2⊆C1)8 rotations, the paper strengthens the level requirement: realizing an addressable (C2⊆C1)9-controlled rotation S0 forces S1, proved by contradiction using the parity structure of the address tensor. The proof technique reduces global modular constraints on the full coset space to equivalent constraints on basis vectors and their Schur products, which is what makes the subsequent constructive framework tractable. A relaxed variant of the characterization is also derived, in which the strict modulo-S2 conditions are weakened to modulo-S3; the resulting vector can be lifted to one satisfying the original equations, so the relaxed conditions characterize codes realizing the target gate up to physical Pauli S4 corrections. The authors note this relaxation cannot be pushed further without introducing bilinear terms that would require non-transversal two-qubit gates.
The appending framework
The constructive contribution exploits the locality of the characterization: satisfying the modular equations depends only on the appended coordinates on which the rotation vector S5 is supported. Given a primary S6 CSS code and target gates S7, the construction appends dedicated block-columns to the generator matrices of S8 and S9. Each block is assigned to one target gate, and the corresponding transversal rotation acts exclusively on that block's qubits. Because Z0 becomes a direct sum, the derived code's parameters satisfy Z1 and Z2, so the number of logical qubits is preserved and the distance loss is controlled by the auxiliary codes used to build the blocks.
The appending matrices themselves are extracted from an auxiliary CSS code Z3 in which the physical transversal Z4 realizes the logical transversal Z5: rows of its coset generator matrix supply the required weight congruences. When the target address vector has more than Z6 nonzero entries, the target gate is factored into sub-gates each supported on at most Z7 logical qubits, and the corresponding physical rotations are composed. For multi-controlled-Z8 rotations, the construction is inductive in the number of controls: the base case is the single-qubit construction, and each Z9-controlled gate is built from lower-order matrices, with residual logical phases from lower-order Schur-product terms cancelled by appending matrices realizing the inverse gates (inverses being obtained simply by negating Z0). A worked example starting from the Z1 Steane code and a punctured Reed–Muller auxiliary code yields a Z2 code realizing an addressable logical Z3 gate on three specified logical qubits.
Asymptotic code families
For Z4 (logical Z5), combining asymptotically good doubly-even self-dual codes as both primary and auxiliary components yields an asymptotically good family Z6 realizing any fixed sequence of addressable logical Z7 gates; using explicit asymptotically good self-orthogonal codes with good duals makes the family explicit via the relaxed characterization. For Z8, the bottleneck is the auxiliary code: punctured Reed–Muller codes give Z9 codes realizing logical transversal U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)0, with U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)1. Instantiating against an asymptotically good primary family produces:
| Regime |
Parameters |
Gate realized |
| Fixed addresses, U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)2 |
U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)3 |
U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)4 |
| Fixed addresses, U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)5, support U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)6 |
U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)7, U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)8 |
U(p,w)=diag(expι2pπ(w⋅x):x∈F2n)9 |
| Any address, UL=diag(expι2ℓπf(a):a∈F2k)0 |
UL=diag(expι2ℓπf(a):a∈F2k)1 |
any UL=diag(expι2ℓπf(a):a∈F2k)2 |
| Any address, UL=diag(expι2ℓπf(a):a∈F2k)3, UL=diag(expι2ℓπf(a):a∈F2k)4 |
UL=diag(expι2ℓπf(a):a∈F2k)5 |
any UL=diag(expι2ℓπf(a):a∈F2k)6 |
| Any address, UL=diag(expι2ℓπf(a):a∈F2k)7, UL=diag(expι2ℓπf(a):a∈F2k)8 |
UL=diag(expι2ℓπf(a):a∈F2k)9 |
any (C1,C2)CSS0 |
The tradeoff between target-support size and minimum distance in the second row is explicit: larger (C1,C2)CSS1 degrades (C1,C2)CSS2. Analogous families for multi-controlled-(C1,C2)CSS3 rotations follow from the general appending-matrix constructions.
Limitations and open questions
Several limitations are stated plainly by the authors. First, the derived families are not LDPC: guaranteeing (C1,C2)CSS4-distance by bounding the weight of the entire logical-(C1,C2)CSS5 space forces dense (C1,C2)CSS6-stabilizers, and constructing LDPC auxiliary codes realizing logical transversal (C1,C2)CSS7 remains open. Second, the sub-linear scaling of the best known CSS codes realizing logical transversal higher-level (C1,C2)CSS8-rotations caps the achievable parameters; the paper poses the underlying classical question—whether asymptotically good (C1,C2)CSS9-divisible codes with asymptotically good duals exist for p≥ℓ0—whose resolution would directly improve all Reed–Muller-based families here. Third, the appending construction incurs physical overhead proportional to the number of target gates, since each gate receives dedicated coordinates; length-optimized direct constructions would sacrifice the framework's flexibility. Finally, the relaxed characterizations have so far been exploited only for p≥ℓ1 and p≥ℓ2 gates, where punctured self-orthogonal codes substitute for doubly-even ones; whether they yield improved codes more broadly is unresolved.
Conclusion
The paper provides both a complete algebraic characterization of when transversal physical p≥ℓ3-rotations realize target logical diagonal gates in CSS codes and a systematic, composable construction—appending—that converts any primary CSS code into one supporting an arbitrary prescribed set of addressable single-qubit and multi-controlled-p≥ℓ4 rotations at bounded distance loss. The resulting asymptotic families demonstrate that diverse diagonal gate sets, including non-Clifford levels beyond p≥ℓ5, can be consolidated within single CSS codes, complementing code-switching approaches that need only supply the logical Hadamard. The principal quantitative limits—sub-linear distances for p≥ℓ6, non-LDPC stabilizers, and per-gate overhead—are tied to specific open problems in divisible-code theory rather than to intrinsic barriers of the framework itself.