Skip to main content
Entropy logoLink to Entropy
. 2025 Oct 23;27(11):1096. doi: 10.3390/e27111096

On Quasi-Cyclic Codes of Index 3

Kanat Abdukhalikov 1,*, Rasha M Shat 1,*
Editor: Patrick Solé1
PMCID: PMC12650970  PMID: 41294940

Abstract

Quasi-cyclic codes of index 3 over finite fields are studied. We give a classification of such codes. Their duals with respect to the Euclidean and Hermitian inner products are investigated. We give a characterization of self-orthogonal and dual-containing codes. A quasi-cyclic code of index 3 is generated by at most three elements. We describe conditions when such a code (or its dual) is generated by one element.

Keywords: quasi-cyclic codes, dual codes, one-generator codes

MSC: 94B05, 94B15, 94B60

1. Introduction

Quasi-cyclic (QC) codes are an important type of linear codes, which is a generalization of cyclic codes. There are families of QC codes that are asymptotically good [1,2]. Many good codes have been constructed with a better minimum distance than any linear code of the same length and dimension previously constructed. Ling and Solé explored the algebraic structure of QC codes in-depth in a series of articles [3,4,5,6]. In [7,8], the algebraic structure of quasi-cyclic codes was discussed. A class of 1-generator quasi-cyclic codes and their properties were studied in [9]. Some classes of quasi-cyclic codes of index 2 were considered in [10,11,12]. Quasi-cyclic codes of index 2 were fully investigated in [13,14]. Lally [15] presented lower bounds for quasi-cyclic codes. In [16,17], distance bounds for quasi-twisted codes were studied. Aydin et al. [18] studied the structure of 1-generator quasi-twisted codes and constructed some new linear codes. In [19], QC perfect codes in Doob graphs and special partitions of Galois rings were considered.

Dastbasteh and Shivji [20] considered additive cyclic codes over Fp2 that can be considered as an interpretation of QC codes over Fp. They computed the symplectic dual of additive codes by decomposing them into components.

Lally [15] presented lower bounds for the minimum distance of quasi-cyclic codes. Semenov and Trifonov [21] introduced a spectral method for quasi-cyclic codes and obtained a BCH-like bound. This has led to several further works on distance bounds, known as spectral bounds, for quasi-cyclic and quasi-twisted codes, e.g., [16,17,22,23,24]. Yet another approach, using the concatenated structure of quasi-cyclic codes, also yields a different type of distance lower bound for quasi-cyclic codes, e.g., [25].

Hermitian duals of one-generator quasi-twisted codes of index 3 were considered in [26]. Shi et al. [27] considered additive cyclic codes over Fq3 under the condition gcd(m,q)=1.

In this paper we consider QC codes of index 3 in full generality. Unlike other papers, where the condition gcd(m,q)=1 is assumed, we do not have restrictions on the characteristic of the ground field, except for the case of one-generator codes (Theorems 3 and 5). More importantly, this approach is simpler and more powerful. The paper is organized as follows. We recall first in Section 2 definitions and notation concerning quasi-cyclic codes. In Section 3 we give a classification of QC codes of index 3 over finite fields. A QC code of index 3 is generated by at most three elements. We give necessary and sufficient conditions for a QC code to be generated by one element. For this, we do not need extra assumptions such as decomposition of codes into component subcodes, and we only use generators of codes. We describe duals of QC codes with respect to the Euclidean and Hermitian inner products in Section 4 and Section 5, respectively. We study duals of QC codes in a systematic way involving the notion of adjoint maps. Moreover, we describe self-orthogonal and dual-containing QC codes. Finally, in Section 6 we summarize our results.

2. Preliminaries

Let F=Fq be a finite field of q elements. A linear code C of length n is a subspace of the vector space Fn. The elements of C are called codewords.

Let T be the standard cyclic shift operator on Fn. A code is said to be quasi-cyclic (QC) of index if it is invariant under T. We can assume that divides n. If =1 then the QC code is a cyclic code.

Let R=F[x]/xm1. We recall that cyclic codes of length m over F can be considered as ideals of R.

Let n=m and let C be a linear QC code of length m and index over R. Let

c=(c0,0,c0,1,,c0,1,c1,0,c1,1,c1,1,,cm1,0,cm1,1,,cm1,1)

denote a codeword in C. Define a map φ:FmR by

φ(c)=(c0(x),c1(x),,c1(x))R,

where

cj(x)=c0,j+c1,jx+c2,jx2++cm1,jxm1R.

The following Lemma is well-known.

Lemma 1

([3,8]). The map φ induces a one-to-one correspondence between linear QC codes over F of index ℓ and length m, and linear codes over R of length ℓ.

3. Quasi-Cyclic Codes of Index 3

The next Theorem gives a description of QC codes over F of index 3.

Theorem 2.

(1) Let C be a QC code of length 3m and index 3. Then C is generated by three elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x) such that they satisfy the following conditions:

g11(x)(xm1),g22(x)(xm1)andg33(x)(xm1),degg12(x)<degg22(x),degg13(x)<degg33(x),degg23(x)<degg33(x),g11(x)g22(x)(xm1)g12(x),g22(x)g33(x)(xm1)g23(x),g11(x)g22(x)g33(x)(xm1)(g12(x)g23(x)g13(x)g22(x)). (∗)

Moreover, in this case dimC=3mdegg11(x)degg22(x)degg33(x).

