Abstract
We study cyclic codes over the ring H of order 4 and characteristic 2 defined by generators and relations as This is the first time that cyclic codes over a non-unitary ring are studied. Every cyclic code of length n over H is uniquely determined by the data of an ordered pair of binary cyclic codes of length We characterize self-dual, quasi-self-dual, and linear complementary dual cyclic codes We classify cyclic codes of length at most 7 up to equivalence. A Gray map between cyclic codes of length n over H and quasi-cyclic codes of length over is studied.
MSC:
94 B15; 16 D10
1. Introduction
Cyclic codes over finite fields [1,2] and finite rings [3,4,5,6,7,8,9] constitute the most popular class of algebraic codes for many reasons, both practical and theoretical. Their clean algebraic structure enables the practitioner to use efficient encoding and decoding techniques [10,11]. It also permits the theoretician to derive strong lower bounds on the minimum distance (BCH, Hartmann–Tzeng, van Lint/Wilson, Roos) [1,12,13,14]. At the heart of this popularity lies the quotient ring where x is a formal variable and A the code alphabet (a finite ring). Ideals in this ring are in one-to-one correspondence with cyclic codes of length n over This ring is principal and every ideal admits a monic generator, say, . The roots of allow for the computation of various bounds on the minimum distance. The dual of such a code is generated by the quotient of by In recent years, a theory of codes over non-unitary rings emerged [15,16,17]. The absence of a unit element for the multiplication forbids the researcher investigating cyclic codes over a non-unitary ring A to use the auxiliary ring simply because is not available in In such a case, alternative strategies have to be derived. In this paper we study the fundamental algebraic properties (generation, duality) of cyclic codes over a special non-unitary ring without any polynomial formalism.
In particular, we investigate cyclic codes over the non-unitary ring H in the classification of Rhagavendran [18] and the notation of Fine [19]. This ring is semi-local with two maximal ideals. Essentially, every cyclic code over H can be regarded as an ordered pair of binary cyclic codes of the same length. This structure theorem is used to characterize self-dual, quasi-self-dual, and linear complementary dual (LCD) cyclic codes over H. It is also used to classify isomorphism classes of cyclic codes of given length up to length A Gray map between codes of length n over H and codes of length over is introduced. The Gray image of a cyclic code is proved to be quasi-cyclic of index
The material is organized as follows. The next section collects basic notations and notions needed for the other sections. Section 3 considers the structure of cyclic codes over H. Section 4 studies the Gray map of cyclic code over H, Section 5 investigates the automorphism group of a cyclic code, and Section 6 applies this information to classifying cyclic codes of a given length up to permutation. Section 7 derives conditions for LCD-ness. Section 8 contains numerical examples. Section 9 concludes this article.
2. Preliminaries
2.1. Binary Codes
The Hamming weight of is denoted by . The dual of a binary linear code C is signified by and defined as :
where , denotes the standard inner product. A code C is self-orthogonal if it is included in its dual: . A code is even if all its code words have even weight. All binary self-orthogonal codes are even, but not all even binary codes are self-orthogonal. Two binary codes are equivalent if there is a permutation of coordinates that maps one to the other.
A linear code C of length n over is cyclic provided that, for each vector in C, the vector , obtained from c by the cyclic shift of coordinates , is also in C.
2.2. Rings and Modules
Following [19], we define a ring on two generators by their relations
Thus, H has characteristic 2 and consists of four elements with The addition table is immediate from these definitions
| + | 0 | a | b | c |
| 0 | 0 | a | b | c |
| a | a | 0 | c | b |
| b | b | c | 0 | a |
| c | c | b | a | 0 |
The multiplication table is as follows.
| × | 0 | a | b | c |
| 0 | 0 | 0 | 0 | 0 |
| a | 0 | 0 | 0 | 0 |
| b | 0 | 0 | b | b |
| c | 0 | 0 | b | b |
From this table, we deduce that this ring is commutative and that it does not have an unity element for the multiplication. Two absorbing elements are 0 and a. It is semi-local with two maximal ideals, and Denote by the reduction map with respect to , and by is the map of reduction map with respect to . Thus, and . Note that these two applications are morphisms for addition but for not multiplication. They can be extended in the obvious way into maps from to This ring decomposition induces a code decomposition in the following way. The code C over H can be written as a direct sum (in the sense of modules)
where and Sometimes we will use the inner product notation for to mean
A linear H-code C of length n is an H-submodule of . It can be regarded as the H-span of the rows of a generator matrix. With that code, we attach two binary codes of length n: and An additive code of length n over is an additive subgroup of It is an vector space of size elements for some . Using a generator matrix such a code can be cast as the -span of the rows of With every linear H-code C we associate an additive -code by the alphabet substitution
where = extended in the obvious way to
We use the notation of the Magma package [20]
for the weight distribution of a code, where is the number of code words of weight Two H-codes are permutation-equivalent if there is a permutation of coordinates that maps one to the other.
Equip with an inner product by the rule The dual of C is the module defined by
Thus, the dual of a module is a module. A code is self-dual if it is equal to its dual.
A code C is self-orthogonal if
3. The Structure of Cyclic Codes over
Definition 1.
A cyclic code C of length n over H is a linear code with property that if ∈C then ∈C.
Example 1.
The repetition code of length 2, defined by is a cyclic code over H.
The dual of is defined by It is also a cyclic code over
Example 2.
Let C = , where and are binary codes generated by the matrix
Then C is a cyclic code of length 3 over H such that and . Hence, = = 16.
Then .
The following result is of crucial importance to our study.
Theorem 1.
If is an arbitrary linear code over then C is a cyclic code if and only if and are both cyclic.
Proof.
(⇒) Let T be the permutation matrix corresponding to the shift.
It can be seen that T commutes with both and . We know .
Hence, . This implies that is cyclic.
Same argument with .
(⇐) Suppose that and are both cyclic. We want to prove that C is cyclic.
Let be an arbitrary code word in C where
and .
We need to prove that . Then
As and are both cyclic, then and .
Hence, (1) will become
Hence, we proved C is a cyclic code over H. □
To derive more corollaries of Theorem 1, we require some definitions pertaining to the duality of H-codes.
Definition 2.
- A code of length n isquasi-self-dual if it is self-orthogonal and of size .
- A quasi-self-dual code over H with all weights even is called aType IV code.
- AQSD H-code is called quasi-Type IVQT4 if is an even code.
- A linear code C is called an LCD code (Linear Complementary Dual Code) if .
For LCD codes over finite fields see [21].
Corollary 1.
A code C of length n over H is cyclic QSD if and only if:
- 1.
- is a cyclic self-orthogonal [n,k] binary code.
- 2.
- is a cyclic [n,n-k] binary code.
Proof.
By combining Theorem 1 and [15] (Lemma 1) we obtain the proof. □
Corollary 2.
A code C over H is cyclic Type IV if is a cyclic self-orthogonal binary code and .
Proof.
By combining Theorem 1 and [15] (Theorem 5) we obtain the result. □
Corollary 3.
Every cyclic QT4 code of length n over H is of the form where:
- 1.
- is a cyclic self-orthogonal [n,k] binary code.
- 2.
- is an even cyclic binary [n,n-k] code.
Proof.
By combining Theorem 1 and [15] (Lemma 2) we obtain the proof. □
Corollary 4.
Let C be a cyclic code over H, then C is an LCD cyclic code if and only if is LCD cyclic and .
Proof.
By combining Theorem 1 and [22] (Theorem 5.11) we obtain the result. □
To prepare for the study of self-dual cyclic codes over H, we need the following theorem. The proof is omitted.
Theorem 2
([22] (Theorem 22)). Let be the dual code of C over H. Then .
The next result follows.
Corollary 5.
If C is a cyclic code over H, then the dual code of C is also cyclic.
Proof.
By Theorem 2, we have . Since the dual code of binary cyclic code is also cyclic, by Theorem 1 and the fact that is a cyclic code, we obtain the result. □
In the next results, we study the additive code of cyclic codes over H.
Corollary 6.
If C is cyclic code over then the additive code is also cyclic.
Proof.
The proof is direct from Theorem 1. □
Corollary 7.
If the binary code is cyclic, then is also cyclic.
Proof.
By combining Corollary 5 and Corollary 6, we obtain the proof. □
If C is a cyclic code of length n over H, then the relation is not true in general as the following example shows.
Example 3.
Let be a cyclic code of length 2 over H then the dual of C is and .
4. Gray Map
Any code word of H can be expressed as , where are generators for the ring H and are arbitrary elements in The Lee weights of are 0, 1, 1, 2, respectively. The Gray map from H to is given by The Gray map is a bijection. This map can be extended to in a natural way. For any , where we define where
Then is a weight-preserving map from (,Lee weight) to (,Hamming weight), that is, .
Example 4.
Let , where and are binary codes generated by and , then . Therefore, and we can write the code C as Hence,
The following result characterizes the Gray image of an H-code as a function of its two binary components.
Theorem 3.
Let C be a linear code of length n over H. Then .
Proof.
For any , let , . Since is bijection, . By the definition of C, we obtain that , ; therefore, . This implies that .
On the other hand, for any where , . Since C is linear, we have , and it follows that , which gives . Therefore, . □
As a consequence, we characterize the Gray image of the dual code.
Corollary 8.
Let C be a linear code of length n over H and then
Proof.
It follows directly from Theorem 2. □
Proposition 1.
Let and be the minimum Hamming and Lee weights of a linear code C over H, respectively. Then, , where and denote the minimum weight of a binary code and , respectively.
Proof.
Since is a weight-preserving map, then , and is obvious. □
To prepare for the study of the relation between Gray map and duality, we need the following Corollary and the following Proposition.
Corollary 9
([22] (Corollary 24)). Let be a linear code of length n over H. Then C is nice if and only if
Proposition 2.
Let be the dual code of C over H. If C is a nice code over H, then . Moreover, if C is a self-orthogonal code, so
Proof.
For any , where . Since implies thus we can obtain that , which means .
Let and where . Since implies , thus we can obtain that , which means . Hence, . □
Proposition 3.
If C is an LCD code over H then is also an LCD code over .
Proof.
Since C is an LCD code over H then we have and is nice. We want to prove that
Consider,
Hence, is an LCD code over H. □
To prepare for the study of the symmetry of Gray images, we need the following Definition.
Definition 3.
Let be the quasi-cyclic shift on given by:
. A quasi-cyclic code C of index s and length over is a subset of such that , where σ is the cyclic shift in length n.
Corollary 10.
If C is a cyclic code of length n over H, then is a binary quasi-cyclic code of index 2 and length .
Proof.
It follows directly from the definition of quasi-cyclic codes. □
5. Automorphism Group
Let C be a linear code of length n over H and a permutation of the symmetric group acting on . We associate with this code a linear code defined by:
We say that the code C and are equivalent if there exists a permutation such that .
The automorphism group of C is the subgroup of given by:
Example 5.
Let C = , where and are binary codes generated by the matrix
Then C is a linear cyclic code of length 3 over H such that . Consider then a generator matrix will become and we obtain . Therefore, . So .
Example 6.
Let where and are binary codes generated by the matrix
Then C is a cyclic code of length 7 over H, where
.
And let , where and are binary codes generated by the matrix
Then is a cyclic code of length 7 over where
.
Hence, where . Therefore, C and are equivalent codes.
The following result shows the relationship between the equivalence of two linear codes over H and that of their constituents.
Lemma 1.
Let and be two codes over H. Then C and are equivalent if and only if there exists a permutation such that and .
Proof.
The first direction: If C and are equivalent, then
By taking and for both sides, we obtain: and .
Conversely, suppose that there exists a permutation such that and . Then, we can write:
Hence, C and are equivalent. □
As consequences from the previous lemma, we derive the following two results.
Proposition 4.
Let and be two self-dual codes over H. Then C and are equivalent if and only if there exists a permutation such that .
Proof.
By combining Theorem 2 and Lemma 1, we obtain the proof. □
Proposition 5.
Let and be two LCD codes over H. Then C and are equivalent if and only if there exists a permutation such that .
Proof.
By combining Corollary 4 and Lemma 1, we obtain the proof. □
6. Classification
The following characterization result is easy but essential to understand the classification technique.
Lemma 2.
A code C of length n over H is cyclic if and only if it is of the form where:
- is a cyclic binary code.
- is a cyclic binary code.
Proof.
The proof is obtained directly from Theorem 1. □
To classify cyclic codes, we thus have to find all codes that are permutation-equivalent to for a given pair . This is a similar situation to the classification of self-dual codes over and we follow the method there. Here, SDR stands for System of Distinct Representatives of cyclic code, that is to say, elements that are representative of subsets (here the double cosets) in a set (here the group ) partition. The following result is an immediate generalization of [23] (Theorem 3.5) from to H. Its proof is omitted.
Theorem 4
([15] (Theorem 6)). Let be a pair of codes as defined in Lemma 1, with respective permutation groups A and B. Then, the set
.
forms a set of non-equivalent codes. In particular, .
The immediate application is the next result.
Corollary 11.
Let be the set of all non-equivalent cyclic binary codes. Let be the set of all non-equivalent cyclic binary codes. Then, the set of all cyclic codes over H is, up to permutation, the disjoint union .
Proof.
By application of the maps and , the following observation is immediate. If the pairs , and , are distinct, then none of the codes in are equivalent to any of the codes in . □
7. LCD Cyclic Codes over
We prepare for the main result of this section by recalling some results on binary cyclic codes.
Definition 4.
A linear code C of length n over H is said to be reversible if for any code word implies
Lemma 3
([24]). If is an cyclic code over with generator polynomial then it is an LCD code if and only if and all the monic irreducible factors of have the same multiplicity in and . In particular, for , is an LCD code if and only if it is a reversible code.
Lemma 4
([25] (Theorem 1)). Let be a cyclic code over a finite field having generator polynomial . Then is a reversible code if and only if
Proposition 6
([22]). Let be any linear code of length n over H. Then C is LCD if and only if is LCD and
Corollary 12.
Let be a cyclic code of arbitrary length n over H. Then C is LCD if and only if and the generator polynomial of is self-reciprocal and the multiplicity of each monic irreducible factor of is the same in and .
Proof.
It follows from Lemma 3 and Proposition 6. □
Theorem 5.
Let n be an odd positive integer and be a cyclic code over H of length n. Then C is LCD if and only if is reversible and .
Proof.
Let C be an LCD over H. Then is LCD over i.e., is a reversible code over by Lemma 3. Hence, is also a reversible code over H.
Conversely, let C be a reversible code over H. Then implies that where . We can write
This implies that is reversible over and LCD over also. Therefore, C is LCD over H. □
In the following example we will show an LCD cyclic code over
Example 7.
The code of length 3 over H is an LCD cyclic where and is generated by .
Then the dual code of C generated by . We obtain
8. Numerical Results
In the following, we classify, up to equivalence, cyclic codes up to length 7 (Table 1, Table 2, Table 3, Table 4, Table 5, Table 6, Table 7, Table 8, Table 9, Table 10, Table 11, Table 12, Table 13, Table 14, Table 15, Table 16, Table 17 and Table 18). All the computations needed for this section were performed in Magma [20].
The generator matrices of the classified cyclic codes up to n = 7 can be found at: https://www.kau.edu.sa/GetFile.aspx?id=316077&fn=Gen (accessed on 10 September 2023).
- Length 2 (8 Codes)
Table 1.
Weight distribution of cyclic codes of length 2.
Table 1.
Weight distribution of cyclic codes of length 2.
| Generator Matrix | Weight Distribution |
|---|---|
| and | |
| and | |
| and | |
Table 2.
List of all binary cyclic codes of length 2.
Table 2.
List of all binary cyclic codes of length 2.
| Index | Generator Polynomial |
|---|---|
| 0 | |
| 1 | |
| 2 | 1 |
Table 3.
Cyclic codes of length 2.
Table 3.
Cyclic codes of length 2.
| Generator Matrix | Index | Index | Self-Orthogonal | QSD | Even | |
|---|---|---|---|---|---|---|
| 2 | 0 | 1 | Yes | No | Yes | |
| 2 | 1 | 0 | Yes | No | Yes | |
| 1 | 0 | 2 | No | No | No | |
| 1 | 2 | 0 | Yes | Yes | No | |
| 2 | 1 | 1 | Yes | Yes | Yes | |
| 1 | 1 | 2 | No | No | No | |
| 1 | 2 | 1 | Yes | No | No | |
| 1 | 2 | 2 | No | No | No |
- Codes are not self-dual except .
- Codes are not LCD except .
- Codes neither Type IV nor QT4 except .
- Length 3 (15 Codes)
Table 4.
Weight distribution of cyclic codes of length 3.
Table 4.
Weight distribution of cyclic codes of length 3.
| Generator Matrix | Weight Distribution |
|---|---|
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
Table 5.
List of all binary cyclic codes of length 3.
Table 5.
List of all binary cyclic codes of length 3.
| Index | Generator Polynomial |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | 1 |
Table 6.
Cyclic codes of length 3.
Table 6.
Cyclic codes of length 3.
| Generator Matrix | Index | Index | Self-Orthogonal | Even | LCD | |
|---|---|---|---|---|---|---|
| 3 | 0 | 2 | No | No | Yes | |
| 3 | 2 | 0 | Yes | No | No | |
| 2 | 0 | 1 | No | Yes | Yes | |
| 2 | 1 | 0 | Yes | Yes | No | |
| 3 | 2 | 2 | No | No | No | |
| 2 | 0 | 3 | No | Yes | Yes | |
| 2 | 3 | 0 | Yes | Yes | No | |
| 2 | 1 | 2 | No | No | No | |
| 2 | 2 | 1 | No | No | No | |
| 2 | 1 | 1 | No | No | No | |
| 1 | 2 | 3 | No | No | No | |
| 1 | 3 | 2 | No | No | No | |
| 1 | 1 | 3 | No | No | No | |
| 1 | 3 | 1 | No | No | No | |
| 1 | 3 | 3 | No | No | No |
- Codes are neither self-dual nor Type IV or QT4.
- Codes are not QSD.
- Length 4 (24 Codes)
Table 7.
Weight distribution of cyclic codes of length 4.
Table 7.
Weight distribution of cyclic codes of length 4.
| Generator Matrix | Weight Distribution |
|---|---|
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
Table 8.
List of all binary cyclic codes of length 4.
Table 8.
List of all binary cyclic codes of length 4.
| Index | Generator Polynomial |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | 1 |
Table 9.
Cyclic codes of length 4.
Table 9.
Cyclic codes of length 4.
| Generator Matrix | Index | Index | Self-Orthogonal | Even | |
|---|---|---|---|---|---|
| 4 | 0 | 3 | Yes | Yes | |
| 4 | 3 | 0 | Yes | Yes | |
| 2 | 0 | 2 | Yes | Yes | |
| 2 | 2 | 0 | Yes | Yes | |
| 4 | 3 | 3 | Yes | Yes | |
| 2 | 0 | 1 | No | Yes | |
| 2 | 1 | 0 | Yes | Yes | |
| 2 | 3 | 2 | Yes | Yes | |
| 2 | 2 | 3 | Yes | Yes | |
| 2 | 2 | 2 | Yes | Yes | |
| 2 | 3 | 1 | No | Yes | |
| 2 | 1 | 3 | Yes | Yes | |
| 1 | 0 | 4 | No | No | |
| 1 | 4 | 0 | Yes | No | |
| 1 | 3 | 4 | No | No | |
| 1 | 4 | 3 | Yes | No | |
| 2 | 2 | 1 | No | No | |
| 2 | 1 | 2 | Yes | No | |
| 1 | 2 | 4 | No | No | |
| 1 | 4 | 2 | Yes | No | |
| 2 | 1 | 1 | No | No | |
| 1 | 1 | 4 | No | No | |
| 1 | 4 | 1 | No | No | |
| 1 | 4 | 4 | No | No |
- Codes are not self-dual except .
- Codes are not QSD except , and .
- Codes are not Type IV except and .
- Codes are not QT4 except and .
- Codes are not LCD except .
- Length 5 (15 Codes)
Table 10.
Weight distribution of cyclic codes of length 5.
Table 10.
Weight distribution of cyclic codes of length 5.
| Generator Matrix | Weight Distribution |
|---|---|
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
Table 11.
List of all binary cyclic codes of length 5.
Table 11.
List of all binary cyclic codes of length 5.
| Index | Generator Polynomial |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | 1 |
Table 12.
Cyclic codes of length 5.
Table 12.
Cyclic codes of length 5.
| Generator Matrix | Index | Index | Self-Orthogonal | Even | LCD | |
|---|---|---|---|---|---|---|
| 5 | 0 | 2 | No | No | Yes | |
| 5 | 2 | 0 | Yes | No | No | |
| 2 | 0 | 1 | No | Yes | Yes | |
| 2 | 1 | 0 | Yes | Yes | No | |
| 5 | 2 | 2 | No | No | No | |
| 1 | 0 | 3 | No | No | Yes | |
| 1 | 3 | 0 | Yes | No | No | |
| 2 | 1 | 2 | No | No | No | |
| 2 | 2 | 1 | No | No | No | |
| 2 | 1 | 1 | No | No | No | |
| 1 | 2 | 3 | No | No | No | |
| 1 | 3 | 2 | No | No | No | |
| 1 | 1 | 3 | No | No | No | |
| 1 | 3 | 1 | No | No | No | |
| 1 | 3 | 3 | No | No | No |
- Codes are neither self-dual nor Type IV or QT4.
- Codes are not QSD except .
- Length 6 (80 Codes)
Table 13.
Weight distribution of cyclic codes of length 6.
Table 13.
Weight distribution of cyclic codes of length 6.
| Generator Matrix | Weight Distribution |
|---|---|
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
Table 14.
List of all binary cyclic codes of length 6.
Table 14.
List of all binary cyclic codes of length 6.
| Index | Generator Polynomial |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | 1 |
Table 15.
Cyclic codes of length 6.
Table 15.
Cyclic codes of length 6.
| Generator Matrix | Index | Index | Self-Orthogonal | Even | |
|---|---|---|---|---|---|
| 6 | 0 | 7 | Yes | Yes | |
| 6 | 7 | 0 | Yes | Yes | |
| 3 | 0 | 5 | No | No | |
| 3 | 5 | 0 | Yes | No | |
| 4 | 0 | 6 | Yes | Yes | |
| 4 | 6 | 0 | Yes | Yes | |
| 2 | 0 | 4 | Yes | Yes | |
| 2 | 4 | 0 | Yes | Yes | |
| 2 | 0 | 3 | No | No | |
| 2 | 3 | 0 | Yes | No | |
| 2 | 0 | 2 | No | Yes | |
| 2 | 2 | 0 | Yes | Yes | |
| 2 | 0 | 1 | No | Yes | |
| 2 | 1 | 0 | Yes | Yes | |
| 1 | 0 | 8 | No | No | |
| 1 | 8 | 0 | Yes | No | |
| 6 | 7 | 7 | Yes | Yes | |
| 3 | 7 | 5 | No | No | |
| 3 | 5 | 7 | Yes | No | |
| 4 | 7 | 6 | Yes | Yes | |
| 4 | 6 | 7 | Yes | Yes | |
| 2 | 7 | 4 | Yes | Yes | |
| 2 | 4 | 7 | Yes | Yes | |
| 2 | 7 | 3 | No | No | |
| 2 | 3 | 7 | Yes | No | |
| 2 | 7 | 2 | No | Yes | |
| 2 | 2 | 7 | Yes | Yes | |
| 1 | 7 | 1 | No | No | |
| 1 | 1 | 7 | Yes | No | |
| 1 | 7 | 8 | No | No | |
| 1 | 8 | 7 | Yes | No | |
| 3 | 5 | 5 | No | No | |
| 3 | 5 | 6 | Yes | No | |
| 3 | 6 | 5 | No | No | |
| 2 | 5 | 4 | Yes | No | |
| 2 | 4 | 5 | No | No | |
| 2 | 5 | 3 | No | No | |
| 2 | 3 | 5 | No | No | |
| 2 | 5 | 2 | No | No | |
| 2 | 2 | 5 | No | No | |
| 2 | 5 | 1 | No | No | |
| 2 | 1 | 5 | No | No | |
| 1 | 5 | 8 | No | No | |
| 1 | 8 | 5 | No | No | |
| 4 | 6 | 6 | Yes | Yes | |
| 2 | 6 | 4 | Yes | Yes | |
| 2 | 4 | 6 | Yes | Yes | |
| 2 | 6 | 3 | No | No | |
| 2 | 3 | 6 | Yes | No | |
| 2 | 6 | 2 | No | No | |
| 2 | 2 | 6 | Yes | No | |
| 2 | 6 | 1 | No | No | |
| 2 | 1 | 6 | Yes | No | |
| 1 | 6 | 8 | No | No | |
| 1 | 8 | 6 | Yes | No | |
| 2 | 4 | 4 | Yes | Yes | |
| 2 | 4 | 3 | No | No | |
| 2 | 3 | 4 | Yes | No | |
| 2 | 4 | 2 | No | No | |
| 2 | 2 | 4 | Yes | No | |
| 2 | 4 | 1 | No | No | |
| 2 | 1 | 4 | Yes | No | |
| 1 | 4 | 8 | No | No | |
| 1 | 8 | 4 | Yes | No | |
| 2 | 3 | 3 | No | No | |
| 2 | 3 | 2 | No | No | |
| 2 | 2 | 3 | No | No | |
| 2 | 3 | 1 | No | No | |
| 2 | 1 | 3 | No | No | |
| 1 | 3 | 8 | No | No | |
| 1 | 8 | 3 | No | No | |
| 2 | 2 | 2 | No | No | |
| 2 | 2 | 1 | No | No | |
| 2 | 1 | 2 | No | No | |
| 1 | 2 | 8 | No | No | |
| 1 | 8 | 2 | No | No | |
| 2 | 1 | 1 | No | No | |
| 1 | 1 | 8 | No | No | |
| 1 | 8 | 1 | No | No | |
| 1 | 8 | 8 | No | No |
- Codes are not self-dual except .
- Codes are not QSD except ,, , and .
- Codes are not Type IV except .
- Codes are not QT4 except and .
- Codes are not LCD except , and .
- Length 7 (63 Codes)
Table 16.
Weight distribution of cyclic codes of length 7.
Table 16.
Weight distribution of cyclic codes of length 7.
| Generator Matrix | Weight Distribution |
|---|---|
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
| and | |
Table 17.
List of all binary cyclic codes of length 7.
Table 17.
List of all binary cyclic codes of length 7.
| Index | Generator Polynomial |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | 1 |
Table 18.
Cyclic codes of length 7.
Table 18.
Cyclic codes of length 7.
| Generator Matrix | Index | Index | Self-Orthogonal | Even | |
|---|---|---|---|---|---|
| 7 | 0 | 6 | No | No | |
| 7 | 6 | 0 | Yes | No | |
| 4 | 0 | 4 | Yes | Yes | |
| 4 | 4 | 0 | Yes | Yes | |
| 4 | 0 | 5 | Yes | Yes | |
| 4 | 5 | 0 | Yes | Yes | |
| 3 | 0 | 2 | No | No | |
| 3 | 2 | 0 | Yes | No | |
| 3 | 0 | 3 | No | No | |
| 3 | 3 | 0 | Yes | No | |
| 2 | 0 | 1 | No | Yes | |
| 2 | 1 | 0 | Yes | Yes | |
| 1 | 0 | 7 | No | No | |
| 1 | 7 | 0 | Yes | No | |
| 7 | 6 | 6 | No | No | |
| 4 | 6 | 4 | Yes | No | |
| 4 | 4 | 6 | No | No | |
| 4 | 6 | 5 | Yes | No | |
| 4 | 5 | 6 | No | No | |
| 3 | 6 | 2 | No | No | |
| 3 | 2 | 6 | No | No | |
| 3 | 6 | 3 | No | No | |
| 3 | 3 | 6 | No | No | |
| 2 | 6 | 1 | No | No | |
| 2 | 1 | 6 | No | No | |
| 1 | 6 | 7 | No | No | |
| 1 | 7 | 6 | No | No | |
| 4 | 4 | 4 | Yes | Yes | |
| 4 | 4 | 5 | Yes | No | |
| 3 | 4 | 2 | No | No | |
| 3 | 2 | 4 | Yes | No | |
| 3 | 4 | 3 | No | No | |
| 3 | 3 | 4 | Yes | No | |
| 2 | 4 | 1 | No | No | |
| 2 | 1 | 4 | Yes | No | |
| 1 | 4 | 7 | No | No | |
| 1 | 7 | 4 | Yes | No | |
| 4 | 5 | 5 | Yes | Yes | |
| 3 | 5 | 3 | No | No | |
| 3 | 3 | 5 | Yes | No | |
| 2 | 5 | 1 | No | No | |
| 2 | 1 | 5 | Yes | No | |
| 1 | 5 | 7 | No | No | |
| 1 | 7 | 5 | Yes | No | |
| 3 | 2 | 2 | No | No | |
| 3 | 2 | 3 | No | No | |
| 2 | 2 | 1 | No | No | |
| 2 | 1 | 2 | No | No | |
| 1 | 2 | 7 | No | No | |
| 1 | 7 | 2 | No | No | |
| 3 | 3 | 3 | No | No | |
| 2 | 3 | 1 | No | No | |
| 2 | 1 | 3 | No | No | |
| 1 | 3 | 7 | No | No | |
| 1 | 7 | 3 | No | No | |
| 2 | 1 | 1 | No | No | |
| 1 | 1 | 7 | No | No | |
| 1 | 7 | 1 | No | No | |
| 1 | 7 | 7 | No | No |
- Codes are neither self-dual nor Type IV or QT4.
- Codes are not LCD except , and .
- Codes are not QSD except , ,, and .
Remark 1.
In the case of length equal to 7, there are four equivalent codes, and they are equivalent to , equivalent to , equivalent to , and equivalent to .
In Table 19, we summarized the number of codes according to the Hamming weight.
Table 19.
Number of cyclic codes over H.
9. Conclusions and Open Problems
In this article, we have studied cyclic codes over the non-unitary ring We have given criteria for a cyclic code over H to be self-dual or quasi-self-dual. We have derived an algorithm to classify cyclic codes of given length, based on the classification of cyclic binary codes of that length and the knowledge of their automorphism group. A Gray map allows us to construct quasi-cyclic codes of index 2 from cyclic codes over
In the future, we plan to study the same questions over other non-unitary rings, possibly of characteristic larger than
Author Contributions
Conceptualization, A.A. and P.S.; Methodology, M.A.; Validation, P.S.; Investigation, A.A., M.A. and P.S.; Resources, A.A. and P.S.; Data curation, M.A.; Writing – original draft, M.A.; Writing—review & editing, M.A.; Project administration, A.A.; Funding acquisition, A.A. This article was written in equal co-authorship. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia, of funder grant number KEP-PhD: 100-130-1443.
Data Availability Statement
All computations performed in this paper are available upon request from the authors.
Acknowledgments
The authors are grateful for support of the The Deanship of Scientific Research (DSR) at King Abdulaziz University (KAU), Jeddah, Saudi Arabia, for funding this project, under grant no. KEP-PhD: 100-130-1443.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Bose, R.C.; Ray-Chaudhuri, D.K. On a Class of Error Correcting Binary Group Codes. Inf. Control 1960, 3, 68–79. [Google Scholar] [CrossRef]
- Hocquenghem, A. Codes correcteurs d’erreurs. Chiffres 1959, 2, 147–156. (In French) [Google Scholar]
- Abdualrub, T.; Oehmeke, R. Cyclic codes of length 2e over Z4. Discret. Appl. Math. 2003, 128, 3–9. [Google Scholar] [CrossRef]
- Blackford, T. Cyclic codes of oddly even length over Z4. Discret. Appl. Math. 2003, 128, 27–46. [Google Scholar] [CrossRef]
- Dougherty, S.T.; Ling, S. Cyclic Codes over Z4 of Even Length. Des. Codes Cryptogr. 2006, 39, 127–153. [Google Scholar] [CrossRef]
- Jitman, S.; Sangwisut, E.; Udomkavanich, P. Hulls of cyclic codes over Z4. Discret. Math. 2020, 343, 111621. [Google Scholar] [CrossRef]
- Pless, V.; Qian, Z. Cyclic codes and quadratic residue codes over Z4. IEEE Trans. Inf. Theory 1996, 42, 1594–1600. [Google Scholar] [CrossRef]
- Prakash, O.; Yadav, S.; Verma, R.K. Constacyclic and Linear Complementary Dual Codes over Fq + uFq. Def. Sci. J. 2020, 70, 626–632. [Google Scholar] [CrossRef]
- Zhu, S.; Wang, Y.; Shi, M. Some Results on Cyclic Codes over F2 + vF2. IEEE Trans. Inf. Theory 2010, 56, 1680–1684. [Google Scholar] [CrossRef]
- MacWilliams, F.J.; Sloane, N.J.A. The Theory of Error Correcting Codes; Elsevier: Berlin/Heidelberg, Germany, 1977; Volume 16. [Google Scholar]
- Shi, M.; Alahmadi, A.; Solé, P. Codes and Rings: Theory and Practice; Academic Press: Cambridge, MA, USA, 2017. [Google Scholar]
- Hartman, C.R.P.; Tzeng, K.K. Generalizations of the BCH bound. Inf. Control 1972, 20, 489–498. [Google Scholar] [CrossRef]
- Roos, C. A generalization of the BCH bound for cyclic codes, including the Hartmann-Tzeng bound. J. Comb. Theory Ser. A 1982, 33, 229–232. [Google Scholar] [CrossRef]
- van Lint, J.H.; Wilson, R. On the Minimum Distance of Cyclic Codes. IEEE Trans. Inf. Theory 1986, 32, 23–40. [Google Scholar] [CrossRef]
- Alahmadi, A.; Alkathiry, A.; Altassan, A.; Basaffar, W.; Bonnecaze, A.; Shoaib, H.; Solé, P. Type IV codes over a non-local non-unital ring. Proyecciones 2020, 39, 963–978. [Google Scholar] [CrossRef]
- Alahmadi, A.; Altassan, A.; Basaffar, W.; Bonnecaze, A.; Shoaib, H.; Solé, P. Quasi Type IV codes over a non-unital ring. Appl. Algebra Eng. Commun. Comput. 2021, 32, 217–228. [Google Scholar] [CrossRef]
- Alahmadi, A.; Altassan, A.; Basaffar, W.; Shoaib, H.; Bonnecaze, A.; Solé, P. Type IV codes over a non-unital ring. J. Algebra Its Appl. 2022, 21, 2250142. [Google Scholar] [CrossRef]
- Raghavendran, R. Finite associative rings. Compos. Math. 1969, 21, 195–229. [Google Scholar]
- Fine, B. Classification of finite rings of order p2. Math. Mag. 1993, 66, 248–252. [Google Scholar] [CrossRef]
- Bosma, W.; Cannon, J.; Playoust, C. The Magma algebra system I: The user language. J. Symb. Comput. 1997, 24, 235–265. [Google Scholar] [CrossRef]
- Massey, J.L. Linear codes with complementary duals. Discret. Math. 1992, 106, 337–342. [Google Scholar] [CrossRef]
- Alahmadi, A.; Melaibari, A.; Solé, P. Duality of codes over non-unital rings of order four. IEEE Access 2023, 11, 53120–53133. [Google Scholar] [CrossRef]
- Park, Y.H. The classification of self-dual modular codes. Finite Fields Appl. 2011, 17, 442–460. [Google Scholar] [CrossRef][Green Version]
- Yang, X.; Massey, J.L. The condition for a cyclic code to have a complementary dual. Discret. Math. 1994, 126, 391–393. [Google Scholar] [CrossRef]
- Massey, J.L. Reversible codes. Inf. Control 1964, 7, 369–380. [Google Scholar] [CrossRef]
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. |
© 2024 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/).