This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Cyclic and Negacyclic Sum-Rank Codes

Hao Chen, Cunsheng Ding, Zhiqiang Cheng and Conghui Xie Hao Chen, Zhiqiang Cheng and Conghui Xie are with the College of Information Science and Technology/Cyber Security, Jinan University, Guangzhou, Guangdong Province, 510632, China (e-mail: [email protected], [email protected], [email protected]). C. Ding is with the Department of Computer Science and Engineering, The Hong Kong University of Science and Technology, Hong Kong, China (e-mail: [email protected]). The research of Hao Chen was supported by NSFC Grant 62032009. The research of Cunsheng Ding was supported by the Hong Kong Research Grants Council under Grant No. 16301123.
Abstract

Sum-rank codes have known applications in the multishot network coding, the distributed storage and the construction of space-time codes. U. Martínez-Peñas introduced the cyclic-skew-cyclic sum-rank codes and proposed the BCH bound on the cyclic-skew-cyclic sum-rank codes in his paper published in IEEE Trans. Inf. Theory, vol. 67, no. 8, 2021. Afterwards, many sum-rank BCH codes with lower bounds on their dimensions and minimum sum-rank distances were constructed. Sum-rank Hartmann-Tzeng bound and sum-rank Roos bound on cyclic-skew-cyclic codes were proposed and proved by G. N. Alfarano, F. J. Lobillo, A. Neri, and A. Wachter-Zeh in 2022. In this paper, cyclic, negacyclic and constacyclic sum-rank codes are introduced and a direct construction of cyclic, negacyclic and constacyclic sum-rank codes of the matrix size m×mm\times m from cyclic, negacyclic and constacyclic codes over 𝐅qm{\bf F}_{q^{m}} in the Hamming metric is proposed. The cyclic-skew-cylic sum-rank codes are special cyclic sum-rank codes. In addition, BCH and Hartmann-Tzeng bounds for a type of cyclic sum-rank codes are developed. Specific constructions of cyclic, negacyclic and constacyclic sum-rank codes with known dimensions and controllable minimum sum-rank distances are proposed.

Moreover, many distance-optimal binary sum-rank codes and an infinite family of distance-optimal binary cyclic sum-rank codes with minimum sum-rank distance four are constructed. This is the first infinite family of distance-optimal sum-rank codes with minimum sum-rank distance four in the literature.

Index terms: Cyclic-skew-cyclic sum-rank code. Cyclic sum-rank code. Negacyclic sum-rank code. Constacyclic sum-rank code. Distance-optimal sum-rank codes.

1 Introduction

The Hamming weight wtH(𝐚)wt_{H}({\bf a}) of a vector 𝐚=(a1,,an)𝐅qn{\bf a}=(a_{1},\ldots,a_{n})\in{\bf F}_{q}^{n} is the cardinality of its support

supp(𝐚)={i:ai0}.supp({\bf a})=\{i:a_{i}\neq 0\}.

The Hamming distance dH(𝐚,𝐛)d_{H}({\bf a},{\bf b}) between two vectors 𝐚{\bf a} and 𝐛{\bf b} is defined to be the Hamming weight of 𝐚𝐛{\bf a}-{\bf b}. For a code 𝐂𝐅qn{\bf C}\subset{\bf F}_{q}^{n}, its minimum Hamming distance is

dH=min𝐚𝐛{dH(𝐚,𝐛):𝐚,𝐛𝐂}.d_{H}=\min_{{\bf a}\neq{\bf b}}\{d_{H}({\bf a},{\bf b}):{\bf a},{\bf b}\in{\bf C}\}.

It is well-known that the Hamming distance of a linear code 𝐂{\bf C} is the minimum Hamming weight of its non-zero codewords. For the theory of error-correcting codes in the Hamming metric, the reader is referred to [36, 30, 28]. A code 𝐂{\bf C} in 𝐅qn{\bf F}_{q}^{n} of minimum distance dHd_{H} and cardinality MM is called an (n,M,dH)q(n,M,d_{H})_{q} code. The code rate is R(𝐂)=logqMn,R({\bf C})=\frac{\log_{q}M}{n}, and the relative distance is δ(𝐂)=dHn.\delta({\bf C})=\frac{d_{H}}{n}. For an [n,k,dH]q[n,k,d_{H}]_{q} linear code, the Singleton bound asserts that dHnk+1d_{H}\leq n-k+1. When the equality holds, this code is called a maximal distance separable (MDS) code. Reed-Solomon codes are well-known MDS codes [28]. Some BCH codes and Goppa codes can be considered as subfield subcodes of generalized Reed-Solomon codes, and contain examples of optimal binary codes for many parameters ([36, 28, 24]).

The rank-metric distance on the space 𝐅q(n,m){\bf F}_{q}^{(n,m)} of size n×mn\times m matrices over 𝐅q{\bf F}_{q}, where nmn\leq m, is defined by dr(A,B)=rank(AB)d_{r}(A,B)=\mathrm{rank}(A-B). The minimum rank-distance of a code 𝐂𝐅q(n,m){\bf C}\subset{\bf F}_{q}^{(n,m)} is

dr(𝐂)=minAB{dr(A,B):A,B𝐂}.d_{r}({\bf C})=\min_{A\neq B}\{d_{r}(A,B):A,B\in{\bf C}\}.

For a code 𝐂{\bf C} in 𝐅q(m,n){\bf F}_{q}^{(m,n)} with the minimum rank distance dr(𝐂)dd_{r}({\bf C})\geq d, the Singleton-like bound asserts that the number of codewords in 𝐂{\bf C} is upper bounded by qm(nd+1)q^{m(n-d+1)} [23]. A code satisfying the equality is called a maximal rank distance (MRD) code. The Gabidulin code in 𝐅q(n,n){\bf F}_{q}^{(n,n)} consists of 𝐅q{\bf F}_{q}-linear mappings on 𝐅qn𝐅qn{\bf F}_{q}^{n}\cong{\bf F}_{q^{n}} defined by qq-polynomials a0x+a1xq++aixqi++atxqta_{0}x+a_{1}x^{q}+\cdots+a_{i}x^{q^{i}}+\cdots+a_{t}x^{q^{t}}, where at,,a0a_{t},\ldots,a_{0} are arbitrary elements in 𝐅qn{\bf F}_{q^{n}} [23]. Then the minimum rank-distance of the Gabidulin code is at least ntn-t since each nonzero qq-polynomial above has at most qtq^{t} roots in 𝐅qn{\bf F}_{q^{n}}. There are qn(t+1)q^{n(t+1)} such qq-polynomials. Hence the size of the Gabidulin code is qn(t+1)q^{n(t+1)} and it is an MRD code.

Sum-rank codes were introduced in [49] for their applications in multishot network coding (see also [39, 45]). The sum-rank codes were used to construct space-time codes [53], and codes for distributed storage ([12, 40, 37]). There have been some papers on upper bounds, constructions and applications of sum-rank codes in recent years (see, e.g., [11, 10, 37, 38, 39, 42, 41, 47, 48, 44] and references therein). Fundamental properties and some bounds on sizes of sum-rank codes were given in [10]. For a nice survey of sum-rank codes and their applications, the reader is referred to [43].

We recall some basic concepts and results for sum-rank codes from [10]. Let 𝐅q(n,m){\bf F}_{q}^{(n,m)} be the set of all n×mn\times m matrices over 𝐅q{\mathbf{{F}}}_{q}. This is a linear space over 𝐅q{\bf F}_{q} of dimension nmnm. Let nimin_{i}\leq m_{i} be 2t2t positive integers satisfying m1m2mtm_{1}\geq m_{2}\geq\cdots\geq m_{t}. Set N=n1++ntN=n_{1}+\cdots+n_{t}. Let

𝐅q(n1,m1),,(nt,mt)=𝐅q(n1,m1)𝐅q(nt,mt){\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})}={\bf F}_{q}^{(n_{1},m_{1})}\bigoplus\cdots\bigoplus{\bf F}_{q}^{(n_{t},m_{t})}

be the set of all 𝐱=(𝐱1,,𝐱t){\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t}), 𝐱i𝐅q(ni×mi){\bf x}_{i}\in{\bf F}_{q}^{(n_{i}\times m_{i})}, i=1,,ti=1,\ldots,t. This is a linear space over 𝐅q{\bf F}_{q} of dimension Σi=1tnimi\Sigma_{i=1}^{t}n_{i}m_{i}. Set

wtsr(𝐱)=Σi=1trank(𝐱i),wt_{sr}({\bf x})=\Sigma_{i=1}^{t}\mathrm{rank}({\bf x}_{i}),

where 𝐱=(𝐱1,,𝐱t)𝐅q(n1,m1),,(nt,mt){\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t})\in{\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})}. The sum-rank distance between two vectors 𝐱{\bf x} and 𝐲{\bf y} in 𝐅q(n1,m1),,(nt,mt){\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})} is

dsr(𝐱,𝐲)=wtsr(𝐱𝐲)=Σi=1trank(𝐱i𝐲i),d_{sr}({\bf x},{\bf y})=wt_{sr}({\bf x}-{\bf y})=\Sigma_{i=1}^{t}\mathrm{rank}({\bf x}_{i}-{\bf y}_{i}),

where 𝐱=(𝐱1,,𝐱t){\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t}) and 𝐲=(𝐲1,,𝐲t){\bf y}=({\bf y}_{1},\ldots,{\bf y}_{t}) in 𝐅q(n1,m1),,(nt,mt){\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})}. This is indeed a metric on 𝐅q(n1,m1),,(nt,mt){\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})}.

A subset 𝐂{\mathbf{{C}}} of the finite space 𝐅q(n1,m1),,(nt,mt){\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})} with the sum-rank metric is called a sum-rank code with block length tt and matrix sizes n1×m1,,nt×mtn_{1}\times m_{1},\ldots,n_{t}\times m_{t}. Its minimum sum-rank distance is defined by

dsr(𝐂)=min𝐱𝐲,𝐱,𝐲𝐂dsr(𝐱,𝐲).d_{sr}({\bf C})=\min_{{\bf x}\neq{\bf y},{\bf x},{\bf y}\in{\bf C}}d_{sr}({\bf x},{\bf y}).

The code rate of 𝐂{\bf C} is Rsr=logq|𝐂|Σi=1tnimiR_{sr}=\frac{\log_{q}|{\bf C}|}{\Sigma_{i=1}^{t}n_{i}m_{i}}. The relative distance is δsr=dsrN\delta_{sr}=\frac{d_{sr}}{N}. When 𝐂𝐅q(n1,m1),,(nt,mt){\bf C}\subset{\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})} is a linear subspace of the linear space 𝐅q(n1,m1),,(nt,mt){\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})} over 𝐅q{\bf F}_{q}, 𝐂{\bf C} is called a linear sum-rank code. When q=2q=2, this code is called a binary sum-rank code.

In general it is interesting to construct good sum-rank codes with large sizes and large minimum sum-rank distances, and develop their decoding algorithms. When t=1t=1, this is the rank-metric code case [23]. When m1==mt=mm_{1}=\cdots=m_{t}=m and n1==nt=nn_{1}=\cdots=n_{t}=n, this is the tt-sum-rank code over 𝐅qm{\bf F}_{q^{m}} with length ntnt. When m=n=1m=n=1, this is the Hamming metric code case. Hence the sum-rank coding is a generalization of the the Hamming metric coding and the rank-metric coding. When q=2q=2 and n1==nt=m1==mt=2n_{1}=\cdots=n_{t}=m_{1}=\cdots=m_{t}=2, sum-rank codes are in the space 𝐅2(2,2),,(2,2)=𝐅2(2,2)𝐅2(2,2){\bf F}_{2}^{(2,2),\ldots,(2,2)}={\bf F}_{2}^{(2,2)}\bigoplus\cdots\bigoplus{\bf F}_{2}^{(2,2)}, this is the generalization of the binary Hamming metric codes to the sum-rank codes of the matrix size 2×22\times 2. In the fundamental paper [41] by U. Martínez-Peñas, many linear binary sum-rank BCH codes of matrix size 2×22\times 2 were constructed, and their decoding algorithms were given.

The Singleton-like bound on sum-rank codes was proposed in [40, 10]. The general form of the bound given in Theorem III.2 in [10] is as follows. The minimum sum-rank distance dsrd_{sr} can be written uniquely in the form dsr=Σi=1j1ni+δ+1d_{sr}=\Sigma_{i=1}^{j-1}n_{i}+\delta+1 where 0δnj10\leq\delta\leq n_{j}-1, then

|𝐂|qΣi=jtnimimjδ.|{\bf C}|\leq q^{\Sigma_{i=j}^{t}n_{i}m_{i}-m_{j}\delta}.

A code attaining this bound is called a maximal sum-rank distance (MSRD) code. When m1==mt=mm_{1}=\cdots=m_{t}=m, this bound is of the form

|𝐂|qm(Ndsr+1).|{\bf C}|\leq q^{m(N-d_{sr}+1)}.