(2) Let code C be generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), and let C be generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), both satisfying Conditions (). Let g11(x), g22(x), g33(x), g11(x), g22(x)g33(x) be monic polynomials. Then C=C if and only if g11(x)=g11(x), g22(x)=g22(x), g33(x)=g33(x), g12(x)=g12(x), g12(x)=g12(x), g23(x)=g23(x).

Proof. 

(1) By [8] (Theorem 2.1) we can assume that C is generated by three elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying the conditions g11(x)(xm1),g22(x)(xm1)andg33(x)(xm1), degg12(x)<degg22(x),degg13(x)<degg33(x),degg23(x)<degg33(x), and dimC=3mdegg11(x)degg22(x)degg33(x). Existence of such generators is equivalent [8] (Theorems 2.1 and 2.2) to the existence of a 3×3 polynomial matrix (aij)Mat3(F[x]) such that

a11(x)a12(x)a13(x)0a22(x)a23(x)00a33(x)g11(x)g12(x)g13(x)0g22(x)g23(x)00g33(x)=xm1000xm1000xm1.

Then

a11(x)=xm1g11(x),a22(x)=xm1g22(x),a33(x)=xm1g33(x),
a11(x)g12(x)+a12(x)g22(x)=0,
a22(x)g23(x)+a23(x)g33(x)=0,
a11(x)g13(x)+a12(x)g23(x)+a13(x)g33(x)=0.

Therefore,

a12(x)=(xm1)g12(x)g11(x)g22(x),a23(x)=(xm1)g23(x)g22(x)g33(x),a13(x)=(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x).

Since aij(x)F[x], the divisibility conditions from () follow.

(2) Consider the projection mappings P1:CR, P1a1(x),a2(x),a3(x)=a1(x), and P12:CR2, P12a1(x),a2(x),a3(x)=a1(x),a2(x). Then

dimC=dimP1(C)+dimkerP1=dimP1(C)+dimP12(kerP1)+dimkerP12dimg11(x)+dim(0,g22(x))+dim(0,0,g33(x))=(mdegg11(x))+(mdegg22(x))+(mdegg33(x)).

Since dimC=(mdegg11(x))+(mdegg22(x))+(mdegg33(x)), we have that

dimP1(C)=mdegg11(x),dimP12(kerP1)=mdegg22(x),dimkerP12=mdegg33(x).

Therefore,

P1(C)=g11(x), (1)
P12(kerP1)=(0,g22(x)), (2)
kerP12=(0,0,g33(x)). (3)

Similar statements are true for C, where C=C. Hence, g11(x)=g11(x), g22(x)=g22(x), g33(x)=g33(x).

Further, if (0,g22(x),g23(x))C and (0,g22(x),g23(x))C, then g23(x)g23(x) is divisible by g33(x), thus g23(x)=g23(x). Similarly, if (g11(x),g12(x),g13(x))C and (g11(x),g12(x),g13(x))C, then g12(x)g12(x) is divisible by g22(x), thus g12(x)=g12(x). Likewise, g13(x)=g13(x). □

Remark 1.

If gcd(q,m)=1 then xm1 has no multiple roots, thus the condition g11(x)g22(x)(xm1)g12(x) is equivalent to the condition gcdg11(x),g22(x)g12(x), and the condition g22(x)g33(x)(xm1)g23(x) is equivalent to the condition gcdg22(x),g33(x)g23(x).

Theorem 3.

Let gcd(q,m)=1. Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then C is generated by one element if and only if g11(x)g22(x)g11(x)g33(x)g22(x)g33(x)0(modxm1).

Proof. 

Assume that C is generated by g(x),g(x),g(x). Then there exist a(x), b(x) and c(x) such that

a(x)g(x),g(x),g(x)g11(x),g12(x),g13(x)(modxm1),b(x)g(x),g(x),g(x)0,g22(x),g23(x)(modxm1),c(x)g(x),g(x),g(x)0,0,g33(x)(modxm1).

Then

b(x)g11(x)b(x)·a(x)g(x)b(x)g(x)·a(x)0·a(x)0(modxm1).

Therefore,

g11(x)g22(x)g11(x)·b(x)g(x)b(x)g11(x)·g(x)0·g(x)0(modxm1).

Further,

c(x)g22(x)c(x)·b(x)g(x)b(x)·c(x)g(x)b(x)·00(modxm1).

Hence,

g22(x)g33(x)g22(x)·c(x)g(x)c(x)g22(x)·g(x)0·g(x)0(modxm1).

W.L.G. we can assume that g(x)g11(x)(modxm1). Then

g11(x)g33(x)g(x)·c(x)g(x)c(x)g(x)·g(x)0·g(x)0(modxm1).

Conversely, suppose that g11(x)g22(x)g11(x)g33(x)g22(x)g33(x)0(modxm1). Consider QC code C of length 2m and index 2, generated by elements g11(x),g12(x) and 0,g22(x). Since g11(x)g22(x)0(modxm1), by [13] we get that C can be generated by one element g11(x),g12(x). Therefore, C is generated by three elements of the form g11(x),g12(x),g13(x), 0,0,g23(x) and 0,0,g33(x). By equality (3) we have that g33(x)g23(x), so C is generated by two elements g11(x),g12(x),g13(x) and g3=0,0,g33(x).

Consider

A=xm1g11(x)·g11(x),g12(x),g13(x)=0,xm1g11(x)g12(x),xm1g11(x)g13(x).

Since 0,g22(x),g23(x)C, by equality (2) we have xm1g11(x)g12(x)=g22(x)h, where hR. Since 0,g22(x)C=g11(x),g12(x), we have hR*. Then

h1A=0,g22(x),xm1g11(x)g13(x)h1C.

