- Research
- Open Access
- Published:
Quantum codes from constacyclic codes over \(S_{k}\)
EPJ Quantum Technology volume 10, Article number: 3 (2023)
Abstract
Let \(S_{k}={\mathbb{F}}_{q}[u_{1},u_{2},\ldots ,u_{k}]/\langle u^{3}_{i}=u_{i},u_{i}u_{j}=u_{j}u_{i}=0 \rangle \), where \(1\leq i,j\leq k\), \(q=p^{m}\), p is an odd prime. First, we define two new Gray maps \(\phi _{k}\) and \(\varphi _{k}\), and study their Gray images. Further, we determine the structure of constacyclic codes and their dual codes, and give a necessary and sufficient conditions of constacyclic codes to contain their duals. Finally, we obtain some new quantum codes over \(\mathbb{F}_{q}\) by using CSS construction, and compare the constructed codes better than the existing literature.
1 Introduction
In recent years, quantum theory and technology has become a popular research in the field of information, the research progress of some mathematical problems plays a key role in the study of quantum error correction problems. Calderbank et al. [1] gave a way to construct quantum error correcting codes from classical error correcting codes, constructing quantum error correcting codes is a systematic and effective mathematical method by using constacyclic codes. There are a lot of works about constacyclic codes over finite fields and finite rings [2–10] and many good quantum codes constructed by using cyclic codes over finite rings [11–14]. Currently, some authors have obtained quantum codes from constacyclic codes over finite non-chain ring. Wang et al. [15] studied quantum codes over \({\mathbb{F}}_{q}\) from Hermitian dual-containing constacyclic codes over \({\mathbb{F}}_{q^{2}}+v{\mathbb{F}}_{q^{2}}\). Prakash et al. [16] obtained quantum codes from skew constacyclic codes over a class of non-chain rings \(R_{e,q}=\mathbb{F}_{q}[u]/\langle u^{e}-1\rangle \) by applying the CSS construction. Ashraf et al. [17] constructed quantum codes from \({\mathbb{F}}_{q} R_{1}R_{2}\)-cyclic codes and introduced a Gray map to find some new and better quantum codes over \({\mathbb{F}}_{p}\). Dertli and Cengellenmis [18] studied quantum codes from constacyclic codes over the finite ring \(u{\mathbb{F}}_{p}+v{\mathbb{F}}_{p}+uv{\mathbb{F}}_{p}\), Islam and Prakash [19] constructed quantum codes from \(\lambda =(\lambda _{1}+u\lambda _{2}+v\lambda _{3})\)-constacyclic codes over a class of finite commutative non-chain rings \({\mathbb{F}}_{q}[u,v]/\langle u^{2}-\gamma u,v^{2}-\delta v,uv=vu=0 \rangle \).
Due to the strong motivation discussed above, we construct some new quantum codes by studying the structure of constacyclic codes over a finite non-chain ring. The major two contributions of this paper are as follows.
-
1.
In general, it is difficult to determine the structure of constacyclic codes over a finite non-chain ring, we study the structure of λ-constacyclic codes and their dual codes over the ring \(S_{k}\), and give a necessary and sufficient conditions of dual-containing constacyclic codes.
-
2.
As an application, we obtain some new quantum codes from constacyclic codes over \(S_{k}\) by using CSS construction and compare these codes better than the existing codes that appeared in some recent references.
2 Preliminaries
Let \(S_{k}={\mathbb{F}}_{q}[u_{1},u_{2},\ldots ,u_{k}]/\langle u^{3}_{i}=u_{i},u_{i}u_{j}=u_{j}u_{i}=0 \rangle \), where \(q=p^{m}\) and p is an odd prime. The ring \(S_{k}\) is a commutative and Frobenius ring with identity but not local, and the cardinality of \(S_{k}\) is \(q^{(2k+1)}\).
Let \(e_{1}=\frac{u_{1}^{2}+u_{1}}{2}\), \(e_{2}=\frac{u_{1}^{2}-u_{1}}{2}, \ldots , e_{2k-1}=\frac{u_{k}^{2}+u_{k}}{2}\), \(e_{2k}=\frac{u_{k}^{2}-u_{k}}{2}\), \(e_{2k+1}=1-u_{1}^{2}-u_{2}^{2}-\cdots -u_{k}^{2}\), where \(e_{i}e_{j}=0\), when \(i\neq j\), and \(e_{i}^{2}=e_{i}\), when \(i=1,2,\ldots ,2k+1\), and \(1=e_{1}+e_{2}+\cdots +e_{2k+1}\). By the Chinese Remainder Theorem we can get that
\(\forall r\in S_{k}\), r can be expressed uniquely as \(r=r_{1}e_{1}+r_{2}e_{2}+\cdots +r_{2k+1}e_{2k+1}\), where \(r_{i}\in {\mathbb{F}}_{q}\), \(i=1,2,\ldots ,2k+1\).
By the definition above, it can be easily seen that \(S_{k}\) is a principal ideal ring but not a chain ring, which has \(2k+1\) maximal ideals. For any element \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\) of \(S_{k}\), \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\) is a unit if and only if \(\lambda _{1},\lambda _{2},\ldots ,\lambda _{2k+1}\) are units over \({\mathbb{F}}_{q}\).
If C is a code of length n over \(S_{k}\), then C is a subset of \(S_{k}^{n}\). C is a linear code of length n over \(S_{k}\) if and only if C is an \(S_{k}\)-submodule of \(S_{k}^{n}\).
For any unit \(\lambda \in S_{k}\), a code C is called a λ-constacyclic code of length n over \(S_{k}\) if and only if C is invariant under constacyclic shift operator \(\sigma _{\lambda}:S_{k}^{n}\rightarrow S_{k}^{n}\) by
When \(\lambda =1\), C is a cyclic code, when \(\lambda =-1\), C is a negacyclic code.
If C is a linear code of length n over \(S_{k}\), the dual code of C is defined as
where \(x\cdot y=\sum_{i=0}^{n-1}x_{i}y_{i}\), \(x=(x_{0},x_{1},\ldots ,x_{n-1})\in S_{k}^{n}\), \(y=(y_{0},y_{1},\ldots ,y_{n-1})\in S_{k}^{n}\).
3 Gray maps
Let A be an \(n\times n\) matrix, such that \(AA^{T}=\lambda E_{n}\), where \(A^{T}\) denotes the transpose of the matrix A, \(E_{n}\) is the identity matrix of order n, \(\lambda \in {\mathbb{F}}_{q}\) and \(\lambda \neq 0\).
Definition 1
We define a Gray map \(\phi _{k}: S_{k}\rightarrow {\mathbb{F}}_{q}^{2k+1}\) by \(r\mapsto (r_{1},r_{2},\ldots ,r_{2k+1})\), where \(r=r_{1}e_{1}+r_{2}e_{2}+\cdots +r_{2k+1}e_{2k+1}\).
And \(\phi _{k}\) can be expanded as:
where
and
When the Gray map is defined as \(\phi _{k}\), the Gray weight of \(a\in S_{k}\) is defined as \(w_{G}(a)=w_{H}(\phi _{k}(a))\), where \(w_{H}(\phi _{k}(a))\) denotes the Hamming weight of \(\phi _{k}(a)\).
The Gray weight of a vector \(r=(x_{1},x_{2},\ldots ,x_{n})\in S_{k}^{n}\) is defined as \(w_{G}(r)=\sum_{i=1}^{n}w_{G}(x_{i})\), the Gray distance of \(x,y \in S_{k}^{n}\) is given by \(d_{G}(x,y)=w_{G}(x-y)\), and the minimum Gray distance of C is defined as
Lemma 1
\(\phi _{k}\) is both a bijection and a distance preserving linear map from \(S_{k}^{n}\) to \({\mathbb{F}}^{(2k+1)n}_{q}\).
Proof
Let \(a=(a_{0},a_{1},\ldots ,a_{n-1})\in S_{k}^{n}\), \(b=(b_{0},b_{1},\ldots ,b_{n-1}) \in S_{k}^{n}\), \(l\in {\mathbb{F}}_{q}\), where \(a_{j}=a_{1,j}e_{1}+a_{2,j}e_{2}+\cdots +a_{2k+1,j}e_{2k+1}\in S_{k}\), \(b_{j}=b_{1,j}e_{1}+b_{2,j}e_{2}+ \cdots +b_{2k+1,j}e_{2k+1}\in S_{k}\), \(j=0,1,2,\ldots ,n-1\), \(a^{(i)}=(a_{i,0},a_{i,1},\ldots ,a_{i,n-1})\), \(b^{(i)}=(b_{i,0},b_{i,1},\ldots ,b_{i,n-1})\), \(i=1,2,\ldots ,2k+1\).
Then
So \(\phi _{k}\) is linear.
\(\forall a,b\in S_{k}^{n}\), suppose \(\phi _{k}(a)=\phi _{k}(b)\), then
Because A is an invertible matrix, we have
so \(a=b\), \(\phi _{k}\) is an injection.
As
so \(\phi _{k}\) is a bijection.
\(\forall a,b\in S_{k}^{n}\), then
So \(\phi _{k}\) is a distance preserving map from \(S_{k}^{n}\) to \({\mathbb{F}}^{(2k+1)n}_{q}\). □
By Lemma 1 and the definition of \(\phi _{k}\), we can have the following lemma.
Lemma 2
Let C be a linear code of length n over \(S_{k}^{n}\) and the minimal Gray distance of C is d, then \(\phi _{k}(C)\) is a \([(2k+1)n, l,d]\) linear code over \({\mathbb{F}}_{q}\), where \(l=\log_{q}{| C |}\).
Let B be a \((2k+1)\times (2k+1)\) matrix, such that \(BB^{T}=\lambda E_{2k+1}\), where \(B^{T}\) denotes the transpose of the matrix B, \(E_{2k+1}\) is the identity matrix of order \(2k+1\), \(\lambda \in {\mathbb{F}}_{q}\) and \(\lambda \neq 0\). \(\forall r=r_{1}e_{1}+r_{2}e_{2}+\cdots +r_{2k+1}e_{2k+1}\in S_{k}\), the vector form of r is written as \(r=(r_{1},r_{2},\ldots ,r_{2k+1})\).
Definition 2
We define a Gray map \(\varphi _{k}: S_{k}\rightarrow {\mathbb{F}}_{q}^{2k+1}\) by \(r\mapsto rB\).
And \(\varphi _{k}\) can be expanded as
where \(a_{i}=a_{1,i}e_{1}+a_{2,i}e_{2}+\cdots +a_{2k+1,i}e_{2k+1}\in S_{k}\), \(i=0,1,2,\ldots ,n-1\).
When the Gray map is defined as \(\varphi _{k}\), the Gray weight of \(a\in S_{k}\) is defined as \(w_{G}(a)=w_{H}(\varphi _{k}(a))\), where \(w_{H}(\varphi _{k}(a))\) denotes the Hamming weight of \(\varphi _{k}(a)\).
The Gray weight of a vector \(r=(x_{1},x_{2},\ldots ,x_{n})\in S_{k}^{n}\) is defined as \(w_{G}(r)=\sum_{i=1}^{n}w_{G}(x_{i})\), the Gray distance of \(x,y \in S_{k}^{n}\) is given by \(d_{G}(x,y)=w_{G}(x-y)\), and the minimum Gray distance of C is defined as
Lemma 3
\(\varphi _{k}\) is both a bijection and a distance preserving linear map from \(S_{k}^{n}\) to \({\mathbb{F}}^{(2k+1)n}_{q}\).
Proof
Let \(a,b\in S_{k}^{n}\), where \(a=(a_{0},a_{1},\ldots ,a_{n-1})\), \(b=(b_{0},b_{1},\ldots ,b_{n-1})\), \(l\in {\mathbb{F}}_{q}\). Then
So \(\varphi _{k}\) is linear.
\(\forall a,b\in S_{k}^{n}\), suppose \(\varphi _{k}(a)=\varphi _{k}(b)\), then
Because B is an invertible matrix, we have \(a=(a_{0},a_{1},\ldots ,a_{n-1})=(b_{0},b_{1},\ldots ,b_{n-1})=b\), \(\varphi _{k}\) is an injection.
As
so \(\varphi _{k}\) is a bijection.
\(\forall a,b\in S_{k}^{n}\), then
So \(\varphi _{k}\) is a distance preserving map from \(S_{k}^{n}\) to \({\mathbb{F}}^{(2k+1)n}_{q}\). □
By Lemma 3 and the definition of \(\varphi _{k}\), we can have the following lemma.
Lemma 4
Let C be a linear code of length n over \(S_{k}^{n}\) and the minimal Gray distance of C is d, then \(\varphi _{k}(C)\) is a \([(2k+1)n, l,d]\) linear code over \({\mathbb{F}}_{q}\), where \(l=\log_{q}{| C|}\).
4 Constacyclic codes over \(S_{k}\)
Let C be a linear code of length n over \(S_{k}\) and define
then, \(C_{1},C_{2},\ldots ,C_{2k+1}\) are linear codes of length n over \({\mathbb{F}}_{q}\).
Moreover, the linear code C of length n over \(S_{k}\) can be represented as
Let \(G_{j}\) be the Generator matrices of \(C_{j}\), then the Generator matrix of C is
Definition 3
We define a quasi-cyclic shift on \(({\mathbb{F}}_{q}^{n})^{2k+1}\),
Proposition 1
Let σ be the cyclic shift operator on \(S_{k}^{n}\), let \(\psi _{2k+1}\) be the quasi-cyclic shift on \(({\mathbb{F}}_{q}^{n})^{2k+1}\) defined as above. Then \(\phi _{k}\sigma =\psi _{2k+1}\phi _{k}\).
Proof
Let \((a_{0},a_{1},\ldots ,a_{n-1})\in S_{k}^{n}\), where \(a_{j}=a_{1,j}e_{1}+a_{2,j}e_{2}+\cdots +a_{2k+1,j}e_{2k+1}\in S_{k}\), \(j=0,1,2,\ldots ,n-1\), \(a^{(i)}=(a_{i,0},a_{i,1},\ldots ,a_{i,n-1})\), \(i=1,2,\ldots ,2k+1\).
If we apply \(\phi _{k}\), we can have
On the other hand,
Thus \(\phi _{k}\sigma =\psi _{2k+1}\phi _{k}\). □
Proposition 2
Let σ and \(\psi _{2k+1}\) be defined as above, then a linear code C of length n over \(S_{k}\) is a cyclic code if and only if \(\phi _{k}(C)\) is a quasi cyclic code of index \(2k+1\) of length \((2k+1)n\) over \({\mathbb{F}}_{q}\).
Proof
If C is a cyclic code of length n over \(S_{k}\). Then \(\sigma (C)=C\). We can have \(\phi _{k}(\sigma (C))=\phi _{k}(C)\).
By Proposition 1,
So, \(\phi _{k}(C)\) is a quasi-cyclic code of index \(2k+1\) of length \((2k+1)n\) over \({\mathbb{F}}_{q}\).
Conversely, suppose \(\phi _{k}(C)\) is a quasi-cyclic code of index \(2k+1\) of length \((2k+1)n\) over \({\mathbb{F}}_{q}\), then \(\psi _{2k+1}(\phi _{k}(C))=\phi _{k}(C)\).
By Proposition 1, we have \(\psi _{2k+1}(\phi _{k}(C))=\phi _{k}(\sigma (C))=\phi _{k}(C)\).
Since \(\phi _{k}\) is a bijective linear map, so \(\sigma (C)=C\). □
Theorem 1
Let \(\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1}\) be a unit of \(S_{k}\). Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a linear code of length n over \(S_{k}\), then C is a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code over \(S_{k}\) if and only if \(C_{i}\) is a \(\lambda _{i}\)-constacyclic code over \({\mathbb{F}}_{q}\), where \(i=1,2,\ldots ,2k+1\).
Proof
\(\forall c_{i}=(c_{i,0},c_{i,1},\ldots ,c_{i,n-1})\in C_{i}\), where \(i=1,2,\ldots ,2k+1\).
\(\forall \lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1} \in S_{k}\), it’s easy to know that \(\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1} \in S_{k}\) is a unit if and only if \(\lambda _{i}\neq 0\), that is, \(\lambda _{i}\) is a unit over \({\mathbb{F}}_{q}\), where \(i=1,2,\ldots ,2k+1\).
If \(C_{i}\) is a \(\lambda _{i}\)-constacyclic code over \({\mathbb{F}}_{q}\), \(i=1,2,\ldots ,2k+1\), then
and
So C is a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code over \(S_{k}\).
Conversely, if C is a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code over \(S_{k}\), we have
So \(\sigma _{\lambda _{i}}(c_{i})\in C_{i}\), \(C_{i}\) is a \(\lambda _{i}\)-constacyclic code over \({\mathbb{F}}_{q}\), \(i=1,2,\ldots ,2k+1\). □
Theorem 2
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code of length n over \(S_{k}\), then \(C=\langle e_{1}g_{1}(x)+e_{2}g_{2}(x)+\cdots +e_{2k+1}g_{2k+1}(x) \rangle \), where \(g_{i}\) is the generator polynomial of \(C_{i}\), \(i=1,2, \ldots ,2k+1\).
Proof
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic n over \(S_{k}\), by Theorem 1, we get that \(C_{i}\) is a \(\lambda _{i}\)-constacyclic code over \({\mathbb{F}}_{q}\), \(i=1,2,\ldots ,2k+1\).
Because the generator polynomial of \(C_{i}\) is \(g_{i}(x)\), \(i=1,2,\ldots ,2k+1\). Then
Let \(C'=\langle e_{1}g_{1}(x)+e_{2}g_{2}(x)+\cdots +e_{2k+1}g_{2k+1}(x) \rangle \). So \(C'\subseteq C\).
Because \(e_{i}[e_{1}g_{1}(x)+e_{2}g_{2}(x)+\cdots +e_{2k+1}g_{2k+1}(x)]=e_{i}g_{i}(x),i=1,2, \ldots ,2k+1\). So \(C\subseteq C'\).
So, we have \(C= C'\), and the generator polynomial of C is
Because \(g_{i}(x)\) is the generator polynomial of \(C_{i}\), \(g_{i}\) divides \(x^{n}-\lambda _{i}\), \(i=1,2,\ldots ,2k+1\). Let \(g_{i}(x)f_{i}(x)=x^{n}-\lambda _{i}\), \(i=1,2,\ldots ,2k+1\).
Then
So
 □
Theorem 3
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a linear code of length n over \(S_{k}\), let \(C_{j}^{\bot}\) be the dual code of \(C_{j}\), then \(C^{\bot}=\sum_{j=1}^{2k+1}e_{j}C_{j}^{\bot}\), where \(j=1,2,\ldots ,2k+1\).
Proof
Let \(\tilde{C}=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}^{\bot}\), \(\forall x=\sum_{j=1}^{2k+1}e_{j}x_{j}\in C\), \(\forall \tilde{x}=\sum_{j=1}^{2k+1}e_{j}\tilde{x_{j}}\in \tilde{C}\), where \(x_{j}\in C_{j}\), \(\tilde{x_{j}}\in C_{j}^{\bot}\).
Since \(x_{j}\tilde{x_{j}}=0\), it follows that \(x\cdot \tilde{x}=\sum_{j=1}^{2k+1}(x_{j}\tilde{x_{j}})e_{j}=0\).
So, \(\tilde{C}\subseteq C^{\bot}\).
Since \(| C| | C^{\bot}| =| S_{k}| ^{n}\), we have
So
 □
Theorem 4
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code of length n over \(S_{k}\), then
\(f_{i}^{*}(x)\) is the reciprocal polynomial of \(f_{i}(x)=(x^{n}-\lambda _{i})/g_{i}(x)\) which is defined as \(f_{i}^{*}(x)=x^{\operatorname{deg}(f_{i})}f_{i}(x^{-1})\), where \(g_{i}\) is the generator polynomial of \(C_{i}\), \(i=1,2, \ldots ,2k+1\).
Proof
Let \(C_{i}=\langle g_{i}(x) \rangle \) be a \(\lambda _{i}\)-constacyclic code of length n over \({\mathbb{F}}_{q}\), \(i=1,2,\ldots ,2k+1\). \(\forall x=(x_{0},x_{1},\ldots ,x_{n-1})\in C_{i}^{\perp}\), \(\forall y=(y_{0},y_{1},\ldots ,y_{n-1})\in C_{i}\), then \(\sigma ^{n-1}_{\lambda _{i}}(y)=(\lambda _{i} y_{1},\lambda _{i} y_{2}, \ldots ,\lambda _{i} y_{n-1},y_{0})\in C_{i}\), and
So, \(\sigma _{\lambda _{i}^{-1}}(x)\in C_{i}^{\perp}\), \(C_{i}^{\perp}\) is a \(\lambda ^{-1}_{i}\)-constacyclic code over \({\mathbb{F}}_{q}\).
Let \(\tilde{C_{i}}=\langle f_{i}^{*}(x) \rangle \),
we have \(f_{i}^{*}(x) \mid (x^{n}-\lambda _{i}^{-1})\), so \(\tilde{C_{i}}\subseteq C_{i}^{\perp}\).
Because \(| \tilde{C_{i}}| =q^{n-\operatorname{deg} f_{i}^{*}}=q^{ \operatorname{deg}g_{i}}=\frac{q^{n}}{| C_{i} |}=| C_{i}^{\bot } | \), we have \(C_{i}^{\bot}=\tilde{C_{i}}=\langle f_{i}^{*}(x) \rangle \), \(i=1,2,\ldots ,2k+1\).
By Theorem 3, \(C^{\bot}=\sum_{j=1}^{2k+1}e_{j}C_{j}^{\bot}\), we have \(| C^{\bot}| =\prod_{j=1}^{2k+1}| C_{j}^{\bot}| =q^{( \sum _{i=1}^{2k+1}\mathrm{deg}(g_{i}))}\), and we can get the form of \(C^{\bot}\) is
Let \(\tilde{C'}=\langle e_{1}f_{1}^{*}(x)+e_{2}f_{2}^{*}(x)+\cdots +e_{2k+1}f_{2k+1}^{*}(x) \rangle \). Then \(\tilde{C'}\subseteq C^{\bot}\).
Because
So \(C^{\bot}\subseteq \tilde{C'}\).
We have
 □
5 Quantum codes from constacyclic codes over \(S_{k}\)
Theorem 5
Let C be a linear code of length n over \(S_{k}\), then
Proof
Let \(a=(a_{0},a_{1},\ldots ,a_{n-1})\in C\), \(b=(b_{0},b_{1},\ldots ,b_{n-1}) \in C^{\bot}\), where \(a_{j}=a_{1,j}e_{1}+a_{2,j}e_{2}+\cdots +a_{2k+1,j}e_{2k+1}\), \(b_{j}=b_{1,j}e_{1}+b_{2,j}e_{2}+ \cdots +b_{2k+1,j}e_{2k+1}\in S_{k}\), \(j=0,1,2,\ldots ,n-1\), \(a^{(i)}=(a_{i,0},a_{i,1}, \ldots ,a_{i,n-1})\), \(b^{(i)}=(b_{i,0},b_{i,1},\ldots ,b_{i,n-1})\), \(i=1,2,\ldots ,2k+1\).
Then
So
Since
It follows that
So we have
As \(\phi _{k}\) is a bijection, and
Then
So
Let
then
The vector forms of \({{c}_{i}}\) and \({{d}_{i}}\) are respectively
Then
So we have
As \(\varphi _{k}\) is a bijection, and
Then
Therefore,
 □
Theorem 6
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a linear code of length n over \(S_{k}\), then C is a self-orthogonal code over \(S_{k}\) if and only if \(C_{j}\) is a self-orthogonal code over \({\mathbb{F}}_{q}\), if C is a self-orthogonal code over \(S_{k}\), then \(\phi _{k}(C)\) and \(\varphi _{k}(C)\) are self-orthogonal codes over \({\mathbb{F}}_{q}\), where \(j=1,2,\ldots ,2k+1\).
Proof
By using Theorem 1, we have \(C\subseteq C^{\bot}\) if and only if \(C_{j}\subseteq C_{j}^{\bot}\), so C is a self-orthogonal code over \(S_{k}\) if and only if \(C_{j}\) is a self-orthogonal code over \({\mathbb{F}}_{q}\), where \(j=1,2,\ldots ,2k+1\).
Let C be a self-orthogonal code, \(\forall a=(a_{0},a_{1},\ldots ,a_{n-1})\), \(b=(b_{0},b_{1},\ldots ,b_{n-1}) \in C\), \(a_{j}=a_{1,j}e_{1}+a_{2,j}e_{2}+\cdots +a_{2k+1,j}e_{2k+1}\), \(b_{j}=b_{1,j}e_{1}+b_{2,j}e_{2}+ \cdots +b_{2k+1,j}e_{2k+1}\in S_{k}\), \(j=0,1,2,\ldots ,n-1\), \(a^{(i)}=(a_{i,0},a_{i,1},\ldots ,a_{i,n-1})\), \(b^{(i)}=(b_{i,0},b_{i,1},\ldots ,b_{i,n-1})\), \(i=1,2,\ldots ,2k+1\).
Then
So,
It follows that
So \(\phi _{k}(C)\) is a self-orthogonal code over \({\mathbb{F}}_{q}\).
Let \(c=({{c}_{1}},{{c}_{2}},\ldots ,{{c}_{n}})\in C\), \(d=({{d}_{1}},{{d}_{2}},\ldots ,{{d}_{n}})\in C\), then
where \(i=1,2,\ldots ,n\).
The vector forms of \({{c}_{i}}\) and \({{d}_{i}}\) are respectively
Since C is a self-orthogonal code,
So,
Then,
So \(\varphi _{k}(C)\) is a self-orthogonal code over \({\mathbb{F}}_{q}\). □
Lemma 5
Let C be a constacyclic code over \({\mathbb{F}}_{q}\), the generator polynomial is \(g(x)\). Then, C contains its dual code if and only if \(x^{n}-\lambda \equiv 0(\operatorname{mod} g(x)g^{*}(x))\), where \(g^{*}(x)\) is the reciprocal polynomial of \(g(x)\), \(\lambda =\pm 1\).
Proof
Let \(C^{\perp}=\langle f^{*}(x)\rangle \) be the dual code of C, where \(f(x)=(x^{n}-\lambda )/g(x)\), \(\lambda =\pm 1\). C contains its dual code if and only if there exists \(h(x)\in {\mathbb{F}}_{q}[x]\), such that \(f^{*}(x)=g(x)h(x)\) if and only if \(g^{*}(x)g(x)=\frac{\lambda (x^{n}-\lambda ^{-1})}{f^{*}(x)}g(x)= \frac{\lambda (x^{n}-\lambda ^{-1})}{g(x)h(x)}g(x)= \frac{\lambda (x^{n}-\lambda )}{h(x)}\) if and only if \((x^{n}-\lambda )=\lambda ^{-1}g^{*}(x)g(x)h(x)\equiv 0(\mathrm{mod} g(x)g^{*}(x))\). □
Theorem 7
(CSS construction, [20])
Let \(C_{1}=[n, k_{1}, d_{1}]q\) and \(C_{2}=[n, k_{2}, d_{2}]q\) be linear codes over \({\mathbb{F}}_{q}\), with \(C_{2}^{\perp }\subseteq C_{1}^{\perp}\). Let \(d = \min{(d_{1}, d_{2})}\), then there exists a quantum error-correcting code C with parameters \(C=[[n,k_{1}+k_{2}-n,\geq d]]_{q}\). In particular, if \(C_{1}^{\perp }\subseteq C_{1}\), then there exists a quantum error-correcting code \(C=[[n,2k_{1}-n,\geq d_{1}]]_{q}\).
Theorem 8
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code of length n over \(S_{k}\), where \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\) is a unit in \(S_{k}\). Then \(C^{\perp}\subseteq C\) if and only if \(x^{n}-\lambda _{i}\equiv 0(\mathrm{mod} g_{i}(x)\tilde{g_{i}}(x))\), where \(g_{i}\) is the generator polynomial of \(C_{i}\), \(\tilde{g_{i}}(x)=\frac{1}{g_{i}(0)}g_{i}^{*}(x)=\frac{1}{g_{i}(0)}x^{ \mathrm{deg} g_{i}}g_{i}(x^{-1})\), \(i=1,2,\ldots , 2k+1\).
Proof
If \(x^{n}-\lambda _{i}\equiv 0(\operatorname{mod} g_{i}(x)\tilde{g_{i}}(x))\), by Lemma 5, we have \(C_{i}^{\perp}\subseteq C_{i}\), \(i=1,2,\ldots , 2k+1\), then \(e_{i}C_{i}^{\perp}\subseteq e_{i}C_{i}\), so \(C^{\perp}=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}^{\perp}\subseteq \bigoplus_{j=1}^{2k+1}e_{j}C_{j}=C\).
Conversely, let \(C^{\perp}\subseteq C\), then \(C^{\perp}=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}^{\perp}\subseteq \bigoplus_{j=1}^{2k+1}e_{j}C_{j}=C\), we have \(C_{i}^{\perp}\subseteq C_{i}\), by Lemma 5, we have \(x^{n}-\lambda _{i}\equiv 0(\mathrm{mod} g_{i}(x)\tilde{g_{i}}(x))\) \(i=1,2,\ldots , 2k+1\). □
By using Lemma 5 and Theorem 8, we can have the following corollary.
Corollary 1
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code of length n over \(S_{k}\), where \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\) is a unit in \(S_{k}\). Then \(C^{\perp}\subseteq C\) if and only if \(C_{i}^{\perp}\subseteq C_{i}\), where \(C_{i}\) is a \(\lambda _{i}\)-constacyclic code of length n over \({\mathbb{F}}_{q}\), \(\lambda _{i}=\pm 1\), \(i=1,2,\ldots , 2k+1\).
By using Theorem 7 and Theorem 8 we can have the following theorems.
Theorem 9
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code of length n over \(S_{k}\). Let \(C_{i}\) be a \(\lambda _{i}\)-constacyclic code of length n over \({\mathbb{F}}_{q}\), \(C_{i}^{\perp}\subseteq C_{i}\), where \(\lambda _{i}=\pm 1\), \(i=1,2,\ldots , 2k+1\), then \(C^{\perp}\subseteq C\) and there exists a quantum error-correcting code with parameters \([[(2k+1)n,2l-(2k+1)n,\geq d]]_{q}\), where d is the minimum Gray weight of code C, and l is the dimension of the linear code \(\phi _{k}(C)\).
Theorem 10
Let \(C=\bigoplus_{j=1}^{2k+1}e_{j}C_{j}\) be a \((\lambda _{1}e_{1}+\lambda _{2}e_{2}+\cdots +\lambda _{2k+1}e_{2k+1})\)-constacyclic code of length n over \(S_{k}\). Let \(C_{i}\) be a \(\lambda _{i}\)-constacyclic code of length n over \({\mathbb{F}}_{q}\), \(C_{i}^{\perp}\subseteq C_{i}\), where \(\lambda _{i}=\pm 1\), \(i=1,2,\ldots , 2k+1\), then \(C^{\perp}\subseteq C\) and there exists a quantum error-correcting code with parameters \([[(2k+1)n,2l-(2k+1)n,\geq d]]_{q}\), where d is the minimum Gray weight of code C, and l is the dimension of the linear code \(\varphi _{k}(C)\).
Example 1
Let
\(S_{2}={\mathbb{F}}_{5}[u_{1},u_{2}]/\langle u^{3}_{1}=u_{1},u^{3}_{2}=u_{2},u_{1}u_{2}=u_{2}u_{1}=0 \rangle \), \(e_{1}=\frac{u_{1}^{2}+u_{1}}{2}\), \(e_{2}=\frac{u_{1}^{2}-u_{1}}{2}\), \(e_{3}=\frac{u_{2}^{2}+u_{2}}{2}\), \(e_{4}=\frac{u_{2}^{2}-u_{2}}{2}\), \(e_{5}=1-u_{1}^{2}-u_{2}^{2}\), when \(n=30\),
Let C be a \((1-2u_{2}^{2})\)-constacyclic code of length 30 over \(S_{2}\) with generator polynomial \(e_{1}g_{1}(x)+e_{2}g_{2}(x)+e_{3}g_{3}(x)+e_{4}g_{4}(x)+e_{5}g_{5}(x)\), where \(g_{1}=x+1\), \(g_{2}=x+4\), \(g_{3}=x+2\), \(g_{4}=x+3\), \(g_{5}=x+1\), then \(x^{n}-1\equiv 0(\mathrm{mod} g_{i}(x)\tilde{g_{i}}(x))\), when \(i=1,2,5\), \(x^{n}+1\equiv 0(\mathrm{mod} g_{i}(x)\tilde{g_{i}}(x))\), when \(i=3,4\). By using Theorem 8, we have \(C^{\perp}\subseteq C\) and \(\phi _{2}(C)\) is a linear code over \({\mathbb{F}}_{5}\) with parameters \([150,145,2]\). By Theorem 9, we know that there is a quantum error correcting code with parameters \([[150,140,\geq 2]]_{5}\).
Example 2
Let
\(S_{2}={\mathbb{F}}_{7}[u_{1},u_{2}]/\langle u^{3}_{1}=u_{1},u^{3}_{2}=u_{2},u_{1}u_{2}=u_{2}u_{1}=0 \rangle \), \(e_{1}=\frac{u_{1}^{2}+u_{1}}{2}\), \(e_{2}=\frac{u_{1}^{2}-u_{1}}{2}\), \(e_{3}=\frac{u_{2}^{2}+u_{2}}{2}\), \(e_{4}=\frac{u_{2}^{2}-u_{2}}{2}\), \(e_{5}=1-u_{1}^{2}-u_{2}^{2}\), when \(n=15\),
Let C be a \((1-2u^{2}_{1}-u^{2}_{2})\)-constacyclic code of length 15 over \(S_{2}\) with generator polynomial \(e_{1}g_{1}(x)+e_{2}g_{2}(x)+e_{3}g_{3}(x)+e_{4}g_{4}(x)+e_{5}g_{5}(x)\), where \(g_{1}=x^{4}+3x^{3}+2x^{2}+6x+4\), \(g_{2}=x^{4}+5x^{3}+4x^{2}+6x+2\), \(g_{3}=g_{4}=x^{4}+6x^{3}+x^{2}+6x+1\), \(g_{5}=x^{4}+x^{3}+x^{2}+x+1\). By using Theorem 8, we have \(C^{\perp}\subseteq C\) and \(\varphi _{2}(C)\) is a linear code over \({\mathbb{F}}_{7}\) with parameters \([85,65,4]\). By Theorem 10, we know that there is a quantum error correcting code with parameters \([[85,45,\geq 4]]_{7}\).
Example 3
Let
\(n=3\) and \(S_{1}={\mathbb{F}}_{7}[u_{1}]/\langle u^{3}_{1}=u_{1}\rangle \), \(e_{1}=\frac{u_{1}^{2}+u_{1}}{2}\), \(e_{2}=\frac{u_{1}^{2}-u_{1}}{2}\), \(e_{3}=1-u_{1}^{2}\), \(x^{3}+1=(x+1)(x+2)(x+4)\), \(x^{3}-1=(x+3)(x+5)(x+6)\).
Let C be a \((2u^{2}_{1}-1)\)-constacyclic code of length 3 over \(S_{1}\) with generator polynomial \(e_{1}g_{1}(x)+e_{2}g_{2}(x)+e_{3}g_{3}(x)\), where \(g_{1}=x+3\), \(g_{2}=x+5\), \(g_{3}=x+4\). By Theorem 8, we have \(C^{\perp}\subseteq C\), and \(\phi _{1}(C)\) is a linear code over \({\mathbb{F}}_{7}\) with parameters \([9,6,2]\). By Theorem 9, we know that there is a quantum error correcting code with parameters \([[9,3,\geq 2]]_{7}\).
In Table 1, we provide some new quantum codes \([[n,l,d]]_{q}\) (in the sixth column) and compare the constructed codes \([[n',l',d']]_{q}\) (in the seventh column) better (by means of larger code rate or larger distance) than the existing references [13, 16, 17]. Further, the first column represents the length n, the second column is parameter k for \(S_{k}\), the third column gives the value of units \((\lambda _{1},\ldots , \lambda _{2k+1})\), the fourth column gives the generator polynomials \(\langle g_{1}(x),\ldots ,g_{2k+1}(x)\rangle \), where \(g_{i}(x)=a_{n}x^{n}+a_{n-1}x^{n-1}+\cdots +a_{1}x+a_{0}\) is denoted by \(a_{n}a_{n-1}\cdots a_{1}a_{0} \), e.g., 112 represents the polynomial \(x^{2}+x+2\), the fifth column gives parameters of \(\varphi _{k}(C)\).
6 Conclusion
In this paper, we study the structure of constacyclic codes over the non-chain rings \(S_{k}={\mathbb{F}}_{q}[u_{1},u_{2},\ldots ,u_{k}]/\langle u^{3}_{i}=u_{i},u_{i}u_{j}=u_{j}u_{i}=0 \rangle \), and apply the CSS construction on Gray images of dual containing constacyclic codes to obtain some new quantum codes improving the existing codes that appeared in some recent references.
Availability of data and materials
All data generated or analysed during this study are included in this published article.
References
Calderbank AR, Rains EM, Shor PM et al.. Quantum error correction via codes over \(GF(4)\). IEEE Trans Inf Theory. 1998;44:1369–87. https://doi.org/10.1109/18.681315.
Chen B, Dinh HQ, Liu H. Repeated-root constacyclic codes of length \(2l^{m}p^{n}\). Finite Fields Appl. 2015;33:137–59. https://doi.org/10.1016/j.ffa.2014.11.006.
Chen B, Liu H. Constructions of cyclic constant dimension codes. Des Codes Cryptogr. 2018;86:1267–79. https://doi.org/10.1007/s10623-017-0394-9.
Li J, Gao J, Fu FW et al.. \(\mathbb{F}_{q}R\)-Linear skew constacyclic codes and their application of constructing quantum codes. Quantum Inf Process. 2020;19:193. https://doi.org/10.1007/s11128-020-02700-x.
Dinh HQ, Kewat PK, Kushwaha S et al.. Constacyclic codes of length \(p^{s}\) over \({\mathbb{F}}_{p^{m}}/\langle u^{2} , v^{2} , uv-v u \rangle\). Discrete Math. 2020;343:111890. https://doi.org/10.1016/j.disc.2020.111890.
Kumar R, Bhaintwal M. A class of constacyclic codes and skew constacyclic codes over \({\mathbb{Z}}_{2^{s}}+u{\mathbb{Z}}_{2^{s}}\) and their gray images. J Appl Math Comput. 2021;66:111–28. https://doi.org/10.1007/s12190-020-01425-5.
Zheng X, Kong B. Cyclic codes and \(\lambda_{1}+\lambda_{2}u+\lambda_{3}v+\lambda_{4}uv\)-constacyclic codes over \({\mathbb{F}}_{p}+u{\mathbb{F}}_{p}+v{\mathbb{F}}_{p}+uv{\mathbb{F}}_{p}\). Appl Math Comput. 2017;306:86–91. https://doi.org/10.1016/j.amc.2017.02.017.
Zheng X, Kong B. Constacyclic codes over \({\mathbb{F}}_{p^{m}}[u_{1},u_{2},\ldots,u_{k}]/\langle u^{2}_{i}=u_{i}, u_{i}u_{j}=u_{j}u_{i}\rangle\). Open Math. 2018;16:490–7. https://doi.org/10.1515/math-2018-0045.
Kong B, Zheng X, Ma H. The depth spectrums of constacyclic codes over finite chain rings. Discrete Math. 2015;338:256–61. https://doi.org/10.1016/j.disc.2014.09.013.
Liu HW, Liu JG. On σ-self-orthogonal constacyclic codes over \(\mathbb{F}_{p^{m}}+u\mathbb{F}_{p^{m}}\). Adv Math Commun. 2022;16:643–65. https://doi.org/10.3934/amc.2020127.
Dertli A, Cengellenmis Y, Eren S. On quantum codes obtained from cyclic codes over \(A_{2}\). Int J Quantum Inf. 2015;13:1550031. https://doi.org/10.1142/S0219749915500318.
Gao Y, Gao J, Fu FW. Quantum codes from cyclic codes over the ring \({\mathbb{F}}_{q}+v_{1}{\mathbb{F}}_{q}+\cdots+v_{r}{\mathbb{F}}_{q}\). Appl Algebra Eng Commun Comput. 2019;30:161–74. https://doi.org/10.1007/s00200-018-0366-y.
Islam H, Prakash O. Quantum codes from the cyclic codes over \({\mathbb{F}}_{p}[u,v,w]/\langle u^{2}-1,v^{2}-1,w^{2}-1,uv-vu,vw-wv,wu-uw\rangle\). J Appl Math Comput. 2019;60:625–35. https://doi.org/10.1007/s12190-018-01230-1.
Rani S, Verma RK, Prakash O. Quantum codes from repeated-root cyclic and negacyclic codes of length \(4p^{s}\) over \({\mathbb{F}}_{P^{m}}\). Int J Theor Phys. 2021;60:1299–327. https://doi.org/10.1007/s10773-021-04757-5.
Wang Y, Kai X, Sun Z et al.. Quantum codes from Hermitian dual-containing constacyclic codes over \({\mathbb{F}}_{q^{2}}+v{\mathbb{F}}_{q^{2}}\). Quantum Inf Process. 2021;20:122. https://doi.org/10.1007/s11128-021-03052-w.
Prakash O, Islam H, Patel S et al.. New quantum codes from skew constacyclic codes over a class of non-chain rings \({\mathbb{R}}_{e ,q}\). Int J Theor Phys. 2021;60:3334–52. https://doi.org/10.1007/s10773-021-04910-0.
Ashra M, Khan N, Mohammad G. Quantum codes from cyclic codes over the mixed alphabet structure. Quantum Inf Process. 2022;21:180. https://doi.org/10.1007/s11128-022-03491-z.
Dertli A, Cengellenmis Y. Quantum codes obtained from some constacyclic codes over a family of finite rings \({\mathbb{F}}_{P}+u{\mathbb{F}}_{p}+v{\mathbb{F}}_{p}\). Math Comput Sci. 2020;14:437–41. https://doi.org/10.1007/s11786-019-00426-3.
Islam H, Prakash O. New quantum codes from constacyclic and additive constacyclic codes. Quantum Inf Process. 2020;19:319. https://doi.org/10.1007/s11128-020-02825-z.
Ketkar A, Klappenecker A, Kumar S et al.. Nonbinary Stabilizer Codes Over Finite Fields. IEEE Trans Inf Theory. 2006;52:4892–914. https://doi.org/10.1109/TIT.2006.883612.
Acknowledgements
The authors would like to thank the referees and the editor for their careful reading the paper and valuable comments and suggestions, which improved the presentation of this manuscript.
Funding
This work was supported by the Key Technologies Research and Development Program of Henan Province (No. 212102210573) and Zhengzhou Special Fund for Basic Research and applied basic research (No. ZZSZX202111).
Author information
Authors and Affiliations
Contributions
All authors have read and agreed to the published version of the manuscript.
Corresponding authors
Ethics declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
We agree to publication in the Journal.
Competing interests
The authors declare no competing interests.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Kong, B., Zheng, X. Quantum codes from constacyclic codes over \(S_{k}\). EPJ Quantum Technol. 10, 3 (2023). https://doi.org/10.1140/epjqt/s40507-023-00160-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.1140/epjqt/s40507-023-00160-7
MSC
- 94B05
- 94B15
- 94B60
Keywords
- Constacyclic codes
- Quantum codes
- Gray map
- Dual-containing codes
- CSS construction