It is clear that when t=1t=1, this is the Singleton-like bound for rank-metric codes, and when n=m=1n=m=1, this is the Singleton bound for codes in the Hamming metric. For constructions of some MSRD codes, the reader is referred to [10, 42, 14]. Linearized Reed-Solomon codes, which are the sum-rank versions of the classical Reed-Solomon codes, were introduced and studied in [37]. Their Welch-Berlekamp decoding algorithm was presented in [39].

There have been several constructions of sum-rank codes with good parameters. The analogue sum-rank codes of Hamming codes and simplex codes were given in [38]. Sum-rank Hamming codes have the minimum sum-rank distance three and are perfect. The reader is referred to [37] and [41] for linearized Reed-Solomon codes. Twisted linearized Reed-Solomon codes were constructed in [47]. Cyclic-skew-cyclic (CSC) sum-rank codes of the matrix size n1==nt=nn_{1}=\cdots=n_{t}=n, m1==mt=mm_{1}=\cdots=m_{t}=m were proposed and studied in [41] by a deep algebraic method. These sum-rank codes are linear over 𝐅qm{\bf F}_{q^{m}}. The sum-rank BCH bound on CSC codes was proved and sum-rank BCH codes were introduced in [41]. Dimensions of sum-rank BCH codes were lower bounded in [41, Theorem 9]. Many sum-rank codes of the parameters n=m=2n=m=2 and q=2q=2 were constructed in Tables I, II, III, IV, V, VI and VII of [41]. The minimum sum-rank distances of CSC codes were improved in a recent paper [4]. Similar sum-rank Hartmann-Tzeng bound and sum-rank Roos bound for CSC codes were proved in their paper. A decoding algorithm for sum-rank BCH codes was presented in [41]. For several recent works on sum-rank codes, the reader is referred to [1, 7, 9, 16]. In our previous paper [14], we proposed a construction of linear sum-rank codes by combining several Hamming metric codes and qq-polynomials.

Similar to the distance-optimal codes in the Hamming metric, see [18], distance-optimal sum-rank codes can be defined as follows. Let 𝐂𝐅q(n1,m1),,(nt,mt){\mathbf{{C}}}\subset{\bf F}_{q}^{(n_{1},m_{1}),\ldots,(n_{t},m_{t})} be a sum-rank code with MM codewords and the minimum sum-rank distance dsrd_{sr}, and there is no sum-rank code with MM codewords and the minimum sum-rank distance dsr+1d_{sr}+1, we call 𝐂{\mathbf{{C}}} a distance-optimal sum-rank code. We will construct an infinite family of distance-optimal cyclic sum-rank codes with respect to the sphere packing bound. We refer to [10] for the sphere packing bound in the sum-rank metric. In general, it is more difficult to construct optimal sum-rank codes attaining some upper bounds in the sum-rank metric. Sum-rank Hamming codes constructed in [38] are perfect in the sum-rank metric, then distance-optimal. However the minimum sum-rank distance of sum-rank Hamming codes is three. In this paper, we show that cyclic sum-rank codes provide infinitely many distance-optimal sum-rank codes with minimum sum-rank distance four.

The main contributions of this paper are as follows.

1) Cyclic, negacyclic and constacyclic sum-rank codes over 𝐅q{\bf F}_{q} of the matrix size n×mn\times m are introduced. Cyclic-skew-cyclic sum-rank codes are special cyclic sum-rank codes.

2) Cyclic, negacyclic and constacyclic sum-rank codes are constructed with cyclic, negacyclic and constacyclic codes in the Hamming metric through a one-way bridge.

3) With cyclic or negacyclic or constacyclic codes in the Hamming metric with known dimensions, specific families of cyclic or negacyclic or constacyclic sum-rank codes with known dimensions and controllable minimum sum-rank distances are presented.

4) In some cases, the minimum sum-rank distances of some cyclic, negacyclic and constacyclic sum-rank codes are determined explicitly. Notice that it is difficult to determine the minimum sum-rank distances and dimensions of cyclic-skew-cyclic sum-rank codes ([41, 4]).

5) Many distance-optimal binary sum-rank codes and an infinite family of distance-optimal binary cyclic sum-rank codes with minimum sum-rank distance four are constructed. To the best of the authors’ knowledge, this is the first infinite family of distance-optimal codes with minimum sum-rank distance four in the literature.

The rest of this paper is organized as follows. In Section 2, cyclic-skew-cyclic sum-rank codes and their bounds are recalled. In Section 3, cyclic and negacyclic sum-rank codes are defined, and a general construction of cyclic and negacyclic sum-rank codes is introduced. In addition, the BCH bound and Hartmann-Tzeng bound for a type of cyclic sum-rank codes are developed. In Section 4, specific families of cyclic sum-rank codes are presented. In Section 5, constructions of negacyclic sum-rank codes are proposed. In Section 6, λ\lambda-constacyclic sum-rank codes are introduced and studied. In Section 7, distance-optimal binary sum-rank codes with minimum sum-rank distance four are constructed. In Section 8, the decoding of cyclic and negacyclic sum-rank codes is discussed. Section 9 concludes this paper.

2 Cyclic-skew-cyclic sum-rank codes and their bounds

We first recall the definition of cyclic-skew-cyclic (CSC) sum-rank codes introduced and studied in [41, 4]. By Definition 4 in [41], a sum-rank code 𝐂{\bf C} over 𝐅q{\bf F}_{q} with block length tt and matrix size n×mn\times m is called cyclic-skew-cyclic (CSC) if the following hold:

(1) If 𝐱=(𝐱1,,𝐱t)𝐂{\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t})\in{\bf C} , where 𝐱i𝐅q(n,m){\bf x}_{i}\in{\bf F}_{q}^{(n,m)}, i=1,,ti=1,\ldots,t, then (𝐱t,𝐱1,,𝐱t1)𝐂({\bf x}_{t},{\bf x}_{1},...,{\bf x}_{t-1})\in{\bf C}.

(2) If 𝐱=(𝐱1,,𝐱t)𝐂{\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t})\in{\bf C} with 𝐱i=(xi,1,xi,2,,xi,m)𝐅q(n,m){\bf x}_{i}=(x_{i,1},x_{i,2},...,x_{i,m})\in{\bf F}_{q}^{(n,m)}, i=1,,ti=1,\ldots,t, then (𝐱1,𝐱2,,𝐱t)𝐂({\bf x}^{\prime}_{1},{\bf x}^{\prime}_{2},...,{\bf x}^{\prime}_{t})\in{\bf C}, where 𝐱i=(σ(xi,m),σ(xi,1),,σ(xi,m1))𝐅q(n,m){\bf x}^{\prime}_{i}=(\sigma(x_{i,m}),\sigma(x_{i,1}),...,\sigma(x_{i,m-1}))\in{\bf F}_{q}^{(n,m)}, i=1,,ti=1,\ldots,t, and σ:𝐅qns𝐅qns\sigma:{\bf F}_{q^{ns}}\rightarrow{\bf F}_{q^{ns}} is defined as aaqsa\longmapsto a^{q^{s}} with s=ordt(q)s=\mathrm{ord}_{t}(q).

In [41] and [4], sum-rank BCH lower bound, sum-rank Hartmann-Tzeng lower bound and sum-rank Roos lower bound on minimum sum-rank distances of CSC codes were given. We recall these bounds for references later.

We consider sum-rank codes over 𝐅q{\mathbf{{F}}}_{q} with block length tt and matrix size n×mn\times m. Assume that gcd(t,q)=1\gcd(t,q)=1. Let

xt1=m1(x)mh(x)x^{t}-1=m_{1}(x)\cdots m_{h}(x)

be the canonical factorisation of xt1x^{t}-1 over 𝐅q{\mathbf{{F}}}_{q}, where each mi(x)m_{i}(x) is an irreducible polynomial in 𝐅q[x]{\bf F}_{q}[x]. Let s=ordt(q)s=\mathrm{ord}_{t}(q). Let a𝐅qsa\in{\bf F}_{q^{s}} be a primitive tt-th root of unity and β\beta be a normal element of the extension 𝐅qs𝐅qns{\bf F}_{q^{s}}\subseteq{\bf F}_{q^{ns}}. Given a cyclic-skew-cyclic code 𝐂𝐅q(n,m),,(n,m){\bf C}\subseteq{\bf F}_{q}^{(n,m),...,(n,m)} with minimal generator skew polynomial g(x,z)g(x,z), the defining set of 𝐂{\bf C} is 𝐓𝐂={(a,β)𝐅qs×𝐅qns|at=1,{\bf T_{C}}=\{(a,\beta)\in{\bf F}_{q^{s}}\times{\bf F}_{q^{ns}}^{*}|a^{t}=1, total evaluation map Ev(g(x,z))a,β=0}.{}_{a,\beta}(g(x,z))=0\}.

Theorem 2.1 (Sum-rank BCH bound, [41]).

If the defining set 𝐓𝐂{\bf T_{C}} of the cyclic-skew-cyclic code 𝐂{\bf C} is the smallest that contains {(ab+i,σi(β))𝐅qs×𝐅qns:0iδ2}\{(a^{b+i},\sigma^{i}(\beta))\in{\bf F}_{q^{s}}\times{\bf F}_{q^{ns}}^{*}:0\leq i\leq\delta-2\}, where b0b\geq 0 and 2δmt2\leq\delta\leq mt, then dsrδd_{sr}\geq\delta, dim𝐅q(𝐂)n(mtμ=1hdμmin{n,skμdμ})\dim_{{\bf F}_{q}}({\bf C})\geq n(mt-\sum\limits_{\mu=1}^{h}d_{\mu}\cdot\min\{n,\frac{sk_{\mu}}{d_{\mu}}\}), where dμ=degx(mμ(x))d_{\mu}=\deg_{x}(m_{\mu}(x)) and kμ=|{i|0iδ2,mμ(ab+i)=0}|k_{\mu}=|\{i|0\leq i\leq\delta-2,m_{\mu}(a^{b+i})=0\}|.

The sum-rank HT bound and sum-rank Roos bound were proposed and proved in [4]. Lower bounds on dimensions of cyclic-skew-cyclic sum-rank codes can be obtained from these two bounds as follows.

Theorem 2.2 (Sum-rank HT bound, [4]).

If the defining set 𝐓𝐂{\bf T_{C}} of the cyclic-skew-cyclic code 𝐂{\bf C} is the smallest that contains {(ab+it1+jt2,σit1+jt2(β))𝐅qs×𝐅qns:0iδ2,0jr}\{(a^{b+it_{1}+jt_{2}},\sigma^{it_{1}+jt_{2}}(\beta))\in{\bf F}_{q^{s}}\times{\bf F}_{q^{ns}}^{*}:0\leq i\leq\delta-2,0\leq j\leq r\}, where gcd(mt,t1)=1\gcd(mt,t_{1})=1 and gcd(mt,t2)<δ\gcd(mt,t_{2})<\delta, then dsrδ+rd_{sr}\geq\delta+r, dim𝐅q(𝐂)n(mtμ=1hdμmin{n,skμdμ})\dim_{{\bf F}_{q}}({\bf C})\geq n(mt-\sum\limits_{\mu=1}^{h}d_{\mu}\cdot\min\{n,\frac{sk_{\mu}}{d_{\mu}}\}), where dμ=degx(mμ(x))d_{\mu}=\deg_{x}(m_{\mu}(x)) and kμ=|{(b+it1+jt2)|0iδ2,0jr,mμ(ab+it1+jt2)=0}|k_{\mu}=|\{(b+it_{1}+jt_{2})|0\leq i\leq\delta-2,0\leq j\leq r,m_{\mu}(a^{b+it_{1}+jt_{2}})=0\}|.

Theorem 2.3 (Sum-rank Roos bound, [4]).

Let 𝐂{\bf C} be a cyclic-skew-cyclic code. Let bb,uu δ\delta, k0k_{0},…,krk_{r} be integers, such that gcd(mt,u)=1\gcd(mt,u)=1, ki<ki+1k_{i}<k_{i+1} for i=0,,r1i=0,...,r-1, krk0δ+r1k_{r}-k_{0}\leq\delta+r-1. If {(ab+ui+kj,σui+kj(β))𝐅qs×𝐅qns:0iδ2,0ur}𝐓𝐂\{(a^{b+ui+k_{j}},\sigma^{ui+k_{j}}(\beta))\in{\bf F}_{q^{s}}\times{\bf F}_{q^{ns}}^{*}:0\leq i\leq\delta-2,0\leq u\leq r\}\subseteq{\bf T}_{\bf C}, then dsr(𝐂)δ+rd_{sr}({\bf C})\geq\delta+r, dim𝐅q(𝐂)n(mtμ=1hdμmin{n,skμdμ})\dim_{{\bf F}_{q}}({\bf C})\geq n(mt-\sum\limits_{\mu=1}^{h}d_{\mu}\cdot\min\{n,\frac{sk_{\mu}}{d_{\mu}}\}), where dμ=degx(mμ(x))d_{\mu}=\deg_{x}(m_{\mu}(x)) and kμ=|{(b+ui+kj)|0iδ2,0ur,mμ(ab+ui+kj)=0}|.k_{\mu}=|\{(b+ui+k_{j})|0\leq i\leq\delta-2,0\leq u\leq r,m_{\mu}(a^{b+ui+k_{j}})=0\}|.