Consider QC code C of length 2m and index 2, generated by elements g22(x),xm1g11(x)g13(x)h1 and 0,g33(x). Since g22(x)g33(x)0(modxm1), by [13] we get that C can be generated by one element g22(x),xm1g11(x)g13(x)h1+αg33(x)h1=h1xm1g11(x)g12(x),xm1g11(x)g13(x)+αg33(x) for some αR. Therefore, C is generated by one element

g11(x),g12(x),g13(x)+αg11(x)g33(x)xm1,

which completes the proof (note that g11(x)g33(x)0(modxm1)). □

Example 1.

Let m=10, q=3. Then xm1=p0p1p2p3, where p0=x1, p1=x+1, p2=x4+x3+x2+x+1, p3=x4+2x3+x2+2x+1. Let C be a code generated by three elements (p0p1p2,0,p0p1(x3+x2+x)), (0,p2p3,p3) and (0,0,p0p1p3). Then they satisfy Conditions (*) and by Theorem 3 it is a one-generator code. Indeed, it is generated by (p0p1p2,xp2p3,x2).

In fact, one part of Theorem 3 is valid without restrictions on the characteristic of the ground field. The proof of Theorem 3 suggests the following:

Proposition 4.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). If C is generated by one element then g11(x)g22(x)g11(x)g33(x)g22(x)g33(x)0(modxm1).

Theorem 5.

Let gcd(q,m)=1. Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). If C is generated by one element then gcdg11(x),g22(x),g33(x)g13(x).

Proof. 

As gcd(q,m)=1, we can write

g12(x)=a(x)·gcd(g11(x),g22(x)),
g23(x)=b(x)·gcd(g22(x),g33(x)).

As C is generated by one element, we have

g11(x)g22(x)g11(x)g33(x)g22(x)g33(x)0(modxm1).

Hence,

g11(x)g22(x)=(xm1)gcd(g11(x),g22(x)).

From (*) we obtain the following:

g11(x)g22(x)g33(x)|(xm1)(g12(x)g23(x)g13(x)g22(x))(xm1)gcd(g11(x),g22(x))g33(x)|(xm1)(a(x)gcd(g11,g22)b(x)gcd(g22,g33)g13g22)g33(x)|a(x)b(x)gcd(g22(x),g33(x))g13(x)g22(x)gcd(g11(x),g22(x))

Therefore,

a(x)b(x)gcd(g22(x),g33(x))g13(x)g22(x)gcd(g11(x),g22(x))=c(x)g33(x)
g13(x)g22(x)gcd(g11(x),g22(x))=a(x)b(x)gcd(g22(x),g33(x))c(x)g33(x) (4)

Note that

g22(x)gcd(g11(x),g22(x))=xm1g11(x), (5)
gcd(g22(x),g33(x))=xm1g11(x)gcd(g11(x),g22(x),g33(x)), (6)
g33(x)=xm1g11(x)gcd(g11(x),g33(x)). (7)

Now, divide both sides in (4) by (5). Applying (6) and (7), we have

g13(x)=a(x)b(x)gcd(g11(x),g22(x),g33(x))c(x)gcd(g11(x),g33(x)).

As gcd(g11(x),g22(x),g33(x))gcd(g11(x),g33(x)), for some polynomial d(x) we have

g13(x)=d(x)gcd(g11(x),g22(x),g33(x))

Hence,

gcd(g11(x),g22(x),g33(x))g13(x),

which completes the proof. □

4. Euclidean Duals of Quasi-Cyclic Codes

Let f(x)=a0+a1x+a2x++akxk be a polynomial of degree k. Then the reciprocal polynomial of a(x) is the polynomial

f(x)*=xdegff(x1)=ak+ak1x++a0xk.

Let f(x)=a0+a1x++am1xm1+amxm, where m is as before, i.e., R=F[x]/xm1. We define the transpose polynomial f(x) of f(x) as

f(x)=xmf(x1)=am+am1x++a2xm2+a1xm1+a0xm.

Lemma 6.

(1) If degf(x)m then

f(x)=xmdegff(x)*,
f(x)(a0+am)+am1x++a2xm2+a1xm1(modxm1).

(2) If degf(x)h(x)m then

xmf(x)h(x)=f(x)h(x),
f(x)h(x)f(x)h(x)(modxm1).

Proof. 

We have

f(x)=xmf(x1)=xmdegfxdegff(x1)=xmdegff(x)*,
xmf(x)h(x)=xmxmf(x1)h(x1)=f(x)h(x),

which proves the lemma. □

We recall the standard inner product on the space R=F[x]/xm1. Let a(x)=a0+a1x++am1xm1 and b(x)=b0+b1x++bm1xm1. Then the Euclidean inner product on R is defined as

a(x),b(x)e=a0b0+a1b1++am1bm1. (8)

It is consistent with the standard dot product between vectors (a0,a1,,am1) and (b0,b1,,bm1).

Lemma 7

([10]). Let a(x), b(x), c(x) be polynomials in R. Then

c(x)a(x),b(x)e=a(x),c(x)b(x)e.

Proof. 

It is sufficient to prove the statement for c(x)=xk. We have to show that

xka(x),b(x)e=a(x),xmkb(x)e,

which is equivalent to the equality

i=0m1aikbi=i=0m1aibi+k,

where indices are considered modulo m. □

Remark 2.

Lemma 7 explains why c(x) is called the transpose polynomial for c(x). Recall that if φ is an endomorphism of a vector space R, then the adjoint φ of φ is defined by the equation φ(a),be=a,φ(b)e. For symmetric inner products, in the matrix presentation, the adjoint of a matrix is the transpose of the matrix. If we consider the multiplication by c(x) as an endomorphism of R, then its adjoint is the multiplication by c(x).

