Twisted GRS (TGRS) Codes
- Twisted GRS (TGRS) Codes are a family of MDS and NMDS linear codes constructed by twisting the message polynomial space of generalized Reed–Solomon codes to yield non-GRS structures.
- They feature explicit generator matrices and decoding algorithms using algebraic error-correcting pairs, Gaussian elimination, and Schur product analysis.
- Their rich duality, self-dual constructions, and complete weight distribution properties offer practical insights for error correction and cryptographic applications.
Twisted GRS (TGRS) Codes are a family of maximum distance separable (MDS) and near-MDS (NMDS) linear codes over finite fields, constructed as extensions of classical Generalized Reed–Solomon (GRS) codes by algebraically "twisting" the message polynomial space. These codes play a central role in algebraic coding theory, yielding large sets of non-GRS MDS codes with explicit algebraic structure, families of Hermitian self-dual codes, near-MDS codes, complementary dual (LCD) codes, and possessing rich duality, error-locator, decoding, and combinatorial properties (Li et al., 4 Aug 2025, Zhu et al., 2022).
1. Formalism, Construction, and Generator Matrix
A TGRS code is defined by selecting a collection of distinct field elements , a vector of nonzero multipliers , and a "twisted" polynomial message space. For the –TGRS (“plus-twisted”) case (the archetypal single-twist construction), the polynomial space is
i.e. is algebraically tied to by the twist parameter . The TGRS code is the evaluation code
with generator matrix in standard “twisted” form: the first rows are as in GRS, and the -th is (Li et al., 4 Aug 2025, Zhu et al., 2022). The –extended TGRS (ETGRS) code appends the coefficient , yielding an code.
More general “multi-twist” constructions and arbitrary-twist variants (A-TGRS, –TGRS) are parameterized by discrete twist sets, hook sets, and matrices, generalizing the single-twist case and subsuming all known TGRS families (Zhao et al., 2024, Hu et al., 7 Feb 2025).
2. MDS and NMDS Property, Weight Distribution
A –TGRS code is MDS (i.e., minimum Hamming distance ) if and only if
Otherwise, the code is NMDS with .
For the extended TGRS, the analogous condition is
for MDS (Zhu et al., 2022, Li et al., 4 Aug 2025). The entire weight distribution is computed in closed form based on the -subset sum structure (Li et al., 4 Aug 2025).
3. Non-GRS Structure and Schur Product
Almost all TGRS/ETGRS codes, when MDS, are not equivalent to any GRS code over , as established by explicit Schur square (coordinatewise product) dimension arguments. For ,
Dually, the Schur square of the dual has distance 1 for high rates. This property holds for all or in TGRS, and for all in ETGRS (Li et al., 4 Aug 2025). The –ETGRS code is not GRS or EGRS for (Zhu et al., 2022).
4. Duality, Self-Dual, and Self-Orthogonal Codes
Euclidean and Hermitian duals of TGRS and ETGRS admit explicit matrix expressions. The dual of ETGRS has a parity-check matrix composed of weighted evaluations and twist-dependent terms (Li et al., 4 Aug 2025, Zhu et al., 2022). Hermitian self-dual TGRS and non-GRS MDS Hermitian self-dual TGRS codes are constructed by special choice of satisfying over , yielding two major explicit classes (Li et al., 4 Aug 2025). There are no Galois self-dual ETGRS codes of length and dimension .
For –TGRS with even and suitable parameters, self-dual and almost self-dual families exist by choice of evaluation set and twisting values. Explicit criteria (based on evaluation point sum) and construction algorithms guarantee self-duality and prescribe multipliers (Zhu et al., 2022).
5. Decoding Algorithms: Error-Correcting Pairs, Gaussian Elimination, List Decoding
Decoding TGRS and ETGRS codes employs algebraic error-correcting pairs (ECPs) and enables fast decoding. ETGRS codes always admit suitable ECPs: if is odd, an –ECP exists; if even, an –ECP. This allows polynomial-time (often ) decoders correcting up to half the minimum distance. MDS –TGRS codes with do not admit –ECPs, distinguishing them from GRS (Li et al., 4 Aug 2025). Decoders based on Gaussian elimination solve certain structured polynomial systems associated with received words for both MDS and NMDS TGRS codes (Zhang et al., 5 Aug 2025). Complexity compares favorably to classical polynomial-time GRS decoders, and handles arbitrary twist positions.
There is no unique decoding algorithm based on ECPs for MDS –TGRS codes when certain symmetry conditions are met, as any such would incorrectly imply GRS equivalence (Li et al., 4 Aug 2025).
6. Covering Radius, Deep Holes, and Extension Theory
For MDS TGRS codes, the covering radius of the dual code is exactly (the code dimension), and explicit -affine families of deep holes are described. The –ETGRS code can be interpreted as a second extension of –TGRS and remains MDS if and only if a vector appended is a deep hole. The duals of TGRS codes constructed by Han and Zhang are shown to have covering radius and a complete family of deep holes via affine shifts (Li et al., 4 Aug 2025). This completes the analysis of maximal-likelihood decoding and geometric structure for non-GRS MDS codes in the TGRS/ETGRS family.
7. Concrete Examples and Practical Implications
Explicit small-field examples demonstrate all phenomena, including MDS/NMDS status, non-GRS nature, construction of ECPs and execution of decoding algorithms, and enumeration of deep holes. For instance, for , , , , , , , so is –MDS and not GRS by Schur-square computation (Li et al., 4 Aug 2025).
Table: Key Theoretical Properties of –TGRS and ETGRS Codes
| Property | Conditions | Reference Section |
|---|---|---|
| MDS | [(Li et al., 4 Aug 2025), §3] | |
| Non-GRS MDS | or | [(Li et al., 4 Aug 2025), §4] |
| Hermitian self-dual MDS | (over ), explicit sets | [(Li et al., 4 Aug 2025), §5] |
| Dual code structure | Explicit parity-check matrix incl. twist terms | [(Li et al., 4 Aug 2025), §6] |
| ECP-based decoding | ECP exists for ETGRS for all | [(Li et al., 4 Aug 2025), §7] |
| Covering radius | [(Li et al., 4 Aug 2025), §8] |
References
- “Properties and Decoding of Twisted GRS Codes and Their Extensions” (Li et al., 4 Aug 2025)
- “The -extended twisted generalized Reed-Solomon code” (Zhu et al., 2022)