When n=m=1n=m=1, above lower bounds are the classical BCH bound, the classical Hartmann-Tzeng bound and the classical Roos bound for cyclic codes in the Hamming metric.

3 Cyclic and negacyclic sum-rank codes

In this section, we first introduce cyclic and negacyclic sum-rank codes in 𝐅q(n,m),,(n,m){\bf F}_{q}^{(n,m),\ldots,(n,m)}. Cyclic-skew-cyclic(CSC) codes introduced in [41] are special cases of cyclic sum-rank codes. Then we present a general construction of cyclic sum-rank codes directly from cyclic codes in the Hamming metric. Afterwards, we propose and prove the BCH bound and Hartmann-Tzeng bound for a type of cyclic sum-rank codes.

3.1 The classical constacyclic codes in the Hamming metric

We recall some basic facts of cyclic, negacyclic and constacyclic codes in the Hamming matric. Let λ\lambda be a nonzero element in 𝐅q.{\mathbf{F}}_{q}. A linear code 𝐂𝐅qn{\bf C}\subseteq{\mathbf{F}}_{q}^{n} over 𝐅q{\mathbf{F}}_{q} is said to be λ\lambda-constacyclic if (c0,c1,,cn1)𝐂(c_{0},c_{1},...,c_{n-1})\in{\bf C} implies (λcn1,c0,c1,,cn2)𝐂(\lambda c_{n-1},c_{0},c_{1},...,c_{n-2})\in{\bf C}. By identifying any vector (c0,c1,,cn1)𝐅qn(c_{0},c_{1},...,c_{n-1})\in{\mathbf{F}}_{q}^{n} with

c0+c1x+c2x2++cn1xn1𝐅q[x]/(xnλ),c_{0}+c_{1}x+c_{2}x^{2}+\cdots+c_{n-1}x^{n-1}\in{\mathbf{F}}_{q}[x]/(x^{n}-\lambda),

the corresponding constacyclic code 𝐂{\bf C} of length nn over 𝐅q{\mathbf{F}}_{q} is an ideal of 𝐅q[x]/(xnλ){\mathbf{F}}_{q}[x]/(x^{n}-\lambda). Note that every ideal of 𝐅q[x]/(xnλ){\mathbf{F}}_{q}[x]/(x^{n}-\lambda) is principal. Then there exists monic polynomial g(x)g(x) of the smallest degree such that 𝐂=g(x){\bf C}=\left\langle g(x)\right\rangle and g(x)|(xnλ)g(x)|(x^{n}-\lambda). In addition, g(x)g(x) is unique and called the generator polynomial. The polynomial h(x)=(xnλ)/g(x)h(x)=(x^{n}-\lambda)/g(x) is called the check polynomial of the constacyclic code 𝐂{\mathbf{{C}}}. In particular, if λ=1\lambda=1 or λ=1\lambda=-1, the λ\lambda-constacyclic code is cyclic or negacyclic, respectively ([28, 36]).

When a code in 𝐅qn{\bf F}_{q}^{n} is only closed with respect to the addition, not the scalar multiplication, and is cyclic or negacyclic, we call this code a cyclic additive code or a negacyclic cyclic code. Cyclic additive codes were introduced and studied in [8].

3.2 Lower bounds on cyclic codes in the Hamming metric

Assume that gcd(n,q)=1.\gcd(n,q)=1. Let s=ordn(q)s=\mathrm{ord}_{n}(q) and α\alpha be a generator of the cyclic group 𝐅qs{\mathbf{F}}_{{q}^{s}}^{*} and put β=αqs1n\beta=\alpha^{\frac{{q}^{s}-1}{n}}. Then β\beta is a primitive nn-th root of unity. Let 𝐂{\mathbf{{C}}} be a cyclic code of length nn over 𝐅q{\mathbf{{F}}}_{q} with generator polynomial g(x)g(x). The defining set of 𝐂{\bf C} with respect to β\beta is defined by 𝐓={0in1|g(βi)=0}{\bf T}=\{0\leq i\leq n-1|g(\beta^{i})=0\}.

If there are an integer bb and an integer δ2\delta\geq 2 such that

{(b+i)modn:0iδ2}𝐓,\{(b+i)\bmod{n}:0\leq i\leq\delta-2\}\subseteq{\bf T},

then 𝐓{\bf T} is said to contain δ1\delta-1 consecutive elements and the minimum distance dH(𝐂)d_{H}({\mathbf{{C}}}) of 𝐂{\bf C} is at least δ\delta [28]. This is the BCH bound for cyclic codes.

Let AA be a set of δ1\delta-1 consecutive elements of 𝐓{\mathbf{{T}}} and B={jbmodn|0js}B=\{jb\bmod{n}|0\leq j\leq s\}, where gcd(b,n)<δ\gcd(b,n)<\delta. If A+B𝐓A+B\subseteq{\mathbf{{T}}}, then the minimum distance dH(𝐂)d_{H}({\mathbf{{C}}}) of 𝐂{\bf C} is at least δ+s\delta+s. This bound is called the Hartmann-Tzeng (HT) bound for cyclic codes. For more bounds on cyclic codes, the reader is referred to [28, 36].

3.3 Cyclic and negacyclic sum-rank codes

Cyclic-skew-cyclic sum-rank codes were introduced in Section 2. We now define cyclic sum-rank codes as follows.

Definition 3.1 (Cyclic sum-rank code).

A sum-rank code 𝐂{\bf C} over 𝐅q{\bf F}_{q} with block length tt and matrix size n×mn\times m is called a cyclic sum-rank (CSR) code, if 𝐱=(𝐱1,,𝐱t){\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t}) is a codeword in 𝐂{\bf C}, 𝐱i𝐅q(n,m){\bf x}_{i}\in{\bf F}_{q}^{(n,m)}, i=1,,ti=1,\ldots,t, implies that (𝐱t,𝐱1,,𝐱t1)({\bf x}_{t},{\bf x}_{1},...,{\bf x}_{t-1}) is also a codeword in 𝐂{\bf C}.

Similarly, negacyclic sum-rank codes are defined as follows.

Definition 3.2 (Negacyclic sum-rank code).

A sum-rank code 𝐂{\bf C} over 𝐅q{\bf F}_{q} with block length tt and matrix size n×mn\times m is called a negacyclic sum-rank code, if 𝐱=(𝐱1,,𝐱t){\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t}) is a codeword in 𝐂{\bf C}, 𝐱i𝐅q(n,m){\bf x}_{i}\in{\bf F}_{q}^{(n,m)}, i=1,,ti=1,\ldots,t, implies that (𝐱t,𝐱1,,𝐱t1)({\bf-x}_{t},{\bf x}_{1},...,{\bf x}_{t-1}) is also a codeword in 𝐂{\bf C}.

The linear space 𝐅q(m,m){\bf F}_{q}^{(m,m)} of all m×mm\times m matrices over 𝐅q{\bf F}_{q} can be identified with the space of all qq-polynomials,

𝐅q(m,m)={a0x+a1xq++am1xqm1:a0,,am1𝐅qm}.{\bf F}_{q}^{(m,m)}=\{a_{0}x+a_{1}x^{q}+\cdots+a_{m-1}x^{q^{m-1}}:a_{0},\ldots,a_{m-1}\in{\bf F}_{q^{m}}\}.

This isomorphism is the isomorphism of the linear spaces over 𝐅q{\bf F}_{q}. Then each sum-rank code 𝐂{\bf C} of the matrix size m×mm\times m corresponds mm codes 𝐂0,,𝐂m1{\bf C}_{0},\ldots,{\bf C}_{m-1} over 𝐅qm{\bf F}_{q^{m}} via this isomorphism. When 𝐂{\bf C} is a cyclic or negacyclic sum-rank code, 𝐂0,,𝐂m1{\bf C}_{0},\ldots,{\bf C}_{m-1} are cyclic additive or negacyclic additive codes over 𝐅qm{\bf F}_{q^{m}}. The closeness with respect to the scalar multiplication over 𝐅qm{\bf F}_{q^{m}} is not necessarily satisfied.

Now we are ready to introduce a method for constructing linear sum-rank codes over 𝐅q{\mathbf{{F}}}_{q} with block length tt and matrix size m×mm\times m using a sequence of mm linear codes 𝐂0,,𝐂m1{\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1} over 𝐅qm{\mathbf{{F}}}_{q^{m}} with length tt. Given linear codes 𝐂i𝐅qmt{\bf C}_{i}\subseteq{\bf F}_{q^{m}}^{t} with parameters [t,ki,di]qm[t,k_{i},d_{i}]_{q^{m}}, 0im10\leq i\leq m-1, the sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is defined by

SR(𝐂0,,𝐂m1)={SR(𝐜0,,𝐜m1):𝐜i=(ci,1,,ci,t)𝐂i, 0im1},\displaystyle\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1})=\left\{\mathrm{SR}({\mathbf{c}}_{0},\ldots,{\mathbf{c}}_{m-1}):{\mathbf{c}}_{i}=(c_{i,1},\ldots,c_{i,t})\in{\mathbf{{C}}}_{i},\ 0\leq i\leq m-1\right\}, (1)

where

SR(𝐜0,,𝐜m1):=(i=0m1ci,1xqi,,i=0m1ci,txqi).\displaystyle\mathrm{SR}({\mathbf{c}}_{0},\ldots,{\mathbf{c}}_{m-1}):=\left(\sum_{i=0}^{m-1}c_{i,1}x^{q^{i}},\ldots,\sum_{i=0}^{m-1}c_{i,t}x^{q^{i}}\right). (2)

We sometimes use 𝐜0x+𝐜1xq++𝐜m1xqm1{\bf c}_{0}x+{\bf c}_{1}x^{q}+\cdots+{\bf c}_{m-1}x^{q^{m-1}} to denote the codeword SR(𝐜0,,𝐜m1)\mathrm{SR}({\bf c}_{0},\ldots,{\bf c}_{m-1}). SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is a linear sum-rank code over 𝐅q{\mathbf{{F}}}_{q}. It is easy to see that

dim𝐅q(SR(𝐂0,,𝐂m1))=m(k0++km1).\dim_{{\bf F}_{q}}(\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}))=m(k_{0}+\cdots+k_{m-1}).

The following is an improved version of Theorem 2.1 in [14].

Theorem 3.1.

Let 𝐂i𝐅qmt{\bf C}_{i}\subset{\bf F}_{q^{m}}^{t} be a [t,ki,di]qm[t,k_{i},d_{i}]_{q^{m}} linear code over 𝐅qm{\bf F}_{q^{m}}, 0im10\leq i\leq m-1. Then SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is a linear sum-rank code over 𝐅q{\bf F}_{q} with block length tt, matrix size m×mm\times m and dimension m(k0++km1)m(k_{0}+\cdots+k_{m-1}). The minimum sum-rank distance of SR(𝐂0,𝐂1,,𝐂m1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1},...,{\bf C}_{m-1}) is at least

max{min{md0,(m1)d1,,dm1},min{d0,2d1,,mdm1}}.\max\{\min\{md_{0},(m-1)d_{1},...,d_{m-1}\},\min\{d_{0},2d_{1},\ldots,md_{m-1}\}\}.

Proof: Let SR(𝐜0,,𝐜m1)SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{c}}_{0},\ldots,{\mathbf{c}}_{m-1})\in\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) be any nonzero codeword, where 𝐜i=(ci,1,,ci,t)𝐂i{\mathbf{c}}_{i}=(c_{i,1},\ldots,c_{i,t})\in{\bf C}_{i} for 0im10\leq i\leq m-1. Then at least one of these 𝐜i{\mathbf{c}}_{i} is a nonzero codeword. Suppose that 𝐜j{\bf c}_{j} is a nonzero codeword of 𝐂j{\bf C}_{j} but 𝐜i{\bf c}_{i} is the zero codeword of 𝐂i{\bf C}_{i} for all j+1im1j+1\leq i\leq m-1, where 0jm10\leq j\leq m-1. Then at each coordinate position ii of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},\ldots,{\bf C}_{m-1}), 1it1\leq i\leq t, we have

rank(c0,ix+c1,ixq++cm1,ixqm1)\displaystyle\mathrm{rank}(c_{0,i}x+c_{1,i}x^{q}+\cdots+c_{m-1,i}x^{q^{m-1}})
=rank(c0,ix+c1,ixq++cj,ixqj)\displaystyle=\mathrm{rank}(c_{0,i}x+c_{1,i}x^{q}+\cdots+c_{j,i}x^{q^{j}})
(mj),\displaystyle\geq(m-j),

since c0,ix+c1,ixq++cj,ixqjc_{0,i}x+c_{1,i}x^{q}+\cdots+c_{j,i}x^{q^{j}} has at most qjq^{j} roots in 𝐅qm{\bf F}_{q^{m}}. Therefore,

wtsr(SR(𝐜0,,𝐜m1))(mj)dj.wt_{sr}(\mathrm{SR}({\mathbf{c}}_{0},\ldots,{\mathbf{c}}_{m-1}))\geq(m-j)d_{j}.

Consequently, the minimum sum-rank distance of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is at least

min{md0,(m1)d1,,dm1}.\min\{md_{0},(m-1)d_{1},...,d_{m-1}\}.