Lemma 8.

For f(x)F[x], the following statements hold:

(1) If f(x) divides xm1, then f(x) divides xm(1xm).

(2) If f(x) divides xm1, then

xm1f(x)=xm(1xm)f(x).

(3) If degg12(x)<degg22(x) and g11(x)g22(x) divides (xm1)g12(x), then

(xm1)g12(x)g11(x)g22(x)=xm(1xm)g12(x)g11(x)g22(x).

(4) If degg12(x)<degg22(x), degg23(x)<degg33(x), degg13(x)<degg(x) and g11(x)g22(x)g33(x) divides (xm1)(g12(x)g23(x)g13(x)g22(x)), then

(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)=xm(1xm)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x).

Proof. 

We have

xm1f(x)=xm(1/x)m1f(x1)=xm1xmxmf(x1)=xm(1xm)f(x).

Let h(x)·g11(x)g22(x)=(xm1)g12(x). Then degh(x)<m and

xmh(1/x)·xmg11(1/x)xmg22(1/x)=xmxm((1/x)m1)xmg12(1/x),h(x)·g11(x)g22(x)=xm(1xm)g12(x).

Let r(x)·g11(x)g22(x)g33(x)=(xm1)(g12(x)g23(x)g13(x)g22(x)). Then degr(x)<m and

xmr(1/x)·xmg11(1/x)xmg22(1/x)xmg22(1/x)=xmxm((1/x)m1)xm(g12(1/x)g23(1/x)g13(1/x)g22(1/x)),r(x)·g11(x)g22(x)g33(x)=xm(1xm)(g12(x)g23(x)g13(x)g22(x)).

Thus the lemma follows. □

Remark 3.

If f(x)(xm1), then f(x)*(xm1). However, f(x) might not divide xm1, but it divides xm(xm1). For example, let m=7, q=2. Then x71=(x+1)(x3+x2+1)(x3+x+1). Let f(x)=x3+x+1. Then f(x)(xm1), f(x)=x7+x6+x4=x4(x3+x2+1)(xm1), but f(x)xm(xm1).

The inner product (8) can be naturally extended to QC codes of length n=3m and index 3:

a(x),b(x),c(x),a(x),b(x),c(x)e=a(x),a(x)e+b(x),b(x)e+c(x),c(x)e.

If C is a code in Fn, then its Euclidean dual code is

Ce={uFnu,v=0,forallvC}.

The code C is called Euclidean self-orthogonal if CCe, and Euclidean dual-containing if CCe.

Theorem 9.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then its Euclidean dual code Ce is generated by three elements

f1=xm(xm1)g11(x),0,0,
f2=xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0,
f3=xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x).

Equivalently, Euclidean dual code Ce is generated by three elements

h3=(h33,0,0)=xm1g11(x)*,0,0,h2=(h23,h22,0)=xm+degg11degg12(xm1)g12(x)*g11(x)*g22(x)*,xm1g22(x)*,0,
h1=(h13,h12,h11)=     (xm1)(xm+degg11degg12+degg22degg23g12(x)*g23(x)*xm+degg11degg13g13(x)*g22(x)*)g11(x)*g22(x)*g33(x)*,(xm1)xm+degg22degg23g23(x)*g22(x)*g33(x)*,xm1g33(x)*.

Proof. 

First of all, we show that two generator sets generate the same code:

xm(xm1)g11(x),0,0=xm1g11(x)*,0,0xdegg11,
xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0    xm(xm1)g12(x)g11(x)g22(x)xm,xm(xm1)g22(x),0(modxm1)    xm+degg11degg12(xm1)g12(x)*g11(x)*g22(x)*,xm1g22(x)*,0xdegg22(modxm1).
xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x)xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)xm,      xm(xm1)g23(x)g22(x)g33(x)xm,xm(xm1)g33(x)(modxm1)(xm1)(xm+degg11degg12+degg22degg23g12(x)*g23(x)*xm+degg11degg13g13(x)*g22(x)*)g11(x)*g22(x)*g33(x)*,      (xm1)xm+degg22degg23g23(x)*g22(x)*g33(x)*,xm1g33(x)*xdegg33(modxm1).

Let C be a code generated by elements f1, f2, and f3. We show that CCe. We need to show that a(x)gi,b(x)fje=0 for all a(x),b(x)R and i,j=1,2,3. Let us show that a(x)g3,b(x)f2e=0 (other cases are similar). By Lemmas 7 and 8 we have

a(x)g3,b(x)f2e=   a(x)g11,b(x)(xm(xm1)g12(x)g11(x)g22(x))e+a(x)g12(x),b(x)xm(xm1)g22(x),e=   a(x)g11(xm1)g12(x)g11(x)g22(x),b(x)ea(x)g12(x)xm1g22(x),b(x)e=0.

Thus CCe. We will show now that dimC=dimCe. Note that

dimCe=3mdimC=degg11(x)+degg22(x)+degg33(x).

Generators h1, h2, h3 of the code C satisfy conditions of Theorem 2 (by interchanging coordinate positions 1 and 3 of codewords). Indeed, h11h22(xm1)h12, h22h33(xm1)h23(xm1)h23, etc. Therefore, by Theorem 2

dimC=3mdegh11(x)degh22(x)degh33(x)=degg11(x)+degg22(x)+degg33(x).

Hence, C=Ce, and theorem is proved. □

