Quantum computing · Theory (AI-assisted)
A Singleton bound for codes with a transversal non-Clifford gate
arXiv:2612.00424v1 ↗PDF ↗Submitted 30 November 2026
- Question
- Magic-state distillation uses CSS codes on which a non-Clifford diagonal gate is transversal. Codes with constant rate and constant relative distance now exist for such gates, so the useful question is quantitative: which pairs of rate \(K/N\) and relative \(Z\)-distance \(d_Z/N\) are possible? The quantum Singleton bound \(K+2(d-1)\le N\) ignores the transversal gate. How much does requiring one cost?
- Result
- For any CSS code over any finite field with a transversal diagonal gate of degree \(t\), the inequality \((t-1)K_\tau+t(d_Z-1)\le N+t-2\) holds, where \(K_\tau\) counts the logical qudits on which the gate acts nontrivially. For \(t=3\), families obey \(2R+3\delta_Z\le1\), half the rate allowed by the quantum Singleton bound. Reed–Solomon codes attain the bound, and algebraic-geometry codes on the Garcia–Stichtenoth tower over \(\mathbb F_{\ell^2}\) achieve \((t-1)R+t\delta_Z\ge1-2(t-1)/(\ell-1)\) in every characteristic.
The paper in detail
In a CSS code \((H,W_0)\) over \(\mathbb F_q\), the \(X\)-type stabilizers form a subspace \(W_0\) of the code words \(H\), and \(K=\dim H-\dim W_0\) logical qudits are encoded. A transversal diagonal gate of degree \(t\) multiplies a basis state \(|c\rangle\) by a phase whose exponent is a degree-\(t\) polynomial \(F(c)=\sum_lw_lc_l^t\). Expanding \(F(c+a)-F(c)\) shows that the gate preserves the code exactly when every weighted coordinatewise product of \(t\) code words, one of them a stabilizer, sums to zero. The author calls this condition \((G_t)\); for qubits and \(t=3\) it is the triple-overlap part of triorthogonality.
The gate need not act on every logical qudit. The \(t\)-linear form \(\tau_w(a,b,\dots)=\sum_lw_la_lb_l\cdots\) descends to the logical space, and \(K_\tau\) is the number of logical qudits it depends on. The count matters: a code built from pairs \((x,-x)\) over an odd field has \(\tau\equiv0\), any \(K\) and any distance, and violates every Singleton-type bound stated with \(K\), while its transversal gate acts as the identity.
The proof is a degree count. In a Reed–Solomon code with stabilizers of degree at most \(a\) and code words of degree at most \(b\), condition \((G_t)\) holds when \(a+(t-1)b\le q-2\), because power sums over \(\mathbb F_q\) vanish below degree \(q-1\). The stabilizer degree \(a\) appears \(t\) times in that count and sets the distance, while the \(b-a\) logical degrees appear \(t-1\) times. For general codes, a theorem of Mirandola and Zémor says the coordinatewise square of an indecomposable code has dimension at least twice that of the code minus one, as degrees add for polynomials, and the same count goes through with dimensions in place of degrees.
Codes on curves replace polynomials by functions with bounded poles, and the residue theorem replaces the vanishing of power sums. The genus \(g\) raises the allowed product degree by \(2g\) but lowers the guaranteed distance by \(2g\), which is counted \(t\) times, so each unit of genus costs \(2(t-1)\) in \((t-1)K+t(d_Z-1)\). On the Garcia–Stichtenoth tower this gives the line \((t-1)R+t\delta_Z\ge1-2(t-1)/(\ell-1)\), for instance \(2R+3\delta_Z\ge1/2\) over \(\mathbb F_{81}\). Where the true optimum lies between the two lines is open.
Transferable methods
Singleton step plus the growth of coordinatewise powers
A low-weight undetected \(Z\) error exists whenever the stabilizer space is small, which is the classical Singleton argument. The transversal gate forces the stabilizers, and more generally the radical of the logical form, to be orthogonal to all products of \(t-1\) code words. That space of products is large unless the code splits into independent blocks, so the radical, and with it the distance, must be small.
Lemma 3.1: if \(C\subsetneq C'\), some \(v\perp C\) with \(v\not\perp C'\) has weight at most \(\dim C+1\). Applied to \(\operatorname{Rad}\subsetneq H\) it gives \(d_Z-1\le\rho=\dim\operatorname{Rad}\). By definition \(w*\operatorname{Rad}\perp H^{*(t-1)}\), and iterating the Mirandola–Zémor inequality \(\dim(S*T)\ge\dim S+\dim T-1\) for indecomposable products gives \(\dim H^{*(t-1)}\ge(t-1)\dim H-(t-2)\). Hence \[\rho\le N-(t-1)(\rho+K_\tau)+(t-2),\] which with \(d_Z-1\le\rho\) is the bound. If \(H^{*(t-1)}\) decomposes into \(m\) blocks, the same estimate on each block, summed, loses \((m-1)(t(d_Z-1)-(t-2))\ge0\), so the bound still holds.
Editorial check: for \(p\le19\), every Reed–Solomon code of Proposition 4.1 with \(a\le3\) and \(a+(t-1)b=p-2\) satisfies \((G_t)\) by exhaustive enumeration of products, has a nondegenerate logical form, and meets the bound with equality, from \([[7,1,3]]_7\) to \([[19,4,5]]_{19}\) for \(t=3\) and from \([[5,1,2]]_5\) to \([[19,3,4]]_{19}\) for \(t=4\), exactly the fourteen codes of Table 1.
How to reuse it
Replacing a degree count by the Mirandola–Zémor dimension inequality could give Singleton-type bounds for other constraints defined by coordinatewise products, such as codes supporting transversal gates across several blocks, or the codes used in arithmetic secret sharing.
Residues on curves trade genus against distance
Reed–Solomon codes have length at most \(q+1\), so families over a fixed alphabet need curves with many rational points. On a curve, sums of function values no longer vanish automatically, but the residue theorem makes weighted sums vanish, and choosing a differential whose residues are all equal to one keeps the weights trivial. The price of the genus can then be counted exactly.
Take \(W_0\) and \(H\) as evaluations of the Riemann–Roch spaces \(\mathcal L(G_0)\subseteq\mathcal L(G_1)\), of degrees \(a\) and \(b\). A product of one function from \(\mathcal L(G_0)\) and \(t-1\) from \(\mathcal L(G_1)\) lies in \(\mathcal L(G_0+(t-1)G_1)\), and its values sum to zero against the residues of a differential \(\eta\) with \((\eta)\ge G_0+(t-1)G_1-D\). In the canonical case \(a+(t-1)b=N+2g-2\), Theorem 5.1 gives \(K=K_\tau=b-a\) and \(d_Z\ge a-2g+2\), so \[(t-1)K+t(d_Z-1)\ \ge\ N+t-2-2(t-1)g.\] On a tower with \(N/g\to\ell-1\), dividing by \(N\) gives the stated line.
Editorial note: at \(g=0\) this is exactly Proposition 4.1, so the Reed–Solomon codes that meet the upper bound are the genus-zero end of the same construction. The defect \(4g\) in the bound for \(t=3\) matches the small elliptic and genus-two examples of Table 4.
How to reuse it
The differential \(dz/(z-1)\), which makes all residues equal in odd characteristic, could also give explicit odd-characteristic versions of other tower constructions that have so far been written only over fields of characteristic two.
Context & limitations
Why it matters. The bound and the construction play the roles of the Singleton and Tsfasman–Vlăduţ–Zink bounds for distillation codes: two parallel lines in the rate–distance plane with a gap that shrinks as the alphabet grows. The bound shows that the distance lower bounds stated for two published codes over \(\mathbb F_{64}\) and \(\mathbb F_{1024}\) are exact, and sharpens the bound \(N\ge2K\) for qubit triorthogonal codes to \(N\ge2K+2\).
Limitations. The bound concerns the \(Z\)-distance only; a joint bound with the \(X\)-distance is open. For qubits it uses only the mod-2 consequence of a transversal \(T\), which may not be tight. The construction needs alphabets of size \(q=\ell^2\) with \(\ell>2t-1\), so it says nothing directly about small alphabets; a companion paper treats qutrits. Every known code meeting the bound with \(d_Z\ge3\) has length at most \(q\), and whether longer ones exist is open. The author acknowledges assistance from Claude Fable 5.2 and Opus 5.5.