On the other hand, let 𝐜i{\bf c}_{i} be the zero codeword of 𝐂i{\bf C}_{i} for all 0ij10\leq i\leq j-1 but 𝐜j{\bf c}_{j} be a nonzero codeword of 𝐂j{\bf C}_{j}. Then at the ii-th coordinate position of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},\ldots,{\bf C}_{m-1}), we have

rank(c0,ix+c1,ixq++cm1,ixqm1)=rank(cj,ixqj++cm1,ixqm1).\mathrm{rank}(c_{0,i}x+c_{1,i}x^{q}+\cdots+c_{m-1,i}x^{q^{m-1}})=\mathrm{rank}(c_{j,i}x^{q^{j}}+\cdots+c_{m-1,i}x^{q^{m-1}}).

Since the 𝐅q{\bf F}_{q}-linear mapping cj,ixqj++cm1,ixqm1c_{j,i}x^{q^{j}}+\cdots+c_{m-1,i}x^{q^{m-1}} of 𝐅qm{\bf F}_{q^{m}} is the same as the 𝐅q{\bf F}_{q}-linear mapping (cj,iqmjx+cm1,iqmjxqm1j)qj(c_{j,i}^{q^{m-j}}x+\cdots c_{m-1,i}^{q^{m-j}}x^{q^{m-1-j}})^{q^{j}}, cj,ixqj++cm1,ixqm1c_{j,i}x^{q^{j}}+\cdots+c_{m-1,i}x^{q^{m-1}} and cj,iqmjx+cm1,iqmjxqm1jc_{j,i}^{q^{m-j}}x+\cdots c_{m-1,i}^{q^{m-j}}x^{q^{m-1-j}} have the same rank. Then we have

rank(cj,iqj++cm1,ixqm1)j+1.\mathrm{rank}(c_{j,i}q^{j}+\cdots+c_{m-1,i}x^{q^{m-1}})\geq j+1.

Consequently, the minimum sum-rank distance of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is at least

min{d0,2d1,,mdm1}.\min\{d_{0},2d_{1},\ldots,md_{m-1}\}.

This completes the proof.

The following result gives an upper bound on the minimum sum-rank distance of the sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}).

Proposition 3.1.

Let 𝐂i𝐅qmt{\bf C}_{i}\subset{\bf F}_{q^{m}}^{t} be a [t,ki,di]qm[t,k_{i},d_{i}]_{q^{m}} linear code over 𝐅qm{\bf F}_{q^{m}}, 0im10\leq i\leq m-1. Then SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is a linear sum-rank code over 𝐅q{\bf F}_{q} with block length tt, matrix size m×mm\times m and dimension m(k0++km1)m(k_{0}+\cdots+k_{m-1}). The minimum sum-rank distance of SR(𝐂0,𝐂1,,𝐂m1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1},...,{\bf C}_{m-1}) is at most

min{md0,md1,,mdm1}.\min\{md_{0},md_{1},...,md_{m-1}\}.

Proof: Let 𝐜i=(ci,1,,ci,t)𝐂i{\mathbf{c}}_{i}=(c_{i,1},\ldots,c_{i,t})\in{\bf C}_{i} and wtH(𝐜i)=diwt_{H}({\bf c}_{i})=d_{i} for 0im1.0\leq i\leq m-1. Then

(ci,1xqi,ci,2xqi,,ci,txqi)SR(𝐂0,,𝐂m1).(c_{i,1}x^{q^{i}},c_{i,2}x^{q^{i}},\cdots,c_{i,t}x^{q^{i}})\in\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}).

Assume that ci,j0c_{i,j}\neq 0. Since the mapping ci,jxqic_{i,j}x^{q^{i}} has only one root zero in 𝐅qm{\bf F}_{q^{m}}, we have

rank(ci,jxqi)=m.\mathrm{rank}(c_{i,j}x^{q^{i}})=m.

Hence the minimum sum-rank distance of SR(𝐂0,𝐂1,,𝐂m1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1},...,{\bf C}_{m-1}) is at most

min{md0,md1,,mdm1}.\min\{md_{0},md_{1},...,md_{m-1}\}.

This completes the proof.

Combining Theorem 3.1 and Proposition 3.1 yields the following proposition, which shows that dsr(SR(𝐂0,𝐂1,,𝐂m1))d_{sr}(\mathrm{SR}({\bf C}_{0},{\bf C}_{1},...,{\bf C}_{m-1})) can be determined explicitly in some cases.

Proposition 3.2.

Let 𝐂i𝐅qmt{\bf C}_{i}\subset{\bf F}_{q^{m}}^{t} be a [t,ki,di]qm[t,k_{i},d_{i}]_{q^{m}} linear code over 𝐅qm{\bf F}_{q^{m}}, 0im10\leq i\leq m-1. Then SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is a linear sum-rank code over 𝐅q{\bf F}_{q} with block length tt, matrix size m×mm\times m and dimension m(k0++km1)m(k_{0}+\cdots+k_{m-1}). If md0min{(m1)d1,(m2)d2,,dm1}(ormdm1min{d0,2d1,(m1)dm2}),md_{0}\leq\min\{(m-1)d_{1},(m-2)d_{2},...,d_{m-1}\}({\rm or}~{}md_{m-1}\leq\min\{d_{0},2d_{1}...,(m-1)d_{m-2}\}), then the minimum sum-rank distance of SR(𝐂0,𝐂1,,𝐂m1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1},...,{\bf C}_{m-1}) is exactly md0(ormdm1).md_{0}({\rm or}~{}md_{m-1}).

We have the following important remarks on the construction of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}).

  • When each 𝐂i𝐅qmt{\bf C}_{i}\subset{\bf F}_{q^{m}}^{t} is a cyclic or negacyclic code for 0im10\leq i\leq m-1, it is clear that SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is a cyclic or negacyclic sum-rank code. This allows us to construct cyclic (respectively, negacyclic) sum-rank codes with cyclic (respectively, negacyclic) codes in the Hamming metric.

  • Note that the locations of the coefficients in the qq-polynomial a0x+a1xq++am1xqm1a_{0}x+a_{1}x^{q}+\cdots+a_{m-1}x^{q^{m-1}} over 𝐅qm{\mathbf{{F}}}_{q^{m}} play different roles in determining the rank of the 𝐅q{\mathbf{{F}}}_{q}-linear mapping. The order of the using these linear codes 𝐂i{\mathbf{{C}}}_{i} in the construction of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) affects the minimum sum-rank distance of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}). However, it does not affect the dimension of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}).

  • The lower bound on the minimum sum-rank distance of SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is in general tight, as it can be achieved by certain codes (see Examples 4.3, 4.4, 4.5, 4.6 and Proposition 3.2 and 4.1).

  • This construction SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) could produce very good linear sum-rank codes (see Example 4.6).

  • It is open if every linear sum-rank code over 𝐅q{\mathbf{{F}}}_{q} with block size tt and matrix size m×mm\times m can be constructed as SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) using a sequence of mm codes 𝐂i{\mathbf{{C}}}_{i} over 𝐅qm{\mathbf{{F}}}_{q^{m}} with length tt.

  • It is open if every cyclic sum-rank code over 𝐅q{\mathbf{{F}}}_{q} with block size tt and matrix size m×mm\times m can be constructed as SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) using a sequence of mm cyclic codes 𝐂i{\mathbf{{C}}}_{i} over 𝐅qm{\mathbf{{F}}}_{q^{m}} with length tt.

Since the first condition in the definition of cyclic-skew-cylic codes is the same as the condition for cyclic sum-rank codes, cyclic-skew-cyclic sum-rank codes are special cyclic sum-rank codes. However, a cyclic sum-rank code is not necessarily a cyclic-skew-cyclic code. The cyclic sum-rank code below is not a cyclic-skew-cyclic code [41].

Example 3.1.

Let 𝐂0𝐅415{\mathbf{C}}_{0}\subset\mathbf{F}_{4}^{15} be a cyclic code over 𝐅4\mathbf{F}_{4} with generator polynomial g1(x)=x2+x+αg_{1}(x)=x^{2}+x+{\alpha}, where α\alpha is a primitive element of 𝐅4{\bf F}_{4}. Then α2=α+1\alpha^{2}=\alpha+1 and {1,α}\{1,\alpha\} is an ordered base of 𝐅4{\bf F}_{4} over 𝐅2{\bf F}_{2}. Let 𝐂1𝐅415{\mathbf{C}}_{1}\subset\mathbf{F}_{4}^{15} be a cyclic code over 𝐅4\mathbf{F}_{4} with generator polynomial g2(x)=x151x1g_{2}(x)=\frac{x^{15}-1}{x-1}. Set SR(𝐂0,𝐂1)={𝐜0x+𝐜1x2:𝐜0=(c0,1,,c0,15)𝐂0,𝐜1=(c1,1,,c1,15)𝐂1}.\mathrm{SR}({\bf C}_{0},{\bf C}_{1})=\{{\bf c}_{0}x+{\bf c}_{1}x^{2}:{\bf c}_{0}=(c_{0,1},...,c_{0,15})\in{\mathbf{C}}_{0},{\bf c}_{1}=(c_{1,1},...,c_{1,15})\in{\mathbf{C}}_{1}\}. Then SR(𝐂0,𝐂1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1}) is a cyclic sum-rank code. For i=0,1i=0,1, let ai=ai1+ai2α,a_{i}=a_{i1}+a_{i2}\alpha, where ai1,ai2𝐅2,a_{i1},a_{i2}\in{\bf F}_{2}, then the linear map a1x+a2x2a_{1}x+a_{2}x^{2} over 𝐅4{\bf F}_{4} corresponds to matrix [a1,1+a2,1a1,2+a2,2+a2,1a1,2+a2,2a1,1+a2,1+a1,2]\begin{bmatrix}a_{1,1}+a_{2,1}&a_{1,2}+a_{2,2}+a_{2,1}\\ a_{1,2}+a_{2,2}&a_{1,1}+a_{2,1}+a_{1,2}\\ \end{bmatrix} under the ordered base {1,α}\{1,\alpha\}. Conversely, the matrix [abcd]\begin{bmatrix}a&b\\ c&d\\ \end{bmatrix} of a linear map over 𝐅4{\bf F}_{4} under the ordered base {1,α}\{1,\alpha\} corresponds to linear map a1x+a2x2a^{\prime}_{1}x+a^{\prime}_{2}x^{2}, where a1=a+b+c+(a+d)αa^{\prime}_{1}=a+b+c+(a+d)\alpha and a2=b+c+(a+c+d)αa^{\prime}_{2}=b+c+(a+c+d)\alpha.

Suppose that SR(𝐂0,𝐂1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1}) is a cyclic-skew-cyclic sum-rank code. From the condition s=4s=4 and q=2q=2, it follows that σ(a)=a\sigma(a)=a for a𝐅4a\in{\bf F}_{4}. Take

𝐜0=[1+α,α,α,0,0,0,0,0,0,0,0,0,0,0,0]𝐂0{\bf c}_{0}=[1+\alpha,\alpha,\alpha,0,0,0,0,0,0,0,0,0,0,0,0]\in\mathbf{C}_{0}

and

𝐜1=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]𝐂1,{\bf c}_{1}=[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]\in\mathbf{C}_{1},

then 𝐜0x+𝐜1x2{\bf c}_{0}x+{\bf c}_{1}x^{2} corresponds to

SR(𝐜0,𝐜1)=([0011],[1010],[1010],[1101],[1101],,[1101]).\mathrm{SR}({\bf c}_{0},{\bf c}_{1})=\left(\begin{bmatrix}0&0\\ 1&1\\ \end{bmatrix},\begin{bmatrix}1&0\\ 1&0\\ \end{bmatrix},\begin{bmatrix}1&0\\ 1&0\\ \end{bmatrix},\begin{bmatrix}1&1\\ 0&1\\ \end{bmatrix},\begin{bmatrix}1&1\\ 0&1\\ \end{bmatrix},...,\begin{bmatrix}1&1\\ 0&1\\ \end{bmatrix}\right).

From the second condition on cyclic-skew-cyclic sum-rank codes, we change the first and second columns of it to

SR(𝐜0,𝐜1)=([0011],[0101],[0101],[1110],[1110],,[1110]),\mathrm{SR}({\bf c}^{\prime}_{0},{\bf c}^{\prime}_{1})=\left(\begin{bmatrix}0&0\\ 1&1\\ \end{bmatrix},\begin{bmatrix}0&1\\ 0&1\\ \end{bmatrix},\begin{bmatrix}0&1\\ 0&1\\ \end{bmatrix},\begin{bmatrix}1&1\\ 1&0\\ \end{bmatrix},\begin{bmatrix}1&1\\ 1&0\\ \end{bmatrix},...,\begin{bmatrix}1&1\\ 1&0\\ \end{bmatrix}\right),