Example 2.

Let m=13, q=3, Then xm1=p0p1p2p3, where p0=x1, p1=x3+2x+2, p2=x3+x2+2, p3=x3+x2+x+2, p4=x3+2x2+2x+2. Let C be a code generated by three elements (p0p1,p0(x2+x+2),p03(x2+x+2)(x4+x3+2)), (0,p0p2p3p4,x2p0p2p3p4) and (0,0,xm1). By Theorem 9 the dual code Ce is generated by three elements (p1p3p4,0,0), (2x3+x2+x,p2,0) and (2x12+x11+2x10+2x8+1,2x11,1).

Now, we investigate conditions for C to be Euclidean self-orthogonal.

Theorem 10.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then C is Euclidean self-orthogonal if and only if the following conditions hold:

(1) g11(x)g11(x)+g12(x)g12(x)+g13(x)g13(x)0(modxm1);

(2) g12(x)g22(x)+g13(x)g23(x)0(modxm1);

(3) g13(x)g33(x)0(modxm1);

(4) g22(x)g22(x)+g23(x)g23(x)0(modxm1);

(5) g23(x)g33(x)0(modxm1);

(6) g33(x)g33(x)0(modxm1).

Proof. 

Euclidean self-orthogonality of C means that

g1,b(x)g1e=g11(x),g12(x),g13(x),b(x)g11(x),g12(x),g13(x))e=0,
g1,b(x)g2e=g11(x),g12(x),g13(x),b(x)0,g22(x),g23(x))e=0,
g1,b(x)g3e=g11(x),g12(x),g13(x),b(x)0,0,g33(x))e=0,
g2,b(x)g2e=0,g22(x),g23(x),b(x)0,g22(x),g23(x))e=0,
g2,b(x)g3e=0,g22(x),g23(x),b(x)0,0,g33(x))e=0,
g3,b(x)g3e=0,0,g33(x),b(x)0,0,g33(x))e=0,

for any b(x)R. This is equivalent to

g11(x)g11(x)+g12(x)g12(x)+g13(x)g13(x),b(x)e=0,
g12(x)g22(x)+g13(x)g23(x),b(x)e=0,
g13(x)g33(x),b(x)e=0,
g22(x)g22(x)+g23(x)g23(x),b(x)e=0,
g23(x)g33(x),b(x)e=0,
g33(x)g33(x),b(x)e=0,

for any b(x)R, which proves the theorem. □

Example 3.

Let C be the code from Example 2. Then C is an Euclidean self-orthogonal [39,12,15]-code (computed by Magma [28]. Its dual is a [39,27,6]-code, which has the same parameters as Best Known Linear Code (BKLC) [29] (but the code in [29] has a complicated structure.

Similarly, we can give description of Euclidean dual-containing codes.

Theorem 11.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then C is Euclidean dual-containing if and only if the following conditions hold:

(1) g11(x)g11(x) divides xm(xm1);

(2) g11(x)g11(x)g22(x) divides xm(xm1)g12(x);

(3) g11(x)g11(x)g22(x)g33(x) divides xm(xm1)(g12(x)g23(x)g13(x)g22(x));

(4) g11(x)g11(x)g22(x)g22(x) divides xm(xm1)(g11(x)g11(x)+g12(x)g12(x));

(5) g11(x)g11(x)g22(x)g22(x)g33(x) divides xm(xm1)(g12(x)g12(x)g23(x)

g13(x)g12(x)g22(x)g11(x)g11(x)g23(x));

(6) g11(x)g11(x)g22(x)g22(x)g33(x)g33(x) divides

xm(xm1)(g12(x)g12(x)g23(x)g23(x)g13(x)g12(x)g22(x)g23(x)g12(x)g13(x)g22(x)g23(x)+g13(x)g13(x)g22(x)g22(x)+g11(x)g11(x)g23(x)g23(x)).

Proof. 

C is Euclidean dual-containing if and only if Ce is Euclidean self-orthogonal. By Theorem 9 it means that

xm(xm1)g11(x),0,0,xm(xm1)g11(x),0,0b(x)e=0,
xm(xm1)g11(x),0,0,xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0b(x)e=0,
xm(xm1)g11(x),0,0,        xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x)b(x)e=0,
    xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0,xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0b(x)e=0,
xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0,      xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x)b(x)e=0,
xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x),      xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x)b(x)e=0,

for any b(x)R. This is equivalent to

xm(xm1)g11(x)xm(xm1)g11(x)0(modxm1),
xm(xm1)g11(x)xm(xm1)g12(x)g11(x)g22(x)0(modxm1),
xm(xm1)g11(x)xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)0(modxm1),
xm(xm1)g12(x)g11(x)g22(x)xm(xm1)g12(x)g11(x)g22(x)+xm(xm1)g22(x)xm(xm1)g22(x)0(modxm1),
xm(xm1)g12(x)g11(x)g22(x)xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)+xm(xm1)g22(x)xm(xm1)g23(x)g22(x)g33(x)0(modxm1),
xm(xm1)(g12(x)g23(x)g13(x)g22(x)g11(x)g22(x)g33(x)xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)+xm(xm1)g23(x)g22(x)g33(x)xm(xm1)g23(x)g22(x)g33(x)0(modxm1),

i.e.,

