Sharp joint distances and equality rigidity in weighted transversal codes
How much protection against logical \(X\) and \(Z\) errors can a weighted transversal code provide at a given length and logical dimension? Prakash's joint-distance question has an exact answer when the field may vary. Attaining the transversal Singleton bound also forces a specific algebraic structure. At degree three and above, the larger of the two constituent codes must be a generalised Reed–Solomon code. In the weighted \((G_t)\) model, take nested linear codes \(W_0\subseteq H\subseteq\mathbb F_q^N\), where \(N\) is the code length and \(q\) is the field size. For an integer \(t\ge2\) and nonzero weights \(w_i\in\mathbb F_q\), the transversal form is \[\tau_w(h_1,\ldots,h_t)=\sum_{i=1}^N w_i\prod_{j=1}^t(h_j)_i, \qquad h_1,\ldots,h_t\in H. \] The model requires \(W_0\subseteq R\), where \(R=\{h\in H:\tau_w(h,h_2,\ldots,h_t)=0\text{ for all }h_2,\ldots,h_t\in H\}\) is the radical. The local contributions are multiplied coordinate by coordinate and then summed with the weights. Radical directions make zero contribution for every choice of the other inputs, so the form depends only on the classes in \(H/R\). Its effective logical dimension is \(K_\tau=\dim H-\dim R\). The two logical distances are \[d_Z=\min_{v\in W_0^\perp\setminus H^\perp}\operatorname{wt}(v),\qquad d_X=\min_{v\in H\setminus W_0}\operatorname{wt}(v), \] where \(\perp\) denotes the ordinary dot-product dual and \(\operatorname{wt}\) counts nonzero coordinates. For every finite field, with \(K_\tau\ge1\) and \(d_Z\ge2\), the joint restrictions are \[(t-1)K_\tau+t(d_Z-1)\le N+t-2,\qquad d_X\le N+2-K_\tau-d_Z. \] The first is Prakash's transversal Singleton bound. The second is the asymmetric CSS Singleton restriction in terms of \(K_\tau\), which can be smaller than \(\dim H-\dim W_0\). The new result is simultaneous attainment. For every integer tuple \((N,t,K_\tau,d_Z)\) in the stated ranges satisfying the first inequality, every field with \(q>N\) admits a code with exactly the prescribed \(K_\tau,d_Z\) and \(d_X=N+2-K_\tau-d_Z\). Thus the two inequalities decide feasibility for guarantees of at least the specified distances when the alphabet can vary. The upper bounds apply over smaller fields as well, including binary instances of the model. Attainment is guaranteed for \(q>N\). An exact qubit transversal \(T\) gate has a separate mod-8 condition. Prakash, §6, p. 17, joint-distance question To construct a code at the maximum, set \(a=d_Z-2\), \(b=a+K_\tau\), \(s=a+(t-1)b\) and \(\delta=N-2-s\ge0\). Choose distinct \(\alpha_1,\ldots,\alpha_N,\beta\in\mathbb F_q\). Take \(W_0\) and \(H\) to be the evaluations at the \(\alpha_i\) of polynomials of degree at most \(a\) and \(b\), respectively. With \(L(X)=\prod_{i=1}^N(X-\alpha_i)\) and formal derivative \(L'\), use \[w_i=\frac{(\alpha_i-\beta)^\delta}{L'(\alpha_i)}. \] Every weight is nonzero. For each polynomial \(P\) of degree at most \(s+1\), the weighted moment satisfies \[\sum_{i=1}^N w_iP(\alpha_i)=[X^{N-1}]\big((X-\beta)^\delta P(X)\big), \] where \([X^{N-1}]\) extracts the indicated coefficient. Products having one factor from \(W_0\) have degree at most \(s\), so their weighted sums vanish. The first nonzero moment, at degree \(s+1\), detects every degree \(r\) with \(a<r\le b\) by pairing a polynomial of that degree with monomials in the other \(t-1\) inputs whose degrees sum to \(s+1-r\). This gives \(R=W_0\), with relative distances \(d_Z=a+2\) and \(d_X=N-b\). Prakash's equality question asks whether the transversal Singleton bound forces Reed–Solomon structure, and in particular whether it forces \(H\) to be maximum-distance-separable at degree three. Over every finite field, equality in the first inequality with \(K_\tau\ge1\) and \(d_Z\ge3\) forces \(W_0=R\) and makes both \(W_0\) and \(H\) maximum-distance-separable for every \(t\ge2\). A linear code \(C\) has this property when its minimum nonzero Hamming weight is \(N-\dim C+1\). Here \(\dim R=d_Z-1\), so the equality parameters determine the two constituent dimensions. They also force \(d_X=N+2-K_\tau-d_Z\). More precisely, writing \(m=t-1\), \(k=\dim H\) and \(*\) for coordinatewise multiplication, the span \(H^{*m}\) of all products of \(m\) words of \(H\) satisfies \[\dim H^{*m}=mk-(m-1),\qquad w*R=(H^{*m})^\perp, \] and is itself maximum-distance-separable with minimum distance \(d_Z\). Prakash, §6, pp. 16–17, equality question after Figure 1 and cubic MDS implication For every \(t\ge3\), \(H\) at equality is generalised Reed–Solomon. It consists of evaluations of polynomials of degree at most \(k-1\) at distinct points of the projective line over \(\mathbb F_q\), with a nonzero multiplier at each coordinate. Evaluation at infinity takes the coefficient of \(X^{k-1}\). This recovers the cubic classification and extends it to every higher degree. The projective line has \(q+1\) points, so when \(N>q+1\), \(t\ge3\) and \(d_Z\ge3\), the integer upper bound improves to \((t-1)K_\tau+t(d_Z-1)\le N+t-3\). At degree two, equality permits other maximum-distance-separable codes. Over \(\mathbb F_{11}\), let \(R\) be the row span of the matrix with columns \((1,0,0),(0,1,0),(0,0,1),(1,1,1),(1,10,2),(1,4,7),(1,8,5)\). Take \(w=(9,1,2,6,3,6,9)\), \(W_0=R\) and \(H=(w*R)^\perp\). This gives \((N,K_\tau,d_Z,d_X)=(7,1,4,4)\), attaining equality. The six quadratic evaluation rows \(x^2,y^2,z^2,xy,xz,yz\) on the generator columns have determinant \(9\) on their first six columns, so \(\dim R^{*2}=6\). A three-dimensional generalised Reed–Solomon code has square dimension at most five. Thus \(R\) falls outside that class, as does \(H\), since duality and nonzero coordinate scaling preserve the generalised Reed–Solomon class.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24798577
- Primary Topic
- Coding theory and cryptography
- Type
- preprint