where 𝐜0=(1+α,1+α,,1+α){\bf c}^{\prime}_{0}=(1+\alpha,1+\alpha,...,1+\alpha) and 𝐜1=(1,1+α,1+α,0,0,,0).{\bf c}^{\prime}_{1}=(1,1+\alpha,1+\alpha,0,0,...,0). Then 𝐜1=(1,1+α,1+α,0,0,,0)𝐂2{\bf c}^{\prime}_{1}=(1,1+\alpha,1+\alpha,0,0,...,0)\in{\bf C}_{2}, a contradiction since every coordinate of the codeword of 𝐂1{\bf C}_{1} is equal. Hence SR(𝐂0,𝐂1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1}) does not satisfy the second condition of cyclic-skew-cyclic sum-rank codes. SR(𝐂0,𝐂1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1}) is not a cyclic-skew-cyclic code. It is only a cyclic sum-rank code.

3.4 Cyclic sum-rank codes with the matrix size m×mm\times m

We have the following BCH bound and the Hartmann-Tzeng bound for cyclic sum-rank codes SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) with matrix size m×mm\times m.

Theorem 3.2 (BCH bound for cyclic sum-rank codes SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1})).

Let 𝐂i{\bf C}_{i} 𝐅qmt\subseteq{\bf F}_{q^{m}}^{t} be a cyclic code with defining set 𝐓i{\bf T}_{i}, 0im10\leq i\leq m-1. If 𝐓i{\bf T}_{i} contains δi1\delta_{i}-1 consecutive elements, 0im10\leq i\leq m-1, then the qq-ary cyclic sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) has dimension m(mti=0m1|𝐓i|)m(mt-\sum\limits_{i=0}^{m-1}|{\bf T}_{i}|) and minimum sum-rank distance at least

max{min{mδ0,(m1)δ1,,δm1},min{δ0,2δ1,,mδm1}}\max\{\min\{m\delta_{0},(m-1)\delta_{1},...,\delta_{m-1}\},\min\{\delta_{0},2\delta_{1},...,m\delta_{m-1}\}\}

Proof..

The desired conclusions follow from Theorem 3.1 and the BCH bound for cyclic codes in the Hamming metric.

Theorem 3.3 (Hartmann-Tzeng bound for SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1})).

Let 𝐂i{\bf C}_{i} 𝐅qmt\subseteq{\bf F}_{q^{m}}^{t} be a cyclic code with defining set 𝐓i{\bf T}_{i}, 0im10\leq i\leq m-1. If AiA_{i} is a set of δi1\delta_{i}-1 consecutive elements in 𝐓i{\bf T}_{i} and there exists Bi={jbimodt|0jsi}B_{i}=\{jb_{i}\bmod{t}|0\leq j\leq s_{i}\}, where gcd(bi,t)<δi\gcd(b_{i},t)<\delta_{i}, satisfying Ai+Bi𝐓iA_{i}+B_{i}\subseteq{\bf T}_{i}, 0im10\leq i\leq m-1, then SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) has dimension m(mti=0m1|𝐓i|)m(mt-\sum\limits_{i=0}^{m-1}|{\bf T}_{i}|) and dsr(SR(𝐂0,,𝐂m1))d_{sr}(\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1})) is at least

max{min{m(δ0+s0),(m1)(δ1+s1),,δm1+sm1},min{δ0+s0,2(δ1+s1),,m(δm1+sm1)}}\displaystyle\max\left\{\begin{array}[]{l}\min\{m(\delta_{0}+s_{0}),(m-1)(\delta_{1}+s_{1}),...,\delta_{m-1}+s_{m-1}\},\\ \min\{\delta_{0}+s_{0},2(\delta_{1}+s_{1}),...,m(\delta_{m-1}+s_{m-1})\}\end{array}\right\}

Proof..

The desired conclusions follow from Theorem 3.1 and the Hartmann-Tzeng bound for cyclic codes in the Hamming metric.

When all 𝐂i{\bf C}_{i} are BCH cyclic codes, we call the constructed linear sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) an BCH type cyclic sum-rank code, for distinguishing it from those sum-rank BCH codes in [41]. Many BCH type cyclic sum-rank codes were given in [15].

For a given designed sum-rank distance, lower bounds on the dimension of the corresponding cyclic-skew-cyclic sum-rank code are given in sum-rank BCH bound (SR-BCH) and sum-rank Hartmann-Tzeng bound (SR-HT), in [41, 4]. For a given designed sum-rank distance, lower bounds on the dimension of the corresponding cyclic sum-rank code SR(𝐂0,,𝐂m1)SR({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) are given in our BCH bound in Theorem 3.2 (BCH-CSR) and the Hartmann-Tzeng bound in Theorem 3.3 (HT-CSR). In the following table, we list and compare these lower bounds on dimensions for binary linear sum-rank codes with block lengths 109109, 113113, 137137, 139139, 149149, 157157, 159159, 163163, 173173, 175175, 181181, 225225 and 229,229, and the matrix size 2×22\times 2. It is obvious that our bounds for cyclic sum-rank codes are better.

Table 1: q=2q=2 and m=2m=2
Block length dsrd_{sr}\geq dim(SR\cdotBCH) dim(BCH\cdotCSR) dim(SR\cdotHT) dim(HT\cdotCSR)
t=109t=109 55 21462\cdot 146 21642\cdot 164 21822\cdot 182 21822\cdot 182
t=113t=113 55 21702\cdot 170 21842\cdot 184 21982\cdot 198 21982\cdot 198
t=137t=137 55 21382\cdot 138 21722\cdot 172 22062\cdot 206 22062\cdot 206
66 21382\cdot 138 21722\cdot 172 22042\cdot 204 22052\cdot 205
99 2702\cdot 70 21042\cdot 104 21382\cdot 138 21722\cdot 172
t=139t=139 77 222\cdot 2 2712\cdot 71 21402\cdot 140 21402\cdot 140
t=149t=149 88 222\cdot 2 2762\cdot 76 21502\cdot 150 21502\cdot 150
t=157t=157 55 22102\cdot 210 22362\cdot 236 22622\cdot 262 22622\cdot 262
88 21582\cdot 158 22102\cdot 210 22102\cdot 210 22362\cdot 236
t=159t=159 99 21102\cdot 110 21362\cdot 136 21622\cdot 162 21622\cdot 162
t=163t=163 88 222\cdot 2 2832\cdot 83 21642\cdot 164 21642\cdot 164
t=173t=173 88 222\cdot 2 2882\cdot 88 21742\cdot 174 21742\cdot 174
t=175t=175 44 22842\cdot 284 23162\cdot 316 23182\cdot 318 23332\cdot 333
t=181t=181 88 222\cdot 2 2922\cdot 92 21822\cdot 182 21822\cdot 182
t=225t=225 44 23642\cdot 364 24062\cdot 406 24182\cdot 418 24332\cdot 433
t=229t=229 55 23062\cdot 306 23442\cdot 344 23822\cdot 382 23822\cdot 382
66 23062\cdot 306 23442\cdot 344 23802\cdot 380 23812\cdot 381
77 22302\cdot 230 23062\cdot 306 23062\cdot 306 23442\cdot 344
1212 21542\cdot 154 22302\cdot 230 22302\cdot 230 23052\cdot 305

4 Specific families of cyclic sum-rank codes

4.1 Cyclic sum-rank codes from BCH cyclic codes

Throughout this section, let t>1t>1 be an integer with gcd(q,t)=1\gcd(q,t)=1 and m1m\geq 1 be an integer. Define =ordt(qm)\ell=\mathrm{ord}_{t}(q^{m}). We now recall the BCH cyclic codes over 𝐅qm{\mathbf{{F}}}_{q^{m}}. Let α\alpha be a primitive element of 𝐅qm{\mathbf{{F}}}_{q^{m\ell}} and put β=α(qm1)/t\beta=\alpha^{(q^{m\ell}-1)/t}. Then β\beta is a tt-th root of unity. The minimal polynomial mβi(x)\mathrm{m}_{\beta^{i}}(x) of βi\beta^{i} over 𝐅qm{\mathbf{F}}_{q^{m}} is the monic polynomial of the smallest degree over 𝐅qm{\mathbf{F}}_{q^{m}} with βi\beta^{i} as a root. A Bose-Chaudhuri-Hocquenghem (BCH) code over 𝐅qm{\bf F}_{q^{m}} with code length tt, designed distance δ\delta, denoted by 𝐂(qm,t,δ,b){\bf C}_{(q^{m},t,\delta,b)}, is the cyclic code with generator polynomial

g(qm,t,δ,b)(x)=lcm(mβb(x),mβb+1(x),,mβb+δ2(x)),\displaystyle g_{(q^{m},t,\delta,b)}(x)={\rm lcm}(\mathrm{m}_{\beta^{b}}(x),\mathrm{m}_{\beta^{b+1}}(x),...,\mathrm{m}_{\beta^{b+\delta-2}}(x)), (4)

where the least common multiple is computed in 𝐅qm[x]{\mathbf{F}}_{q^{m}}[x]. When b=1b=1, the code 𝐂(qm,t,δ,b)\mathbf{C}_{(q^{m},t,\delta,b)} is called a narrow-sense BCH code. If t=qm1t=q^{m\ell}-1 (or qm+1q^{m\ell}+1), then 𝐂(qm,t,δ,b)\mathbf{C}_{(q^{m},t,\delta,b)} is referred to as a primitive (or antiprimitive) BCH code. It follows from the BCH bound for cyclic codes that dH(𝐂(qm,t,δ,b))δd_{H}({\mathbf{{C}}}_{(q^{m},t,\delta,b)})\geq\delta. For a survey of BCH cyclic codes, the reader is referred to [22].

The following theorem then follows from Theorem 3.2.

Theorem 4.1.

Let 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} be a BCH cyclic code of length tt and dimension kik_{i} over 𝐅qm{\mathbf{{F}}}_{q^{m}} defined above, 0im10\leq i\leq m-1. Then SR(𝐂(qm,t,δ0,b0),,𝐂(qm,t,δm1,bm1))\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})},\ldots,{\mathbf{{C}}}_{(q^{m},t,\delta_{m-1},b_{m-1})}) is a cyclic sum-rank code over 𝐅q{\mathbf{{F}}}_{q} with dimension mi=0m1kim\sum_{i=0}^{m-1}k_{i} and minimum sum-rank distance at least

max{min{mδ0,(m1)δ1,,δm1},min{δ0,2δ1,,mδm1}}\max\{\min\{m\delta_{0},(m-1)\delta_{1},...,\delta_{m-1}\},\min\{\delta_{0},2\delta_{1},...,m\delta_{m-1}\}\}

In some cases, the minimum sum-rank distances of some cyclic sum-rank codes can be determined explicitly. The following Proposition 4.1 demonstrates this possibility.

Lemma 4.1.

[21] Let =2h\ell^{\prime}=2h, where hh is a positive integer. Let n=q1n=q^{\ell^{\prime}}-1. For 1ηq1,1\leq\eta\leq q-1, the primitive BCH code C(q,n,η(qh+1),1)C_{(q,n,\eta(q^{h}+1),1)} has parameters

[q1,n(2η(qhqh1)(η1)2)/2,η(qh+1)].[q^{\ell^{\prime}}-1,n-\ell^{\prime}\left(2\eta(q^{h}-q^{h-1})-(\eta-1)^{2}\right)/2,\eta(q^{h}+1)].

Proposition 4.1.

Let =2h\ell=2h, where hh is a positive integer. Let t=q21t=q^{2\ell}-1. For 1η,2ηq1,1\leq\eta,2\eta\leq q-1, the dimension of the cyclic sum-rank code SR(C(q2,t,η(q2h+1),1),C(q2,t,2η(q2h+1),1))\mathrm{SR}(C_{(q^{2},t,\eta(q^{2h}+1),1)},C_{(q^{2},t,2\eta(q^{2h}+1),1)}) is

2[2t(6η(q2hq2(h1))(η1)2(2η1)2)],2\cdot\left[2t-\ell\left(6\eta(q^{2h}-q^{2(h-1)})-(\eta-1)^{2}-(2\eta-1)^{2}\right)\right],

and the minimum sum-rank distance of SR(C(q2,t,η(q2h+1),1),C(q2,t,2η(q2h+1),1))\mathrm{SR}(C_{(q^{2},t,\eta(q^{2h}+1),1)},C_{(q^{2},t,2\eta(q^{2h}+1),1)}) is 2η(q2h+1).2\eta(q^{2h}+1).

Proof: The conclusion follows directly from Proposition 3.2 and Lemma 4.1.

BCH cyclic codes in the Hamming metric have wide applications in communication and data storage systems, as they have very good error-correcting capability and efficient decoding algorithms. In the past ten years, a lot of progress on the study of BCH cyclic codes in the Hamming metric has been made. In many cases, the dimension of the BCH code 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} is known. In some cases, both the dimension and minimum distance of 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} are known. All known results on the BCH codes 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} can be plugged into Theorem 4.1 and a large amount of results on the cyclic sum-rank codes SR(𝐂(qm,t,δ0,b0),,𝐂(qm,t,δm1,bm1))\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})},\ldots,{\mathbf{{C}}}_{(q^{m},t,\delta_{m-1},b_{m-1})}) can be obtained. Known results on the BCH cyclic codes 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} can be found in [2, 19, 20, 21, 22, 32, 33, 34, 35, 58].

Example 4.1.