xm(xm1)g11(x)·(xm1)g11(x)0(modxm1),
xm(xm1)g11(x)·(xm1)g12(x)g11(x)g22(x)0(modxm1),
xm(xm1)g11(x)(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)0(modxm1),
xm(xm1)g12(x)g11(x)g22(x)·(xm1)g12(x)g11(x)g22(x)+xm(xm1)g22(x)·(xm1)g22(x)0(modxm1),
xm(xm1)g12(x)g11(x)g22(x)(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)+xm(xm1)g22(x)(xm1)g23(x)g22(x)g33(x)0(modxm1),
xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)+xm(xm1)g23(x)g22(x)g33(x)xm(xm1)g23(x)g22(x)g33(x)0(modxm1),

which proves the theorem. □

In terms of reciprocal polynomials Theorem 10 can be reformulated as follows.

Corollary 12.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then C is self-orthogonal if and only if the following conditions hold:

(1) xdegg12+degg13g11(x)g11(x)*+xdegg11+degg13g12(x)g12(x)*+xdegg11+degg12g13(x)g13(x)*0(modxm1);

(2) xdegg23g12(x)g22(x)*+xdegg22g13(x)g23(x)*0(modxm1);

(3) g13(x)g33(x)*0(modxm1);

(4) xdegg23g22(x)g22(x)*+xdegg22g23(x)g23(x)*0(modxm1);

(5) g23(x)g33(x)*0(modxm1);

(6) g33(x)g33(x)*0(modxm1).

Example 4.

Let m=10, q=3, and let C be a code generated by (g11(x),g12(x),g13)(x)), where g11(x)=1, g12(x)=x9+2x8+x7+x6+x5+1, g13=2x9+2x8+x7+x6+x4+x3+x2+1. Then C is an Euclidean self-orthogonal [30,10,12]-code, and its dual is a [30,20,6]-code. The code Ce is optimal [29].

Example 5.

Let m=10, q=3. Then xm1=p0p1p2p3, where p0=x1, p1=x+1, p2=x4+x3+x2+x+1, p3=x4+2x3+x2+2x+1. Let C be a code generated by (g11(x),g12(x),g13)(x)), where g11(x)=p0p1, g12(x)=p0p1(x3+x2+x+2), g13=p02p1(x5+2x3+2x2+2). Then C is an Euclidean self-orthogonal [30,8,15]-code, and its dual is a [30,22,5]-code. Both codes are optimal [29].

Example 6.

Let m=14, q=3. Then xm1=p0p1p2p3, where p0=x1, p1=x+1, p2=x6+x5+x4+x3+x2+x+1, p3=x6+2x5+x4+2x3+x2+2x+1. Let C be a code generated by (g11(x),g12(x),g13(x)), where g11(x)=p0, g12(x)=p0x(x11+2x10+x8+2x7+x5+x3+x+1), g13=p0(x2+1)(x5+x4+x2+1). Then C is an Euclidean self-orthogonal [42,13,18] code with the same parameters as BKLC, and its dual is a [42,29,6] almost BKLC [29].

5. Hermitian Duals of Quasi-Cyclic Codes

In this section we consider codes over the field Fq2 of q2 elements. Let a(x)=a0+a1x++am1xm1 and b(x)=b0+b1x++bm1xm1, where ai, biFq2 for any 0im1. For cFq2 we define c¯=cq and

a¯(x)=a0¯+a1¯x++am1¯xm1.

Then the Hermitian inner product on R is defined as

a(x),b(x)h=a(x),b¯(x)e=a0b0¯+a1b1¯++am1bm1¯. (9)

If C is a code in (Fq2)2m, then its Hermitian dual is

Ch={u(Fq2)2mu,vh=0,forallvC}.

The code C is called Hermitian self-orthogonal if CCh, and Hermitian dual-containing if CCh. We investigate Hermitian codes following a similar pattern to that used for Euclidean codes.

Let f(x)=a0+a1x++am1xm1+amxm. We define the conjugate transpose polynomial f(x) of f(x) as

f(x)=xmf¯(x1)=am¯+am1¯x++a2¯xm2+a1¯xm1+a0¯xm.

Lemma 13.

If degf(x)m, degh(x)m and degf(x)h(x)m, then

(1) f(x)=xmdegff¯*(x);

(2) xmf(x)h(x)=f(x)h(x);

(3) f(x)(a0¯+am¯)+am1¯x++a2¯xm2+a1¯xm1(modxm1);

(4) f(x)h(x)f(x)h(x)(modxm1).

Proof. 

It is similar to the proof of Lemma 6. □

The next lemma is an analog of Lemma 7 and it can be proved in the same way.

Lemma 14.

Let a(x), b(x), c(x) be polynomials in R. Then

a(x)c(x),b(x)h=a(x),b(x)c(x)h.

The inner product (9) can be naturally extended to QC codes of length 3m and index 3:

a(x),b(x),c(x),a(x),b(x),c(x)h=a(x),a(x)h+b(x),b(x)+c(x),c(x)h.

Lemma 15.

(1) If f(x) divides xm1, then f(x) divides xm(1xm).

(2) If f(x) divides xm1, then

xm1f(x)=xm(1xm)f(x).

(3) If degg12(x)<degg22(x) and g11(x)g22(x) divides (xm1)g12(x), then

(xm1)g12(x)g11(x)g22(x)=xm(1xm)g12(x)g11(x)g22(x).

(4) If degg12(x)<degg22(x), degg23(x)<degg33(x), degg13(x)<degg(x) and g11(x)g22(x)g33(x) divides (xm1)(g12(x)g23(x)g13(x)g22(x)), then

(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x)=xm(1xm)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x).

Proof. 

It is similar to the proof of Lemma 8. □

Theorem 16.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then its Hermitian dual code Ch is generated by three elements

