arXiv:2610.35105cs.ITOct 2026

Manuscript Offprint

arXiv:2610.35105

New families of additive non-RS MDS codes and ACD codes from twisted Reed-Solomon codes

Xia Li, Yu Wang, Yansheng Wu

XIA LI, YU WANG, AND YANSHENG WU

ABSTRACT. Additive codes generalize linear codes and play an important role in the construction of quantum codes. As generalizations of linear MDS codes, additive MDS codes have received much research attention. As an important subclass of additive codes, ACD codes are widely used for quantum error correction. In this paper, we study single-twist additive generalized twisted Reed-Solomon (GTRS) codes over finite fields. We derive necessary and sufficient conditions for these codes to be MDS for arbitrary hook and twist parameters. Then we employ Schur squares to prove that such additive MDS codes are not monomially equivalent to additive Reed-Solomon codes. We also identify a class of additive GTRS codes whose duals remain additive GTRS codes, and show that, for all sufficiently large prime powers q whose characteristic avoids a finite set, such GTRS codes yield ACD codes.

1. INTRODUCTION

Maximum distance separable (MDS) codes are optimal block codes that satisfy the equality condition of the Singleton bound. The Hamming distance quantifies the error-detection and error-correction performance of error-correcting codes. MDS codes meet the Singleton bound with equality and attain the largest possible minimum distance for fixed length and code size. Singleton [8] originally proposed and investigated MDS codes, motivated by their utility for constructing large constant-weight binary codes with considerable Hamming distances. Reed and Solomon [9] developed generalized Reed-Solomon (GRS) codes, the most extensively researched linear MDS code family to date. Relying on strong burst error correction ability, GRS codes guarantee stable data transmission for optical discs and digital audio tapes. In addition, they serve as fundamental building blocks for DNA error correction codes [10, 11] and locally recoverable codes deployed in distributed storage systems [12, 13]. Besides GRS codes, there are other well-known constructions of linear MDS codes with the help of n-arcs in projective geometry [14, 15] and circulant Cauchy matrices [16]. MDS codes find practical uses in network coding, cryptography, data storage and quantum mechanics and they are closely connected with n-arcs and orthogonal arrays, motivating abundant studies on their constructions [5, 17, 18, 19, 20].

Additive codes generalize linear codes over finite fields, maintaining favorable algebraic structures despite being nonlinear objects and can be completely described in terms of a basis.

2010 Mathematics Subject Classification. 94B05.

Key words and phrases. Additive codes, additive MDS codes, ACD codes, twisted Reed-Solomon codes.

Xia Li is with College of Science, Nanjing University of Posts and Telecommunications, Hubei Key Laboratory of Applied Mathematics (Hubei University), Nanjing, 211100, P. R. China (e-mail: lixia4675601@163.com).

Yu Wang is with College of Science, Nanjing University of Posts and Telecommunications, Nanjing, 211100, P. R. China (e-mail: 2225075357@qq.com).

Yansheng Wu is with School of Computer Science, Nanjing University of Posts and Telecommunications, Nanjing, 211100, P. R. China (e-mail: yanshengwu@njupt.edu.cn).

The work of Xia Li was supported by National Natural Science Foundation of China (No. 12301668) and Open Foundation of Hubei Key Laboratory of Applied Mathematics (Hubei University). The work of Yansheng Wu was supported in part by the National Natural Science Foundation of China under Grant 62372247 and Grant 12101326, and in part by China Postdoctoral Science Foundation, under Grant 2023M740958.

LI, WANG, AND WU

Calderbank et al. [20] first investigated F2F_{2}-additive codes over F4F_{4} as well as their duals with respect to the trace bilinear form, and further adopted these codes to construct quantum stabilizer codes. Bierbrauer and Edel later generalized the above theoretical framework to arbitrary finite fields [21]. Recently, Shi et al. [22] pointed out that designing orthogonal direct-sum masking schemes only requires the additivity and complementarity of codes rather than linearity. Such masking schemes are widely adopted to defend sensitive information against side-channel attacks (SCA) and fault injection attacks (FIA). Accordingly, additive codes possessing complementary duals (ACD codes) can serve as countermeasures against both passive and active side-channel analysis in embedded cryptosystems. Driven by this practical motivation, Shi et al. [22] investigated F2F_{2}-additive complementary dual codes over F4F_{4}, and constructed F4F_{4}-valued ACD codes from binary codes via the standard trace bilinear form as well as the Hermitian trace bilinear form. In another recent work, Choi et al. [23] provided methods to construct ACD codes over finite fields. They also listed some ACD codes with good parameters over F4F_{4}, F8F_{8} and F9F_{9}, and identified some MDS ACD codes among these codes.

In a recent work, Beelen et al. [24] introduced and studied twisted Reed-Solomon (TRS) codes with one twist as a natural generalization of RS codes and showed that these codes are not MDS in general, and characterized two MDS subclasses of single-twist TRS codes. In another study [25], the authors pointed out that the dual codes of ordinary TRS codes usually do not belong to the TRS family, but a special type of TRS codes is closed under the dual operation; additionally, a kind of TRS codes can resist Sidelnikov-Shestakov and Wieschebrink attacks against the McEliece cryptosystem. Subsequently, Beelen et al. [5] generalized single-twist TRS codes to TRS codes with ℓ\ell twists, constructed multiple MDS TRS subfamilies, and proved that plenty of TRS codes are not monomially equivalent to classical RS codes. Furthermore, Liu and Liu [19] put forward construction approaches for MDS LCD codes over finite fields by virtue of generalized twisted Reed-Solomon (GTRS) codes equipped with ℓ\ell twists.

Huffman extended the Singleton-type bound for additive codes in subsequent research in [3]. As optimal codes achieving this bound, additive MDS codes correspond to geometric structures such as pseudo-arcs [26] and serve as fundamental building blocks for quantum stabilizer codes [27]. Ball et al. [28] proved that any Fq\mathbb{F}_q-additive MDS code with length nn and additive dimension 2k2k over Fq2\mathbb{F}_{q^2} is linear over Fq2\mathbb{F}_{q^2} under certain premises. In recent work, Yadav and Sharma [2] investigated new additive codes from generalized twisted Reed-Solomon codes (GTRS codes) and they obtained the necessary and sufficient conditions for the code to be MDS when t=1t = 1 and 0≤h≤k−10 \leq h \leq k - 1. Jiayu Ma et al. [1] derived the necessary and sufficient conditions for the code to be MDS when t=2t = 2 and h=k−1h = k - 1. Thus, this paper focuses on constructing additive MDS codes via additive GTRS codes for general hh and tt.

This paper is organized as follows. In Section 2, we introduce the necessary foundational notions to derive our main results, which consist of additive codes, their Singleton bound, additive GRS code, additive GTRS code and the Schur product. In Section 3, we construct a new class of additive non-RS MDS codes from twisted Reed-Solomon codes. We also identify a class of additive GTRS codes whose duals remain additive GTRS codes. In Section 4, we provide a construction for ACD codes based on additive GTRS codes. In Section 5, we present a brief conclusion.