Let (q,m,t)=(2,2,7)(q,m,t)=(2,2,7) and let (δ0,b0)=(2,0)(\delta_{0},b_{0})=(2,0) and (δ1,b1)=(2,1)(\delta_{1},b_{1})=(2,1). Then SR(𝐂(qm,t,δ0,b0)\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})} and 𝐂(qm,t,δ1,b1)){\mathbf{{C}}}_{(q^{m},t,\delta_{1},b_{1})}) have parameters [7,6,2][7,6,2] and [7,4,3][7,4,3], respectively. The cyclic sum-rank code SR(𝐂(qm,t,δ0,b0),𝐂(qm,t,δ1,b1))\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})},{\mathbf{{C}}}_{(q^{m},t,\delta_{1},b_{1})}) has block length 77, dimension 2020, and minimum sum-rank distance 33.

Example 4.2.

Let (q,m,t)=(2,2,9)(q,m,t)=(2,2,9) and let (δ0,b0)=(3,0)(\delta_{0},b_{0})=(3,0) and (δ1,b1)=(2,0)(\delta_{1},b_{1})=(2,0). Then SR(𝐂(qm,t,δ0,b0)\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})} and 𝐂(qm,t,δ1,b1)){\mathbf{{C}}}_{(q^{m},t,\delta_{1},b_{1})}) have parameters [9,5,3][9,5,3] and [9,8,2][9,8,2], respectively. The cyclic sum-rank code SR(𝐂(qm,t,δ0,b0),𝐂(qm,t,δ1,b1))\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})},{\mathbf{{C}}}_{(q^{m},t,\delta_{1},b_{1})}) has block length 99, dimension 2626, and minimum sum-rank distance at least 33.

4.2 Cyclic sum-rank codes from other cyclic codes

There are a number of known families of cyclic codes over finite fields in the Hamming metric whose dimensions are known and whose minimum distances are known or lower bounded. Any multiset of them can be plugged into Theorem 3.1 and a cyclic sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) with known dimension and a lower bound on its minimum sum-rank distance is obtained. The following is a short list of them:

  • Certain families of irreducible cyclic codes.

  • Certain families of BCH cyclic codes.

  • The punctured Reed-Muller codes

  • The punctured Dilix codes.

  • Families of cyclic codes with a few weights.

These are certainly new and specific families of cyclic sum-rank codes with known dimensions and controllable minimum sum-rank distances. Below are four example of such codes SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}).

Example 4.3.

Let (q,m,t)=(3,2,5)(q,m,t)=(3,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+2α+2=0.\alpha^{2}+2\alpha+2=0. Let 𝐂0{\mathbf{{C}}}_{0} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x2+αx+1x^{2}+\alpha x+1. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,3,3][5,3,3]. Let 𝐂1{\mathbf{{C}}}_{1} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x2+α3x+1x^{2}+\alpha^{3}x+1. Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,3,3][5,3,3]. The cyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1212, and minimum sum-rank distance 33. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then min{2d0,d1}=min{d0,2d1}=3\min\{2d_{0},d_{1}\}=\min\{d_{0},2d_{1}\}=3. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 3.1 is achieved.

Example 4.4.

Let (q,m,t)=(3,2,5)(q,m,t)=(3,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+2α+2=0.\alpha^{2}+2\alpha+2=0. Let 𝐂0{\mathbf{{C}}}_{0} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x2+αx+1)(x1)(x^{2}+\alpha x+1)(x-1). Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,2,4][5,2,4]. Let 𝐂1{\mathbf{{C}}}_{1} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x2+α3x+1x^{2}+\alpha^{3}x+1. Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,3,3][5,3,3]. The cyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1010, and minimum sum-rank distance 44. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then min{2d0,d1}<min{d0,2d1}=4\min\{2d_{0},d_{1}\}<\min\{d_{0},2d_{1}\}=4. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 3.1 is achieved.

Example 4.5.

Let (q,m,t)=(3,2,5)(q,m,t)=(3,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+2α+2=0.\alpha^{2}+2\alpha+2=0. Let 𝐂0{\mathbf{{C}}}_{0} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x2+αx+1x^{2}+\alpha x+1. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,3,3][5,3,3]. Let 𝐂1{\mathbf{{C}}}_{1} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x2+α3x+1)(x1)(x^{2}+\alpha^{3}x+1)(x-1). Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,2,4][5,2,4]. The cyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1010, and minimum sum-rank distance 44. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then 4=min{2d0,d1}>min{d0,2d1}4=\min\{2d_{0},d_{1}\}>\min\{d_{0},2d_{1}\}. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 3.1 is achieved.

Example 4.6.

Let (q,m,t)=(3,2,5)(q,m,t)=(3,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+2α+2=0.\alpha^{2}+2\alpha+2=0. Let 𝐂0{\mathbf{{C}}}_{0} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x1x-1. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,4,2][5,4,2]. Let 𝐂1{\mathbf{{C}}}_{1} be the cyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x2+α3x+1)(x1)(x^{2}+\alpha^{3}x+1)(x-1). Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,2,4][5,2,4]. The cyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1212, and minimum sum-rank distance 44. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then 4=min{2d0,d1}>min{d0,2d1}4=\min\{2d_{0},d_{1}\}>\min\{d_{0},2d_{1}\}. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 3.1 is achieved.

Note that the Singleton-like bound asserts that

dim(𝐂)m(mtdsr+1)\dim({\mathbf{{C}}})\leq m(mt-d_{sr}+1)

for any linear sum-rank code with block length tt, matrix size m×mm\times m. and minimum sum-rank distance dsrd_{sr}. Since the Singleton-like bound above is a multiple of mm, this ternary cyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is almost-optimal with respect to the Singleton-like bound. The authors are not aware of any ternary linear sum-rank code of block length 55 and dimension 1212 that has a larger minimum sum-rank distance.

5 Negacyclic sum-rank codes

There are a number of known families of negacyclic codes over finite fields in the Hamming metric whose dimensions are known and whose minimum distances are known or lower bounded ([54, 55, 56, 57, 59, 60]). Any multiset of them can be plugged into Theorem 3.1 and a negacyclic sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) with known dimension and a lower bound on its minimum sum-rank distance is obtained. As an example, below we use the family of BCH negacyclic codes to illustrate this technique.

Let qq be a power of an odd prime, and let tt be positive integer with gcd(t,q)=1\gcd(t,q)=1 and mm be a positive integer. Let α\alpha be a primitive element of 𝐅qm{\mathbf{{F}}}_{q^{m\ell}}, where =ord2t(qm)\ell=\mathrm{ord}_{2t}(q^{m}) is the order of qmq^{m} modulo 2t2t. Put β=α(qm1)/2t\beta=\alpha^{(q^{m\ell}-1)/2t}, then β\beta is a primitive 2t2t-th root of unity in 𝐅qm{\mathbf{{F}}}_{q^{m\ell}}. For any ii with 0in10\leq i\leq n-1, let mβ1+2i(x)\mathrm{m}_{\beta^{1+2i}}(x) denote the minimal polynomial of β1+2i\beta^{1+2i} over 𝐅qm{\mathbf{{F}}}_{q^{m}}. For any δ\delta with 2δt2\leq\delta\leq t, let

g(qm,t,δ,b)(x)=lcm(mβ1+2b(x),mβ1+2(b+1)(x),,mβ1+2(b+δ2)(x)),\displaystyle g_{(q^{m},t,\delta,b)}(x)={\mathrm{lcm}}\left(\mathrm{m}_{\beta^{1+2b}}(x),\mathrm{m}_{\beta^{1+2(b+1)}}(x),\ldots,\mathrm{m}_{\beta^{1+2(b+\delta-2)}}(x)\right), (5)

where bb is an integer and lcm denotes the least common multiple of these minimal polynomials. Let 𝐂(qm,t,δ,b){\mathbf{{C}}}_{(q^{m},t,\delta,b)} denote the negacyclic code of length tt over 𝐅qm{\mathbf{{F}}}_{q^{m}} with generator polynomial g(qm,t,δ,b)(x)g_{(q^{m},t,\delta,b)}(x), then 𝐂(qm,t,δ,b){\mathbf{{C}}}_{(q^{m},t,\delta,b)} is called a BCH negacyclic code with designed distance δ\delta. It is known that dH(𝐂(qm,t,δ,b))δ.d_{H}({\mathbf{{C}}}_{(q^{m},t,\delta,b)})\geq\delta.

The following theorem follows from Theorem 3.1 and the fact that dH(𝐂(qm,t,δ,b))δ.d_{H}({\mathbf{{C}}}_{(q^{m},t,\delta,b)})\geq\delta.

Theorem 5.1.

Let 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} be a BCH negacyclic code of length tt and dimension kik_{i} over 𝐅qm{\mathbf{{F}}}_{q^{m}} defined above, 0im10\leq i\leq m-1. Then SR(𝐂(qm,t,δ0,b0),,𝐂(qm,t,δm1,bm1))\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})},\ldots,{\mathbf{{C}}}_{(q^{m},t,\delta_{m-1},b_{m-1})}) is a negacyclic sum-rank code over 𝐅q{\mathbf{{F}}}_{q} with block size tt, matrix size m×mm\times m, dimension mi=0m1kim\sum_{i=0}^{m-1}k_{i} and minimum sum-rank distance at least

max{min{mδ0,(m1)δ1,,δm1},min{δ0,2δ1,,mδm1}}\max\{\min\{m\delta_{0},(m-1)\delta_{1},...,\delta_{m-1}\},\min\{\delta_{0},2\delta_{1},...,m\delta_{m-1}\}\}

In some cases, the dimension of 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} is known [56]. When such a multiset of mm negacyclic codes 𝐂(qm,t,δi,bi){\mathbf{{C}}}_{(q^{m},t,\delta_{i},b_{i})} are plugged into Theorem 5.1, a ngacyclic sum-rank code SR(𝐂(qm,t,δ0,b0),,𝐂(qm,t,δm1,bm1))\mathrm{SR}({\mathbf{{C}}}_{(q^{m},t,\delta_{0},b_{0})},\ldots,{\mathbf{{C}}}_{(q^{m},t,\delta_{m-1},b_{m-1})}) with known dimension and a lower bound on its minimum sum-rank distance is obtained.

Example 5.1.

Let (q,m,t)=(3,2,5)(q,m,t)=(3,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+2α+2=0.\alpha^{2}+2\alpha+2=0. The canonical factorisation of xt+1x^{t}+1 over 𝐅q2{\mathbf{{F}}}_{q^{2}} is

x5+1=(x+1)(x2+α5x+1)(x2+α7x+1).x^{5}+1=(x+1)(x^{2}+\alpha^{5}x+1)(x^{2}+\alpha^{7}x+1).

Let 𝐂0{\mathbf{{C}}}_{0} be the negacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x2+α5x+1x^{2}+\alpha^{5}x+1. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,3,3][5,3,3]. Let 𝐂1{\mathbf{{C}}}_{1} be the negacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x2+α7x+1x^{2}+\alpha^{7}x+1. Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,3,3][5,3,3]. The negacyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1212, and minimum sum-rank distance 33. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then min{2d0,d1}=min{d0,2d1}=3\min\{2d_{0},d_{1}\}=\min\{d_{0},2d_{1}\}=3. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 3.1 is achieved.

Example 5.2.

Let (q,m,t)=(3,2,5)(q,m,t)=(3,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+2α+2=0.\alpha^{2}+2\alpha+2=0. The canonical factorisation of xt+1x^{t}+1 over 𝐅q2{\mathbf{{F}}}_{q^{2}} is

x5+1=(x+1)(x2+α5x+1)(x2+α7x+1).x^{5}+1=(x+1)(x^{2}+\alpha^{5}x+1)(x^{2}+\alpha^{7}x+1).

Let 𝐂0{\mathbf{{C}}}_{0} be the negacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x+1x+1. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,4,2][5,4,2]. Let 𝐂1{\mathbf{{C}}}_{1} be the negacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x2+α7x+1)(x+1)(x^{2}+\alpha^{7}x+1)(x+1). Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,2,4][5,2,4]. The negacyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1212, and minimum sum-rank distance 44. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then 4=min{2d0,d1}>min{d0,2d1}4=\min\{2d_{0},d_{1}\}>\min\{d_{0},2d_{1}\}. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 3.1 is achieved. This code is better than the code in Example 5.1.

6 Constacyclic sum-rank codes

Similarly, λ\lambda-constacyclic sum-rank codes are defined as follows. They are a generalization of the cyclic and negacyclic sum-rank codes.

Definition 6.1 (Constacyclic sum-rank code).

Let λ\lambda be a nonzero element in 𝐅q{\mathbf{{F}}}_{q}. A sum-rank code 𝐂{\bf C} over 𝐅q{\bf F}_{q} with block length tt and matrix size n×mn\times m is called a λ\lambda-constacyclic sum-rank code, if 𝐱=(𝐱1,,𝐱t){\bf x}=({\bf x}_{1},\ldots,{\bf x}_{t}) is a codeword in 𝐂{\bf C}, 𝐱i𝐅q(n,m){\bf x}_{i}\in{\bf F}_{q}^{(n,m)}, i=1,,ti=1,\ldots,t, implies that (λ𝐱t,𝐱1,,𝐱t1)(\lambda{\bf x}_{t},{\bf x}_{1},...,{\bf x}_{t-1}) is also a codeword in 𝐂{\bf C}.