xm(xm1)g11(x),0,0,
xm(xm1)g12(x)g11(x)g22(x),xm(xm1)g22(x),0,
xm(xm1)(g12(x)g23(x)g13(x)g22(x))g11(x)g22(x)g33(x),xm(xm1)g23(x)g22(x)g33(x),xm(xm1)g33(x).

The next two theorems give characterizations of Hermitian self-orthogonal and Hermitian dual-containing codes.

Theorem 17.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then C is Hermitian self-orthogonal if and only if the following conditions hold:

(1) g11(x)g11(x)+g12(x)g12(x)+g13(x)g13(x)0(modxm1);

(2) g12(x)g22(x)+g13(x)g23(x)0(modxm1);

(3) g13(x)g33(x)0(modxm1).

(4) g22(x)g22(x)+g23(x)g23(x)0(modxm1);

(5) g23(x)g33(x)0(modxm1);

(6) g33(x)g33(x)0(modxm1).

Example 7.

Let m=7, q=2, Fq2=F2[w]. Then xm1=p0p1p2, where p0=x+1, p1=x3+x+1, p2=x3+x2+1. Let C be a code generated by (g11(x),g12(x),g13)(x)), where g11(x)=p1, g12(x)=p1(x+w), g13=p0p1(x+w2). Then C is a Hermitian self-orthogonal [21,4,14]-code, and its dual is a [21,17,3]-code. Both codes are optimal [29].

Example 8.

Let m=7, q=2, Fq2=F2[w]. Let C be a code generated by three elements (1,1,x2+x+w), (0,p0,x5+x4+w2x3+wx2+w) and (0,0,p1p2). Then C is a [21,14,5]-code, and its Hermitian dual C is a [21,7,11]-code. Code C is a BKLC and C is optimal [29].

Theorem 18.

Let C be a QC code of length 3m and index 3, generated by elements g1=g11(x),g12(x),g13(x), g2=0,g22(x),g23(x) and g3=0,0,g33(x), satisfying Conditions (). Then C is Hermitian dual-containing if and only if the following conditions hold:

(1) g11(x)g11(x) divides xm(xm1);

(2) g11(x)g11(x)g22(x) divides xm(xm1)g12(x);

(3) g11(x)g11(x)g22(x)g33(x) divides xm(xm1)(g12(x)g23(x)g13(x)g22(x)).

(4) g11(x)g11(x)g22(x)g22(x) divides xm(xm1)(g11(x)g11(x)+g12(x)g12(x)).

(5) g11(x)g11(x)g22(x)g22(x)g33(x) divides xm(xm1)(g12(x)g12(x)g23(x)

g13(x)g12(x)g22(x)g11(x)g11(x)g23(x)).

(6) g11(x)g11(x)g22(x)g22(x)g33(x)g33(x) divides

xm(xm1)(g12(x)g12(x)g23(x)g23(x)g13(x)g12(x)g22(x)g23(x)g12(x)g13(x)g22(x)g23(x)+g13(x)g13(x)g22(x)g22(x)+g11(x)g11(x)g23(x)g23(x)).

6. Conclusions

In this paper we gave a classification of QC codes of index 3 over finite fields. A QC code of index 3 is generated by at most three elements. We gave a necessary and sufficient condition for a QC code to be generated by one element. We described duals of QC codes with respect to the Euclidean and Hermitian inner products. Moreover, we described self-orthogonal and dual-containing codes with respect to these inner products.

Author Contributions

Investigation, K.A. and R.M.S. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author(s).

Conflicts of Interest

The authors declare no conflicts of interest.

Funding Statement

This work was supported by UAEU grant G00004233.

Footnotes

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.

