Abstract
This paper presents the construction and analysis of a novel class of alternant codes over Gaussian integers, aimed at enhancing error correction capabilities in high-reliability communication systems. These codes are constructed using parity-check matrices derived from finite commutative local rings with unity, specifically where . A detailed algebraic investigation of the polynomial over these rings is conducted to facilitate the systematic construction of such codes. The proposed alternant codes extend the principles of classical BCH and Goppa codes to complex integer domains, enabling richer algebraic structures and greater error-correction potential. We evaluate the performance of these codes in terms of error correction capability, and redundancy. Numerical results show that the proposed codes outperform classical short-length codes in scenarios requiring moderate block lengths, such as those applicable in certain segments of 5G and IoT networks. Unlike conventional codes, these constructions allow enhanced structural flexibility that can be tuned for various application-specific parameters. While the potential relevance to quantum-safe communication is acknowledged, it is not the primary focus of this study. This work demonstrates how extending classical coding techniques into non-traditional algebraic domains opens up new directions for designing robust and efficient communication codes.
Keywords:
alternant codes; Gaussian integers; finite commutative local rings; secure communication; wireless communications; digital storage; source codes MSC:
94A24; 11T71; 11H71; 68P30
1. Introduction
Algebraic coding theory is a cornerstone of modern information theory, enabling reliable transmission and storage of data over noisy channels. By introducing redundancy through structured mathematical codes, it allows for both the detection and correction of errors. One of the most versatile families of such codes is the class of alternant codes, which generalizes BCH and Goppa codes and combines algebraic flexibility with strong error correction capabilities. These codes are constructed using parity-check matrices derived from evaluations of rational functions, typically over finite fields.
Recently, research has explored the construction of alternant codes over more generalized algebraic structures, such as finite rings, Galois rings, and complex integer domains. One promising candidate in this direction is the ring of Gaussian integers, , which offers additional algebraic tools such as norms, divisors, and Euclidean algorithms. Their structure enables more adaptable encoding mechanisms, particularly suitable for high-reliability systems such as satellite communication, the IoT, and 5G networks. Despite these prospects, the literature lacks a concrete coding framework for alternant codes over , where is a positive integer.
This paper addresses this gap by proposing a construction method for alternant codes over Gaussian integer residue rings, evaluating their structural properties, and analyzing their effectiveness in correcting errors across moderately sized block lengths.
1.1. Related Works
The construction of error-correcting codes over non-field algebraic structures has received growing attention in recent decades. BCH and Goppa codes laid the foundation for alternant code construction. Huber extended this theory using Eisenstein–Jacobi integers, while Byrne and Fitzpatrick introduced alternant codes over Galois rings with efficient Hamming metric decoding. More recently, codes over Gaussian and Eisenstein integers have been explored for applications in both classical and quantum settings [1,2,3,4,5,6,7]. Sajjad et al. constructed BCH codes over Gaussian and Eisenstein fields and applied them in cryptographic systems [6,7]. Other works have linked alternant codes to Gröbner bases [8] and semigroup rings [9], while Shah and Medhat investigated the role of pullback constructions and integral domain properties [10,11,12]. Progress in quantum-safe cryptography has also intersected with this area. Xie et al. and Galindo et al. developed quantum error-correcting codes derived from classical BCH variants [13,14]. Lemoine et al. and Tang et al. enhanced decoding algorithms for alternant and GRS codes [15,16]. Different types of efficient codes and decoding strategies have been discussed in [17,18,19]. These studies collectively highlight the ongoing interest in applying algebraic structures beyond fields to construct robust, scalable codes.
1.2. Organization and Contributions
The remainder of this paper is structured as follows:
- Section 2 outlines the algebraic preliminaries on Gaussian integers, residue class rings, and their impact on modern technology.
- Section 3 presents the construction of alternant codes over , with theoretical justifications.
- Section 4 includes decoding algorithms and performance evaluations.
- Section 5 includes a comparative analysis and discussion.
- Section 6 concludes the paper and outlines future research directions.
1.3. Major Contributions
This work offers the following original contributions:
- A New Algebraic Framework:
We develop a generalized framework for constructing alternant codes over residue class rings of Gaussian integers, , extending classical BCH principles.
- 2.
- Factorization of :
The factorization of over is analyzed to form the theoretical basis for parity-check matrix construction.
- 3.
- Efficient Encoding and Decoding Algorithms:
We provide procedures for encoding and syndrome-based decoding suited for Gaussian-integer based alternant codes, optimized for computational efficiency.
- 4.
- Performance Evaluation:
The proposed codes are evaluated in terms of redundancy, error correction capability, and complexity, particularly for medium-length codewords relevant to the IoT and segments of 5G.
- 5.
- Application Potential:
We demonstrate that the flexibility of -based codes opens opportunities for future use in quantum-safe and noise-resilient communication systems.
2. Gaussian Integers
By following Section 2 in [20], Gaussian integers (GI) ring is a subset of complex numbers, with multiplicative unit 1 and Let be a Gaussian integer with conjugate and then the norm of Gaussian integer is which is the product of a Gaussian integer with its norm (sum of squares of real part and coefficient of imaginary part) as For example, is a Gaussian integer; its conjugate is The norm of is Multiplication of the norm of Gaussian integers satisfies the , where
Theorem 1
([21], Theorem 2.3.2.). The Gaussian ring is an integral domain.
Corollary 1
([21], Corollary 2.4.2.1.). The integral domain is an Euclidean domain.
Lemma 1
([21], Lemma 3.1.1.). If is a Euclidean domain, then is a principal ideal domain.
Corollary 2
([21], Corollary 6.2.4.1.). Let be prime, with mod then can be factored into a product of the Gaussian prime in
Corollary 3
([21], Corollary 6.2.4.2.). Let be prime, with mod then is not prime in
Theorem 2
([21], Theorem 6.2.5.). Let be prime, with mod ; then is irreducible in
Lemma 2
(Section 2 in [22]). Let is unit if and only if is a unit in .
We observe that are units in and that Gaussian primes are the usual integers such that mod and those Gaussian integers such that . It can be seen easily that the ring is canonically isomorphic to . This ring is denoted by and it is a principal ideal ring, Definition 3.7. [22]; it suffices to fix rather than fix such that First, when is of the form where is a prime integer and Since our main purpose is fields and local commutative rings of Gaussian integers, in this case, it may be noted that the ring may not always be a local ring. Likewise, is not a field for every prime We begin with the description of for primes such that is a local ring or field.
Theorem 3
([23]). The ring is local for every positive integer .
Theorem 4
([23]). The ring is local for every positive integer and
Corollary 4
([6]). Let be a Gaussian field if and .
The following results characterize the unit elements of . From Section 2 in [22];
- (i)
- if .
- (ii)
- if mod .
- (iii)
- if mod .
Impact of Alternant Codes in Modern Technology: Control and efficient data transfer in a constantly changing environment are crucial for the effectiveness of a number of exciting modern technological solutions, such as the 5G cellular network, computing in the cloud, automobiles without drivers, and the Internet of Things (IoT). These technologies depend on the high-speed accuracy of transmitting huge volumes of data in noisy and interfered areas. To overcome such issues, there is a need for the formulation of enhanced error-correction methods. This work proposes a new method in modern systems of communication by modeling the alternant codes built over the Gaussian integers. These codes are constructed based on parity-check matrices produced from finite commutative local rings created out of Gaussian integers modulo . Thus, by integrating these alternant codes into data transfer processes, we advance the error detection and correction features of data transmission, thereby increasing its integrity and effectiveness. This study confirms that through the society of alternant codes, one can have strong support in responding to the challenges of modern communication systems; therefore, the given work can be regarded as significant progress in the sphere of coding and data transmission.
3. Alternant Codes
We explain the construction technique of alternant codes over the finite commutative local rings of Gaussian integers with identity. Initially, we list some data from the basic theory of commutative rings. Thus, is assumed to be a finite local commutative ring with unity, is the maximal ideal of rings , and the residue field is , where and is a prime. Let Let be a monic polynomial of degree in , such that is irreducible in , where is a natural projection. Moreover, we would also conclude that is irreducible because it gave a factorization of in terms of lower-order cyclotomic polynomials and is irreducible in Suppose is a finite commutative local ring with unity and is the Gaussian extension of of degree Its residue field will be , where is the maximal ideal of Let be the unit element , and its order is . Suppose is the multiplicative group of then, as is customary with all multiplicative groups, it must be a direct product of cyclic groups. The cyclic group is the maximal cyclic subgroup of the group of units in The elements of that maximal cyclic group are the roots of the polynomial for some where , it is isomorphic to The cyclic group that is maximal then is denoted and has the order
It has long been known that a parity=check matrix with rows and columns of elements from of can uniquely characterize an linear code over where and
Definition 1.
Given maximal cyclic subgroup of assume that the locator polynomial consists of distinct elements of and is an arbitrary vector consisting of the elements of . Then, a parity-check matrix of shortened alternant code of length over is defined as follows:
where and Additionally, is a linear alternant code over , with The number of parity-check symbols is at most Apart from it, it is possible to estimate the minimum Hamming distance for from the parity-check matrix.
Theorem 6.
It can also be seen that the minimum Hamming distance of alternant code will be at least .
Proof.
Let be an alternant code of length where is a vector of distinct elements, is a non-zero vector, and is the designed error-correcting capability, i.e., the alternant code is derived from a Generalized Reed–Solomon (GRS) code of dimension The parity-check matrix of the alternant code is given by the following:
□
Now, consider the minimum Hamming distance With the Singleton bound, for a code of length dimension and minimum distance we have For an alternant code of length dimension since it is a subfield subcode of a GRS code over However, a key result from the theory of alternant codes tells us .
Justification.
This is because any codeword satisfies: Suppose has Hamming weight Then, the set of positions such that has size The submatrix of corresponding to those positions is a Vandermonde-like matrix over and when such a matrix has linearly independent columns, unless for all contradicting the assumption that has weight Hence, no non-zero codeword can have weight implying
Example 1.
For the impact of alternant codes constructed over Gaussian integers, let and then with being the finite commutative local ring with identity having maximal ideal , then the residue field . If , then it has no rational root and so it is irreducible over and is the basic irreducible over . The given extension ring is the finite commutative local ring with residue field . Then, the maximal cyclic subgroup has the order . For the purpose of generating the maximal cyclic group let be the root of and be of order of 6 in set . So, is the primitive root of . If , then elements of are , Each of the elements of are all the roots of modulo . Now we choose , and then is the shortened alternant code with the parity-check matrix
with a minimum distance . The corresponding parity-check matrix of entries from the residue field is
It is an established fact that the order of every finite field is a power of some prime From Corollary 4, is a field if and only if (mod ) and . Furthermore, the order of every finite field of Gaussian integers with (mod 4) will be .
Example 2.
For the alternant codes construction over Gaussian integers, let and then is a Gaussian field with 9 elements, and it is isomorphic to . Let is a primitive irreducible polynomial over . Let be the root of ; then, has order in . The remaining elements of extension field are given in Table 1.
Table 1.
Elements of the multiplicative cyclic group .
Let and then for , has parity-check matrix
The parity-check matrix of elements from is
We have an alternat code over with minimum distance . Then all columns of are linearly independent, and has a minimum distance of 9.
Example 3.
For the alternant code construction over Gaussian integers, let and then is a local commutative ring with maximal ideal . Further The polynomial is irreducible over . Thus, is a Galois extension of . Let be the root of , then has the order in . Let generate a cyclic group of order . If we set and for and we have an alternat code over with a minimum Hamming distance of at least 5.
4. Decoding Procedure
In this section, our intention is to demonstrate how the Euclidean algorithm can be used to decode alternant codes. Given an alternant code over with parity-check matrix let the code have minimum distance Let be the transmitted codeword and be the received vector. The error vector is defined as . Let errors that have happened in sites to decode alternant codes
In with error values
Firstly, find the syndromes using
where
Secondly, find error locator polynomial as
Using syndromes, and the error evaluator polynomials
Furthermore,
Using the Euclidean algorithm, the above equation can be solved by
Let is continue this Euclidean algorithm until such that and Then, the error locator polynomial and error evaluator polynomial are and where constant Chosen to make and satisfies mod and then
Lastly, find the error magnitudes using
The pseudo code of the decoding procedure is given in Algorithm 1.
| Algorithm 1: Decoding Alternant Codes Using Euclidean Algorithm |
Input:
For each error location X_μ, compute the error magnitude: Y−μ = ω(X_μ^{−1})/(y_iμ⋅∏v ≠ μ(1 − X_v⋅X_μ^{−1})) Step 6: Recover the Original Codeword
|
| End |
Example 4.
From Illustration 3.1, the maximal cyclic subgroup , , and so with length 3 of alternant code over with a minimum Hamming distance of at least 3. Let
be the parity=check matrix. Consider a received vector , and are two syndromes corresponding to the received vector , which is non-zero; this means that is not a codeword. Secondly, find the error locator polynomial for the weight of the received vector which is 1. Let because only one component in is non-zero. So, for ; this means the error is occurring at the third place in The location of the error is with error magnitude The error locator polynomial is Furthermore, the error evaluator polynomial is where Finally, the error magnitude is Hence, is a corrected codeword of the alternant code over
Example 5.
From Illustration 3.2, the cyclic group of order 80. Let us set and so then we have length 10, and the alternant code over with minimum Hamming distance is at least . Let
be the parity-check matrix. Let a received vector and are the four syndromes corresponding to the received vector , which are non-zero; this means that is not a codeword. Secondly, find the error locator polynomial Let because there are two non-zero components in So, and for and ; this means the error occurs in the 1st and 2nd places in The error locations are and with error magnitudes and Let the error locator polynomial and the error evaluator polynomial is Further polynomials and satisfy mod Finally, the error magnitudes are
Therefore, the error pattern is and the corrected codeword is
5. Comparative Analysis and Discussion
This section provides a comparative study of alternant codes over Galois rings and Gaussian rings, referring to the concept from Norton and Sălăgean [4] and Byrne and Fitzpatrick [8]. Two-dimensional vector algebra for local rings and fields is divided into two cases: Gaussian and Eisenstein. Eisenstein is discussed in our previously published article [16] in 2025. We cannot compare the proposed work with Eisenstein integers [16], because both Gaussian and Eisenstein integers have different congruence classes dependent on parameters and As a type of error-correcting code, alternant codes are studied in terms of various parameters, including the code length dimension minimum distance ability to detect errors ability to correct errors code rate and the number of codewords . A comparative study of alternant codes over Gaussian rings and Galois rings is given in Table 2.
Table 2.
Comparative analysis of alternant codes over Galois rings and Gaussian rings.
Based on the tabulated results, we can see that alternant codes over Gaussian rings provide a much larger codebook size compared to their counterpart over Galois rings, with the same value of code parameters n, k, and d. For instance:
- When the minimum distance and the code rate are the same when using and ; however, the code over the Gaussian ring has four times as many codewords versus
- In the case of and have the same structural parameters and error correction ability, but the Gaussian ring construction has twice the number of codewords
- A greater advantage is seen in larger lengths like where both and provide five or more minimum distances and approximately the same code rate but the code over the Gaussian ring has exponential growth in the number of codewords, with whereas the Galois ring has .
A direct consequence of this doubling of the codeword length in all examples is that this suggests a more abundant codebook and, consequently, greater redundancy and more error resilience with Gaussian rings. The algebraic view as a Gaussian integer, especially the complex units and extra symmetry, enables more valid codewords with the same constraints. There is, however, a trade-off with this benefit: a bigger codebook means increased complexity in decoding and possibly lower transmission speeds because of the symbol space. Nevertheless, where error tolerance and robustness are valued, as in deep-space communication, military systems, or quantum-safe protocols, it is very desirable to use alternant codes instead of Gaussian rings.
Finally, it can be seen that alternant codes over Gaussian rings not only inherit the crucial parameters of the classical alternant codes over Galois rings but also surpass them in the abundance of codewords, making them more useful in the settings where the error correction capabilities are given the highest priority. These results confirm the potential of Gaussian rings as an algebraic basis to realize superior and powerful coding schemes.
6. Conclusions and Future Directions
In this article, the construction and analysis of alternant codes over Gaussian integers have been introduced with respect to their algebraic background and relevance in dependable digital communication. Using parity-check matrices whose entries are elements of finite commutative local rings with unity, namely, quotient rings of Gaussian integers modulo we have created a unified framework to construct error-correcting codes and generalize the classical BCH codes’ paradigms. We have shown that these codes share structurally desirable properties with the Gaussian integer ring, including a more intricate algebraic structure and the existence of unit elements, which can help to achieve better error detection and correction. The study of the factorization of in these rings formed the basis of encoding and decoding operations. Relatively, it has been indicated through comparative studies that these codes covering Gaussian integers are better than the traditional codes over Galois rings in some noise profiles, particularly in burst error scenarios or low SNR channels. Their suitability to modular arithmetic also implies their suitability to secure and quantum-resistant communication protocols.
This work can be extended in a number of ways in the future:
- Minimization of decoding algorithms, especially in the case of long codes, in order to decrease the computational complexity–accuracy trade-off.
- Going to quaternion and even octonion integers to seek structural benefits in other algebraic settings.
- Understanding the performance of these codes in post-quantum communicational systems, as well as blockchain consensus mechanisms and safe distributed systems.
Finally, alternant codes over Gaussian integers constitute an interesting family of algebraically robust but practically relevant error-correcting codes. Ongoing efforts in this direction could bring about new generations of codes that satisfy the requirements of more complex and security-sensitive communication infrastructures.
Author Contributions
M.S.: conceptualization; methodology; software; formal analysis; investigation; writing—original draft; writing—review & editing; project administration. N.A.A.: conceptualization; validation; writing—review & editing; project administration. All authors have read and agreed to the published version of the manuscript.
Funding
The researchers would like to thank the Deanship of Graduate Studies and Scientific Research at Qassim University for their financial support (QU-APC-2025).
Data Availability Statement
The original contributions presented in this study are included in the article.
Acknowledgments
We are also deeply grateful to our beloved mentor and true gentleman, Tariq Shah, whose vision and guidance have profoundly inspired our journey as researchers.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Dresden, G.; Dymàček, W.M. Finding factors of factor rings over the Gaussian integers. Am. Math. Mon. 2005, 112, 602–611. [Google Scholar] [CrossRef]
- Freudenberger, J.; Ghaboussi, F.; Shavgulidze, S. New coding techniques for codes over Gaussian integers. IEEE Trans. Commun. 2013, 61, 3114–3124. [Google Scholar] [CrossRef]
- Sajjad, M.; Shah, T.; Xin, Q.; Almutairi, B. Eisenstein field BCH codes construction and decoding. AIMS Math. 2023, 8, 29453–29473. [Google Scholar] [CrossRef]
- De Andrade, A.A.; Palazzo, R., Jr. Construction and decoding of BCH codes over finite commutative rings. Linear Algebra Its Appl. 1999, 286, 69–85. [Google Scholar] [CrossRef]
- Sajjad, M.; Shah, T.; ul Haq, T.; Almutairi, B.; Xin, Q. SPN based RGB image encryption over Gaussian integers. Heliyon 2024, 10, e30353. [Google Scholar] [CrossRef]
- Sajjad, M.; Shah, T.; Alammari, M.; Alsaud, H. Construction and decoding of BCH-codes over the Gaussian field. IEEE Access 2023, 11, 71972–71980. [Google Scholar] [CrossRef]
- Sajjad, M.; Shah, T.; Serna, R.J. Designing Pair of Nonlinear Components of a Block Cipher over Gaussian Integers. Comput. Mater. Contin. 2023, 75, 5287–5305. [Google Scholar] [CrossRef]
- Byrne, E.; Fitzpatrick, P. Gröbner bases over Galois rings with an application to decoding alternant codes. J. Symb. Comput. 2001, 31, 565–584. [Google Scholar] [CrossRef]
- De Andrade, A.A.; Shah, T.; Khan, A. A note on linear codes over semigroup rings. Trends Comput. Appl. Math. 2011, 12, 79–89. [Google Scholar] [CrossRef]
- Shah, T. A note on ascend and descend of factorization properties. Bull. Korean Math. Soc. 2006, 43, 419–424. [Google Scholar] [CrossRef]
- Shah, T. Relative ascent and descent in a domain extension. Int. Electron. J. Algebra 2010, 7, 34–46. [Google Scholar]
- Shah, T.; Medhat, S. Stability of some integral domains on a pullback. Mat. Vesn. 2012, 64, 109–123. [Google Scholar]
- Xie, C.; Chen, H.; Li, C.; Mesnager, S. Constructions of self-orthogonal linear codes and dual-containing BCH codes. IEEE Trans. Inf. Theory 2025, 71, 5049–5062. [Google Scholar] [CrossRef]
- Galindo, C.; Hernando, F.; Martín-Cruz, H. New quantum codes from homothetic-BCH codes. arXiv 2025, arXiv:2503.13069. [Google Scholar]
- Lemoine, A.; Mora, R.; Tillich, J.P. Understanding the new distinguisher of alternant codes at degree 2. Des. Codes Cryptogr. 2025, 1–23. [Google Scholar] [CrossRef]
- Tang, N.; Han, Y.S.; Pei, D.; Chen, C. A Fast Decoding Algorithm for Generalized Reed-Solomon Codes and Alternant Codes. arXiv 2025, arXiv:2502.02356. [Google Scholar]
- Norton, G.H.; Sălăgean, A. On Efficient Decoding of Alternant Codes over a Commutative Ring. In Proceedings of the Cryptography and Coding: 7th IMA International Conference, Cirencester, UK, 20–22 December 1999; Springer: Berlin/Heidelberg, Germany; pp. 173–178. [Google Scholar]
- Byrne, E.; Fitzpatrick, P. Hamming metric decoding of alternant codes over Galois rings. IEEE Trans. Inf. Theory 2002, 48, 683–694. [Google Scholar] [CrossRef]
- Sajjad, M.; Shah, T.; Abbas, M.; Alammari, M.; Serna, R.J. The impact of alternant codes over Eisenstein integers on modern technology. Comput. Appl. Math. 2025, 44, 95. [Google Scholar] [CrossRef]
- Zhang, K.; Dai, J.; Yu, X.; Zhang, G. Distance correction range-free localization algorithm for WSNs. Ain Shams Eng. J. 2024, 15, 102924. [Google Scholar] [CrossRef]
- Molelekeng, B. Arithmetic in the Ring of Gaussian Integers. Ph.D. Thesis, University of the Witwatersrand Johannesburg, Johannesburg, South Africa, 2022. [Google Scholar]
- Abu-Osba, E.A. Von Neumann inverses and cryptography. Dirasat Pure Sci. 2009, 36, 1–4. [Google Scholar]
- Abu-Osba, E.A.; Henriksen, M.; Alkam, O.; Smith, F.A. The maximal regular ideal of some commutative rings. Comment. Math. Univ. Carol. 2006, 47, 1–10. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).