The following theorem follows directly from Theorem 3.1.

Theorem 6.1.

Let λ\lambda be a nonzero element in 𝐅q{\mathbf{{F}}}_{q}. Let 𝐂i𝐅qmt{\bf C}_{i}\subset{\bf F}_{q^{m}}^{t} be a [t,ki,di]qm[t,k_{i},d_{i}]_{q^{m}} λ\lambda-constacyclic code over 𝐅qm{\bf F}_{q^{m}}, 0im10\leq i\leq m-1. Then SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},...,{\bf C}_{m-1}) is a λ\lambda-constacyclic sum-rank code over 𝐅q{\bf F}_{q} with block length tt, matrix size m×mm\times m and dimension m(k0++km1)m(k_{0}+\cdots+k_{m-1}). The minimum sum-rank distance of SR(𝐂0,𝐂1,,𝐂m1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1},...,{\bf C}_{m-1}) is at least

max{min{md0,(m1)d1,,dm1},min{d0,2d1,,mdm1}}.\max\{\min\{md_{0},(m-1)d_{1},...,d_{m-1}\},\min\{d_{0},2d_{1},\ldots,md_{m-1}\}\}.

Similarly, any multiset of mm λ\lambda-constacyclic codes of block length tt over 𝐅qm{\mathbf{{F}}}_{q^{m}} with known dimensions and controllable minimum Hamming distances can be plugged into Theorem 6.1 and a λ\lambda-constacyclic sum-rank code over 𝐅q{\bf F}_{q} with known dimension and controllable minimum sum-rank distance is obtained. A number of families of λ\lambda-constacyclic codes over 𝐅qm{\mathbf{{F}}}_{q^{m}} with known dimensions and controllable minimum Hamming distances are available in the literature.

Example 6.1.

Let (q,m,t)=(7,2,4)(q,m,t)=(7,2,4). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α2+6α+3=0.\alpha^{2}+6\alpha+3=0. The canonical factorisation of xt2x^{t}-2 over 𝐅q2{\mathbf{{F}}}_{q^{2}} is

x42=(x+2)(x+5)(x+α4)(x+α28).x^{4}-2=(x+2)(x+5)(x+\alpha^{4})(x+\alpha^{28}).

Let 𝐂0{\mathbf{{C}}}_{0} be the 22-constacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x+2)(x+α4)(x+2)(x+\alpha^{4}). Then 𝐂0{\mathbf{{C}}}_{0} has parameters [4,2,3][4,2,3]. Let 𝐂1{\mathbf{{C}}}_{1} be the 22-constacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x+5)(x+α28)(x+5)(x+\alpha^{28}). Then 𝐂1{\mathbf{{C}}}_{1} has parameters [4,2,3][4,2,3]. The 22-constacyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 44, dimension 88, and minimum sum-rank distance 33. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then min{2d0,d1}=min{d0,2d1}=3\min\{2d_{0},d_{1}\}=\min\{d_{0},2d_{1}\}=3. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 6.1 is achieved.

Example 6.2.

Let (q,m,t)=(4,2,5)(q,m,t)=(4,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α4+α+1=0.\alpha^{4}+\alpha+1=0. It is clear that α5𝐅q.\alpha^{5}\in{\mathbf{{F}}}_{q}. The canonical factorisation of xtα5x^{t}-\alpha^{5} over 𝐅q2{\mathbf{{F}}}_{q^{2}} is

x5α5=(x+α)(x+α4)(x+α7)(x+α10)(x+α13).x^{5}-\alpha^{5}=(x+\alpha)(x+\alpha^{4})(x+\alpha^{7})(x+\alpha^{10})(x+\alpha^{13}).

Let 𝐂0{\mathbf{{C}}}_{0} be the α5\alpha^{5}-constacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x+αx+\alpha. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,4,2][5,4,2]. Let 𝐂1{\mathbf{{C}}}_{1} be the α5\alpha^{5}-constacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x+α)(x+α4)(x+α7)(x+\alpha)(x+\alpha^{4})(x+\alpha^{7}). Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,2,4][5,2,4]. The α5\alpha^{5}-constacyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1212, and minimum sum-rank distance 44. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then 4=min{2d0,d1}>min{d0,2d1}4=\min\{2d_{0},d_{1}\}>\min\{d_{0},2d_{1}\}. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 6.1 is achieved.

Example 6.3.

Let (q,m,t)=(4,2,5)(q,m,t)=(4,2,5). Let α\alpha be a generator of 𝐅q2{\mathbf{{F}}}_{q^{2}}^{*} with α4+α+1=0.\alpha^{4}+\alpha+1=0. It is clear that α10𝐅q.\alpha^{10}\in{\mathbf{{F}}}_{q}. The canonical factorisation of xtα10x^{t}-\alpha^{10} over 𝐅q2{\mathbf{{F}}}_{q^{2}} is

x5α10=(x+α2)(x+α5)(x+α8)(x+α11)(x+α14).x^{5}-\alpha^{10}=(x+\alpha^{2})(x+\alpha^{5})(x+\alpha^{8})(x+\alpha^{11})(x+\alpha^{14}).

Let 𝐂0{\mathbf{{C}}}_{0} be the α10\alpha^{10}-constacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial x+α2x+\alpha^{2}. Then 𝐂0{\mathbf{{C}}}_{0} has parameters [5,4,2][5,4,2]. Let 𝐂1{\mathbf{{C}}}_{1} be the α10\alpha^{10}-constacyclic code of length tt over 𝐅q2{\mathbf{{F}}}_{q^{2}} with generator polynomial (x+α2)(x+α5)(x+α8)(x+\alpha^{2})(x+\alpha^{5})(x+\alpha^{8}). Then 𝐂1{\mathbf{{C}}}_{1} has parameters [5,2,4][5,2,4]. The α10\alpha^{10}-constacyclic sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 55, dimension 1212, and minimum sum-rank distance 44. Let di=dH(𝐂i)d_{i}=d_{H}({\mathbf{{C}}}_{i}). Then 4=min{2d0,d1}>min{d0,2d1}4=\min\{2d_{0},d_{1}\}>\min\{d_{0},2d_{1}\}. Hence, the lower bound on the minimum sum-rank distance of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) documented in Theorem 6.1 is achieved.

7 Distance-optimal binary cyclic sum-rank codes

In this section, we construct infinitely many distance-optimal cyclic sum-rank codes in 𝐅2(2,2),,(2,2){\bf F}_{2}^{(2,2),\ldots,(2,2)} (tt copies) with the minimum sum-rank distance four. First of all, let Vsr(2)V_{sr}(2) be the number of elements in the ball with the radius 22 in the sum-rank metric space 𝐅2(2,2),,(2,2){\bf F}_{2}^{(2,2),\ldots,(2,2)}. Notice that there is only one rank-zero 2×22\times 2 matrix over 𝐅2{\bf F}_{2}. There are 99 rank-one 2×22\times 2 matrices over 𝐅2{\bf F}_{2} and 66 rank-two 2×22\times 2 matrices over 𝐅2{\bf F}_{2}. Then we have

Vsr(2)=1+15t+81t(t1)2.V_{sr}(2)=1+15t+81\cdot\frac{t(t-1)}{2}.
Theorem 7.1.

If 81t(t1)22r\frac{81t(t-1)}{2}\geq 2^{r}, a codimension-rr binary linear sum-rank code with block length tt, matrix size 2×22\times 2, and minimum sum-rank distance 44, is distance-optimal with respect to the sphere packing bound in the sum-rank metric.

Proof..

From the condition specified in this theorem, we have

Vsr(2)>2r.V_{sr}(2)>2^{r}.

It then follows from the sphere packing bound in the sum-rank metric [10] that there is no block length tt and codimension rr binary sum-rank code with minimum distance 55. The conclusion is proved.

Throughout this section, let 𝐂0{\mathbf{{C}}}_{0} be the cyclic code of length tt over 𝐅4{\mathbf{{F}}}_{4} with generator polynomial x1x-1. It is easily seen that 𝐂0{\mathbf{{C}}}_{0} has parameters [t,t1,2]4[t,t-1,2]_{4} and is MDS.

Corollary 7.1.

If there is a linear quaternary [t,k1,4]4[t,k_{1},4]_{4} code 𝐂1{\mathbf{{C}}}_{1} satisfying

81t(t1)24tk1+1,\frac{81t(t-1)}{2}\geq 4^{t-k_{1}+1},

then SR(𝐂0,𝐂1)SR({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is a binary linear distance-optimal sum-rank code.

Proof..

The minimum sum-rank distance of SR(𝐂0,𝐂1)SR({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is at least 44 from Theorem 3.1. The dimension of SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) over 𝐅2{\bf F}_{2} is 2(t1+k1)2(t-1+k_{1}), the codimension is 2(tk1)+22(t-k_{1})+2. The desired conclusion follows immediately.

The following result follows from Corollary 7.1 immediately.

Corollary 7.2.

Let tt be a positive integer satisfying t12t\geq 12. If there is a linear quaternary [t,t5,4]4[t,t-5,4]_{4} code 𝐂1{\mathbf{{C}}}_{1}, then SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is a distance-optimal binary sum-rank code.

Using those optimal linear quaternary codes with minimum distance 44 in [24] as the code 𝐂1{\mathbf{{C}}}_{1} in Corollary 7.2, many distance-optimal binary sum-rank codes with minimum sum-rank distance 44 are obtained. For example, for block lengths tt satisfying 12t2312\leq t\leq 23, we obtain distance-optimal binary sum-rank codes SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) with minimum sum-rank distance 44 from those codes 𝐂1{\bf C}_{1} in [24].

We have the following infinite family of distance-optimal binary cyclic sum-rank codes.

Corollary 7.3.

Let t=41t=4^{\ell}-1, where 2\ell\geq 2. Let 𝐂1{\mathbf{{C}}}_{1} denote the BCH cyclic code 𝐂(4,t,4,0){\mathbf{{C}}}_{(4,t,4,0)} defined in Section 4.1. Then SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) has block length 414^{\ell}-1, matrix size 2×22\times 2, and dimension 4(42)4(4^{\ell}-\ell-2) and minimum sum-rank distance 44. Furthermore, the binary sum-rank cyclic code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is distance-optimal.

Proof..

It follows from the BCH bound on cyclic codes that the minimum distance of 𝐂1{\mathbf{{C}}}_{1} is at least 44. By the sphere-packing bound, the minimum distance of 𝐂1{\mathbf{{C}}}_{1} is at most 44. Hence, 𝐂1{\mathbf{{C}}}_{1} has minimum distance 44. It is well known that 𝐂1{\mathbf{{C}}}_{1} has dimension 4224^{\ell}-2\ell-2. The desired parameters of the binary sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) then follow from Proposition 3.2. Since both 𝐂0{\mathbf{{C}}}_{0} and 𝐂1{\mathbf{{C}}}_{1} are cyclic, SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is cyclic. It is easy to verify that

81(41)(42)242+2.\frac{81(4^{\ell}-1)(4^{\ell}-2)}{2}\geq 4^{2\ell+2}.

It then follows from Corollary 7.1 that SR(𝐂0,𝐂1)\mathrm{SR}({\mathbf{{C}}}_{0},{\mathbf{{C}}}_{1}) is distance-optimal.

8 Decoding of the cyclic or negacyclic sum-rank codes SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},\ldots,{\bf C}_{m-1})

The decoding of a binary sum-rank code SR(𝐂0,𝐂1)\mathrm{SR}({\bf C}_{0},{\bf C}_{1}) of matrix size 2×22\times 2 can be reduced to the decoding of the two quaternary codes 𝐂0{\bf C}_{0} and 𝐂1{\bf C}_{1}, if the conditions dH(𝐂0)dsrd_{H}({\bf C}_{0})\geq d_{sr} and dH(𝐂1)2dsr3d_{H}({\bf C}_{1})\geq\frac{2d_{sr}}{3} on two quaternary cyclic codes 𝐂0{\bf C}_{0} and 𝐂1{\bf C}_{1} are satisfied [15]. Similarly, the decoding of a qq-ary cyclic or negacyclic sum-rank code SR(𝐂0,,𝐂m1)\mathrm{SR}({\bf C}_{0},\ldots,{\bf C}_{m-1}) of matrix size m×mm\times m can be reduced to the decoding of mm cyclic or negacyclic codes 𝐂i{\mathbf{{C}}}_{i} over 𝐅qm{\mathbf{{F}}}_{q^{m}} under certain conditions by extending the decoding techniques in [15, 17].

9 Concluding remarks

It is very hard to determine the dimension of a linear sum-rank code with block size t2t\geq 2 and it is much harder to settle its minimum sum-rank distance. In this situation, it is interesting to construct an infinite family of linear sum-rank codes with known dimensions and reasonable lower bounds on their minimum sum-rank distances.

Cyclic, negacyclic and constacyclic sum-rank codes of the type SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) were introduced in this paper. The cyclic-skew-cyclic sum-rank codes and sum-rank BCH codes introduced and constructed in [41, 4] are special cases of the cyclic sum-rank codes introduced in this paper. Specific constructions of cyclic, negacyclic and constacyclic sum-rank codes of the type SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) directly from cyclic, negacyclic and constacyclic codes in the Hamming metric were presented in this paper. When the dimensions of the underlying cyclic, negacyclic and constacyclic codes in the Hamming metric are known and their minimum Hamming distances have a good lower bound, the corresponding cyclic, negacyclic and constacyclic sum-rank codes SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) have a known dimension and lower bound on its minimum sum-rank distance. In some cases, it is not hard to determine minimum sum-rank distances of cyclic, negacyclic and constacyclic sum-rank codes of the type SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}). The main bridge used in this paper is Theorem 3.1. It would be a breakthrough if the lower bound on the minimum sum-rank distance of the code SR(𝐂0,,𝐂m1)\mathrm{SR}({\mathbf{{C}}}_{0},\ldots,{\mathbf{{C}}}_{m-1}) documented in Theorem 3.1 can be improved.

As one application of our construction of cyclic sum-rank codes, an infinite family of distance-optimal binary cyclic sum-rank codes were given in this paper. This is the first infinite family of optimal sum-rank codes with minimum sum-rank distance four. It is a challenging problem to construct distance-optimal sum-rank codes with bigger minimum sum-rank distances.

References

  • [1] A. Abiad, A. Khramova and A. Ravagnani, Eigenvalue bounds for sum-rank-metric codes, IEEE Transactions on Information Theory, early access, 2023.
  • [2] S. A. Aly, A. Klappenecker and P. K. Sarvepalli, On Quantum and Classical BCH Codes, IEEE Transactions on Information Theory, vol. 53, no. 3, pp. 1183-1188, 2007
  • [3] D. Augot, E. Betti, E. Orsini, An introduction to linear and cyclic codes, Gröbner Bases, Coding, and Cryptography, pp. 47-68, 2009.
  • [4] G. N. Alfarano, F. J. Lobillo, A. Neri, and A. Wachter-Zeh, Sum-rank product codes and bounds on the minimum distance, Finite Fields and Their Applications, vol.80, 102013, 2022.
  • [5] H. Bartz, T. Jerkovits, S. Puchinger and J. Rosenkilde, Fast decoding of codes in the rank, subspace, and sum-rank metric, IEEE Transactions on Information Theory, vol. 67, no. 8, pp. 5026-5050, 2021.
  • [6] H. Bartz and S. Puchinger, Fast decoding of interleaved linearized Reed-Solomon codes and variants, arXiv:2201.01339, 2022.
  • [7] E. Berardini and X. Caruso, Algebraic geometry codes in the sum-rank metric, arXiv:2303.08903v2, 2023.
  • [8] J. Bierbrauer, Cyclic additive codes, Journal of Algebra, vol. 372, pp. 661-672, 2012.
  • [9] M. Borello and F. Zullo, Geometric dual and sum-rank minimal codes, arXiv:2303.07288, 2023.
  • [10] E. Byrne, H. Gluesing-Luerssen and A. Ravagnani, Fundamental properties of sum-rank-metric codes, IEEE Transactions on Information Theory, vol. 67, no. 10, pp. 6456-6475, 2021.
  • [11] E. Byrne, H. Gluesing-Luerssen and A. Ravagnani, Anticodes in the sum-rank metric, Linear Algebra and its Applications, vol. 643, pp. 80-98, 2022.
  • [12] H. Cai, Y. Miao, M. Schwartz and X. Tang, A construction of maximally recoverable codes with order-optimal field size, IEEE Transactions on Information Theory, vol. 68, no. 1, pp. 204-212, 2022.
  • [13] E. Camps-Moreno, E. Gorla, C. Landolina, E. L. García, U. Martínez-Peñas and F. Salizzoni, Optimal anticodes, MSRD codes and the generalized weights in the sum-rank metric, IEEE Transactions on Information Theory, vol. 68, no. 6, pp. 3806-3822, 2022.
  • [14] H. Chen, New explicit linear sum-rank-metric codes, IEEE Transactions on Information Theory, vol. 69, no. 10, pp. 6303-6313, 2023.
  • [15] H. Chen, Z. Cheng and Y. Qi, Construction and fast decoding of binary linear sum-rank-metric codes, arXiv:2311.03619, 2023, submitted.
  • [16] H. Chen, Covering codes, list-decodable codes and strong Singleton-like bounds in the sum-rank metric, arXiv:2311.07831, 2023.
  • [17] X. Chen, I. Reed, T. Helleseth and T. K. Troung, Use of Grobner bases to decode binary cyclic codes up to the true minimum distances, IEEE Transactions on Information Theory, vol. 40, no. 5, pp. 1654-1661, 1994.
  • [18] C. Ding and T. Helleseth, Optimal ternary cyclic codes from monomials, IEEE Trans. Inf. Theory, vol. 59, no. 9, pp. 5898-5904, 2013.
  • [19] C. Ding, X. Du and Z. Zhou, The Bose and minimum distances of a class of BCH codes, IEEE Transactions on Information Theory, vol. 61, no. 5, pp. 2315-2356, 2015.
  • [20] C. Ding, C. Fan and Z. Zhou, The dimension and minimum distances of two class of primitive BCH codes, Finite Fields and Their Applications, vol. 45, 237-263, 2017.
  • [21] C. Ding, Parameters of Several Classes of BCH Codes, IEEE Transactions on Information Theory, vol. 61, no. 10, pp. 5322-5330, 2015.
  • [22] C. Ding and C. Li, BCH cyclic codes, preprint 2023.
  • [23] E. M. Gabidulin, Theory of codes with maximum rank distances, Problems of Information Transmission, vol. 21, pp. 1-21, 1985.
  • [24] M. Grassl, http://www.codetables.de.
  • [25] C. R. P. Hartmann and K. K. Tzeng, Generalizations of the BCH bound, Infomation and Control, vol. 20, pp.489-498, 1972.
  • [26] A-L. Horlemann-Trautmann and K. Marshall, New criteria for MRD and Gabidulin codes and some rank-metric constructions, Advances in Mathematics of Communiacations, vol. 11, no. 3, pp. 533-548, 2017.
  • [27] F. Hörmann and H. Bartz, Interpolation-based decoding of folded variants of linearized Reed-Solomon codes, Designs, Codes and Cryptography, DOI: https://doi.org/10.1007/s10623-023-01214-8, 2023.
  • [28] W. C. Huffman and V. Pless, Fundamentals of error-correcting codes, Cambridge University Press, Cambridge, U. K., 2003.
  • [29] T. Jerkovits, F. Hörmann and H. Bartz, On decoding higher-order interleaved sum-rank-metric codes, In: Deneuville, JC. (eds) Code-Based Cryptography. CBCrypto 2022. Lecture Notes in Computer Science, vol. 13839, pp. 90-109. Springer, Cham, 2023
  • [30] J. H. van Lint, Introduction to coding theory, Springer, 3rd Edition, Berlin, Hong Kong and Tokyo, 1999.
  • [31] H. Lao and Z. Cheng, http://jnu-coding-crypts-organization.gitbook.io/sum-rank-metric-codes/
  • [32] S. Li, The minimum distances of a class of some narrow-sense primitive BCH codes, SIAM Journal on Discrete Mathemtics, vol. 31, no. 4, pp. 2530-2569, 2017.
  • [33] S. Li, C. Li, C. Ding and H. Liu, Two Families of LCD BCH Codes, IEEE Transactions on Information Theory, vol. 63, no. 9, pp. 5699-5717, 2017.
  • [34] C. Li, C. Ding and S. Li, LCD Cyclic Codes Over Finite Fields, IEEE Transactions on Information Theory, vol. 63, no. 7, pp. 4344-4356, 2017.
  • [35] H. Liu, C. Ding, C. Li, Dimensions of three types of BCH codes over GF(qq), Discrete Mathematics, vol. 340, no. 8, pp. 1910-1927, 2017.
  • [36] F. J. MacWilliams and N. J. A. Sloane, The Theory of error-correcting codes, 3rd Edition, North-Holland Mathematical Library, vol. 16. North-Holland, Amsterdam, 1977.
  • [37] U. Martínez-Peñas, Skew and linearized Reed-Solomon codes and maximal sum rank distance codes over any division ring, Journal of Algebra, vol. 504, pp. 587-612, 2018.
  • [38] U. Martínez-Peñas, Hamming and simplex codes from the sum-rank metic, Designs, Codes and Cryptography, vol. 88, pp. 1521-1539, 2019.
  • [39] U. Martínez-Peñas and F. R. Kschischang, Reliable and secure multishot network coding using linearized Reed-Solomon codes, IEEE Transactions on Information Theory, vol. 65, no. 8, pp. 4785-4803, 2019.
  • [40] U. Martínez-Peñas and F. R. Kschischang, Universal and dynamic locally repairable codes with maximally recoverablity via sum-rank codes, IEEE Transactions on Information Theory, vol. 65, no. 12, pp. 7790-7805, 2019.
  • [41] U. Martínez-Peñas, Sum-rank BCH codes and cyclic-skew-cyclic codes, IEEE Transactions on Information Theory, vol. 67, no. 8, pp. 5149-5167, 2021.
  • [42] U. Martínez-Peñas, A general family of MSRD codes and PMDS codes with smaller field size from extended Moore matrices, SIAM Journal on Discrte Mathematics, vol. 36, no. 3, pp. 1868-1886, 2022.
  • [43] U. Martínez-Peñas, M. Shehadeh and F. R. Kschischang, Codes in the sum-rank metric, Foundamentals and applications, Foundations and Trends in Communications and Information Theory, vol. 19, no. 5, pp. 814-1031, 2022.
  • [44] U. Martínez-Peñas, Doubly and triply extended MSRD codes, arXiv:2212.05528,2022.
  • [45] D. Napp, R. Pinto and V. Sidorenko, Concatenation of covolutional codes and rank metric codes for muti-shot network coding, Designs, Codes and Cryptography, vol. 86, no. 2, pp. 303-318, 2018.
  • [46] A. Neri, A-L. Horlemann-Trautmann, T. Randrianarisoa and J. Rosenthal, On the genericity of maiximum rank distance and Gabidulin codes, Designs, Codes and Cryptography, vol. 86, no. 2, pp. 319-340, 2017/2018.
  • [47] A. Neri, Twisted linearized Reed-Solomon codes: A skew polynomial framework, 2021, Journal of Algebra, vol. 609, pp. 792-839, 2022.
  • [48] A. Neri, P. Santonastaso and F. Zullo, The geometry of one-weight codes in the sum-rank metric, Journal of Combinatorial Theory, Ser.A, vol. 194, 105703, 2023.
  • [49] R. W. Nobrega and B. F. Uchoa-Filho, Multishot codes for network coding using rank-metric codes, 3rd IEEE International Workshop on Wireless Network Coding, June, 2010.
  • [50] S. Puchinger, J. Renner and J. Rosenkilde, Generic decoding in the sum-rank metric, IEEE Transactions on Information Theory, vol. 68, no. 8, pp. 5075-5097, 2022.
  • [51] S. Puchinger and J. Rosenkilde, Bounds on list-decoding of linearized Reed-Solomon codes, Proc. IEEE International Symposium on Information Theory (ISIT), 2021.
  • [52] C. Roos, A new lower bound for the minimum distance of a cyclic codes, IEEE Transactions on Information Theory, vol. 29, no. 2, pp. 330-332, 1983.
  • [53] M. Shehadeh and F. R. Kschischang, Space-time codes from sum-rank codes, IEEE Transactions on Information Theory, vol. 68, no. 3, pp. 1614-1637, 2022.
  • [54] Z. Sun, C. Ding and X. Wang, Two classes of constacyclic codes with variable parameters, [(qm1)/r,k,d][(q^{m}-1)/r,k,d], IEEE Transactions on Information Theory, DOI: 10.1109/TIT.2023.3322990.
  • [55] X. Wang, C. Ding, H. Liu, D. Zheng, MDS constacyclic codes of length q+1q+1 over GF(q)(q), Cryptography and Communications, DOI: 10.1007/s12095-022-00624-0.
  • [56] X. Wang, Z. Sun and C. Ding, Two families of negacyclic BCH codes. Designs, Codes and Cryptography, vol. 91, no. 3, pp. 2395–2420, 2023.
  • [57] X. Wang, C. Tang, C. Ding, Families of cyclic and negacyclic codes supporting 3-designs, IEEE Transactions on Information Theory, vol. 69, no. 4, pp. 2341–2354, April 2023.
  • [58] H. Yan, H. Liu, C. Li and S. Yang, Parameters of LCD BCH codes with two lengths, Advances in Mathematics of Communications vol. 12, no. 3, pp. 579–594, 2018.
  • [59] Y. Zhou, X. Kai, S. Zhu, J. Li, On the minimum distance of negacyclic codes with two zeros, Finite Fields and Their Applications Vol. 55, pp. 134–158, January 2019.
  • [60] H. Zhu, J. Li and S. Huang, A class of constacyclic BCH codes with length qm+12\frac{q^{m}+1}{2}. Advances in Mathematics of Communications. doi: 10.3934/amc.2023015