References

  • 1.Kasami T. A Gilbert-Varshamov bound for quasi-cyclic codes of rate 12. IEEE Trans. Inf. Theory. 1974;20:679. doi: 10.1109/TIT.1974.1055262. [DOI] [Google Scholar]
  • 2.Ling S., Sole P. Good self-dual quasi-cyclic codes exist. IEEE Trans. Inf. Theory. 2003;49:1052–1053. doi: 10.1109/TIT.2003.809501. [DOI] [Google Scholar]
  • 3.Ling S., Sole P. On the algebraic structure of quasi-cyclic codes I: Finite fields. IEEE Trans. Inf. Theory. 2001;47:2751–2760. doi: 10.1109/18.959257. [DOI] [Google Scholar]
  • 4.Ling S., Sole P. On the algebraic structure of quasi-cyclic codes II: Chain rings. Des. Codes Cryptogr. 2003;30:113–130. doi: 10.1023/A:1024715527805. [DOI] [Google Scholar]
  • 5.Ling S., Sole P. On the algebraic structure of quasi-cyclic codes III: Generator theory. IEEE Trans. Inf. Theory. 2005;51:2692–2700. doi: 10.1109/TIT.2005.850142. [DOI] [Google Scholar]
  • 6.Ling S., Niederreiter H., Sole P. On the algebraic structure of quasi-cyclic codes IV: Repeated roots. Des. Codes Cryptogr. 2006;38:337–361. doi: 10.1007/s10623-005-1431-7. [DOI] [Google Scholar]
  • 7.Conan J., Seguin G. Structural properties and enumeration of quasi cyclic codes. AAECC. 1993;4:25–39. doi: 10.1007/BF01270398. [DOI] [Google Scholar]
  • 8.Lally K., Fitzpatrick P. Algebraic structure of quasicyclic codes. Discret. Appl. Math. 2001;111:157–175. doi: 10.1016/S0166-218X(00)00350-4. [DOI] [Google Scholar]
  • 9.Seguin G.E. A class of 1-generator quasi-cyclic codes. IEEE Trans. Inf. Theory. 2004;50:1745–1753. doi: 10.1109/TIT.2004.831861. [DOI] [Google Scholar]
  • 10.Galindo C., Hernando F., Matsumoto R. Quasi-cyclic constructions of quantum codes. Finite Fields Their Appl. 2018;52:261–280. doi: 10.1016/j.ffa.2018.04.010. [DOI] [Google Scholar]
  • 11.Guan C., Li R., Lu L., Lu L., Yao Y. New binary quantum codes constructed from quasi-cyclic codes. Int J. Theor. Phys. 2022;61:172. doi: 10.1007/s10773-022-05126-6. [DOI] [Google Scholar]
  • 12.Guan C., Li R., Lu L., Lu L., Song H. On construction of quantum codes with dual-containing quasi-cyclic codes. Quantum. Inf. Process. 2022;21:263. doi: 10.1007/s11128-022-03621-7. [DOI] [Google Scholar]
  • 13.Abdukhalikov K., Dzhumadil’daev A.S., Ling S. Quasi-cyclic codes of index 2. arXiv. 2025 doi: 10.3390/e27111096.2504.00568 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Abdukhalikov K., Bag T., Panario D. One-generator quasi-cyclic codes and their dual codes. Discret. Math. 2023;346:113369. doi: 10.1016/j.disc.2023.113369. [DOI] [Google Scholar]
  • 15.Lally K. Applied Algebra, Algebraic Algorithms and Error-Correcting Codes, Proceedings of the 15th International Symposium, AAECC-15, Toulouse, France, 12–16 May 2003. Springer; Berlin, Germany: 2003. Quasicyclic codes of index ℓ over Fq viewed as Fq[x]-submodules of Fqℓ[x]/〈xm − 1〉; pp. 244–253. LNCS 2643. [Google Scholar]
  • 16.Ezerman M.F., Ling S., Özkaya B., Tharnnukhroh J. Spectral bounds for quasi-twisted codes; Proceedings of the IEEE International Symposium on Information Theory; Paris, France. 7–12 July 2019; pp. 1922–1926. [Google Scholar]
  • 17.Ezerman M.F., Lampos J.M., Ling S., Ozkaya B., Tharnnukhroh J. A comparison of distance bounds for quasi-twisted codes. IEEE Trans. Inf. Theory. 2021;67:6476–6490. doi: 10.1109/TIT.2021.3084146. [DOI] [Google Scholar]
  • 18.Aydin N., Siap I., Ray-Chaudhuri D.K. The structure of 1-generator quasi-twisted codes and new linear codes. Des. Codes Cryptogr. 2001;24:313–326. doi: 10.1023/A:1011283523000. [DOI] [Google Scholar]
  • 19.Shi M., Li X., Krotov D.S., Özbudak F. Quasi-cyclic perfect codes in Doob graphs and special partitions of Galois rings. IEEE Trans. Inf. Theory. 2023;69:5597–5603. doi: 10.1109/TIT.2023.3272566. [DOI] [Google Scholar]
  • 20.Dastbasteh R., Shivji K. Polynomial representation of additive cyclic codes and new quantum codes. Adv. Math. Commun. 2025;19:49–68. doi: 10.3934/amc.2023036. [DOI] [Google Scholar]
  • 21.Semenov P., Trifonov P. Spectral method for quasi-cyclic code analysis. IEEE Comm. Lett. 2012;16:1840–1843. doi: 10.1109/LCOMM.2012.091712.120834. [DOI] [Google Scholar]
  • 22.Luo G., Ezerman M.F., Ling S., Özkaya B. Improved spectral bound for quasi-cyclic codes. IEEE Trans. Inf. Theory. 2024;70:4002–4015. doi: 10.1109/TIT.2024.3364489. [DOI] [Google Scholar]
  • 23.Roth R.M., Zeh A. On spectral design methods for quasi-cyclic codes. IEEE Trans. Inf. Theory. 2019;65:2637–2647. doi: 10.1109/TIT.2018.2880908. [DOI] [Google Scholar]
  • 24.Zeh A., Ling S. Spectral analysis of quasi-cyclic product codes. IEEE Trans. Inf. Theory. 2016;62:5359–5374. doi: 10.1109/TIT.2016.2593451. [DOI] [Google Scholar]
  • 25.Güneri C., Özbudak F. A bound on the minimum distance of quasi-cyclic codes. SIAM J. Discrete Math. 2012;26:1781–1796. doi: 10.1137/120865823. [DOI] [Google Scholar]
  • 26.Saleh A., Soleymani M.R. Quantum codes derived from one-generator quasi-twisted codes; Proceedings of the 2024 IEEE International Symposium on Information Theory (ISIT); Athens, Greece. 7–12 July 2024; pp. 2275–2280. [Google Scholar]
  • 27.Shi M., Chu S., Özbudak F. Additive cyclic codes over Fq3. J. Algebra Appl. 2025;24:2550339. doi: 10.1142/S0219498825503396. [DOI] [Google Scholar]
  • 28.Bosma W., Cannon J., Playoust C. The Magma algebra system I: The user language. J. Symbolic Comput. 1997;24:235–265. doi: 10.1006/jsco.1996.0125. [DOI] [Google Scholar]
  • 29.Grassl M. Bounds on the Minimum Distance of Linear Codes and Quantum Codes. [(accessed on 23 September 2025)]. Available online: http://www.codetables.de.

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author(s).


Articles from Entropy are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES