New MDS Euclidean and Hermitian Self-Dual Codes over Finite Fields ()
1. Introduction
Let
denote a finite field with q elements. An
linear code C over
is a k-dimensional subspace of
. These parameters n, k and d satisfy
. If
, C is called a maximum distance separable (MDS) code. MDS codes are of practical and theoretical importance. For examples, MDS codes are related to geometric objects called n-arcs.
The Euclidean dual code
of
is defined as
(1)
If
, the Hermitian dual code
of
is defined as
(2)
If C satisfies
or
, C is called Euclidean self-dual or Hermitian self-dual, respectively. In [1] [2] discussing Euclidean self-dual codes or Hermitian self-dual codes. If C is MDS and Euclidean self-dual or Hermitian self-dual, C is called an MDS Euclidean self-dual code or an MDS Hermitian self-dual code, respectively. In recent years, In [2] - [9] study the MDS self-dual codes. One of these problems in this topic is to determine existence of MDS self-dual codes. When
, Grassl and Gulliver completely solve the existence of MDS Euclidean self-dual codes in [5] . In [6] , Guenda obtain some new MDS Euclidean self-dual codes and MDS Hermitian self-dual codes. In [8] , Jin and Xing obtain some new MDS Euclidean self-dual codes from generalized Reed- Solomon codes.
In this paper, we obtain some new Euclidean self-dual codes by studying the solution of an equation in
. And we generalize Jin and Xing’s results to MDS Hermitian self-dual codes. We also construct MDS Hermitian self-dual codes from constacyclic codes. We discuss MDS Hermitian self-dual codes obtained from extended cyclic duadic codes and obtain some new MDS Hermitian self-dual codes.
2. MDS Euclidean Self-Dual Codes
A cyclic code C of length n over
can be considered as an ideal,
, of the ring
, where
and
. The set
is called the defining set of C, where
.
Let
and
be unions of cyclotomic classes modulo n, such that
and
and
. Then the triple
,
and
is called a splitting modulo n. Odd-like codes
and
are cyclic codes over
with defining sets
and
, respectively.
and
can be denoted by
. Even-like duadic codes
and
are cyclic codes over
with defining sets
and
, respectively. Obviously,
. In [10] , A duadic code of length n over
exists if and only if q is a quadratic residue modulo n.
Let
and n be an odd integer.
is a cyclic code with defining set
. Then
is an
MDS code. Its dual
is also cyclic with defining set
. There are a pair of odd-like duadic codes
and
and a pair of even-like duadic codes
.
Lemma 1 [6] Let
and n be an odd integer. There exists a pair of
MDS codes
and
with parameters
, and
.
Lemma 2 [11] Let
and
be a pair of odd-like duadic codes of length n over
,
. Assume that
(*)
has a solution in
. Let
for
and
with
. Then
and
are Euclidean self-dual codes.
In [11] , the solution of (*) is discussed when n is an odd prime. In [5] , the solution of (*) is discussed when n is an odd prime power. Next, we discuss the solution of (*) for any odd integer n with
.
Definition 1 (Legendre Symbol) [12] Let p be an prime and a be an integer.
(3)
Proposition 1 [12]
where
.
Definition 2 (Jacobi Symbol) [12] Let
and
be two integers.
where
.
We cannot obtain
is a quadratic residue modulo n from
. But we have the next proposition.
Proposition 2 Let
and n be two integers and
. If m is a quadratic residue modulo n, then
If
then m is not a quadratic residue modulo n.
Proof Obviously.
Lemma 3 (Law of Quadratic Reciprocity) [12] Let p and r be odd primes,
.
(4)
Corollary 1 Let p and r be odd primes.
(1) When
or
,
(2) When
,
Theorem 1 Let
and r be an odd prime. Let
and n be an odd integer. And
where
(1) When
, there is a solution to (*) in
.
(2) Let
. If
is an odd integer, there is a solution to (*) in
.
Proof (1)
.
(1.1)
. So we have that t is even. Then every quadratic equation with coefficients in
, such as Eq. (*), has a solution in
.
(1.2)
and
. The proof is similar as (1.1).
(1.3)
and
.
So n is a quadratic residue modulo r. And −1 is a quadratic residue modulo r. So there is a solution to (*) in
.
(2)
. Then
and t is odd.
If
is odd, n is not a quadratic residue modulo r. And −1 is not a quadratic residue modulo r. So
is a quadratic residue modulo r. There is a solution to (*) in
.
Remark In fact,
, and n is an odd integer and
. We can easily prove that there is a solution to (*) in
if and only if
is an odd integer.
Let
,
. q is a quadratic residue modulo n.
. Let
and
, where r is a prime. Then
and t is odd. Equation (*) has solutions in
if and only if Equation (*) has solutions in
. And r is a quadratic residue modulo n.
. Let p be an odd prime divisor of n. r is a quadratic residue modulo p. Then
. By Law of Quadratic Reciprocity,
,
The Legendre symbol
where
,
and
.
Theorem 2 Let
be a prime power,
and n be an odd integer. Then there exists a pair
,
of MDS odd-like duadic codes of length n and
, where even-like duadic codes are MDS self-orthogonal, and
. Furthermore,
(1) If
, then
are
MDS Euclidean self-dual codes.
(2) If
, then
are
MDS Euclidean self-dual codes.
(3) If
and
is an odd integer, then
are
MDS Euclidean self-dual codes, where
and
,
.
Proof Obviously,
are
MDS odd-like duadic codes. If there is a solution to (*), we want to prove
are
MDS Euclidean self-dual codes, and we only need to prove that
This is equivalent to prove that
. It can be proved similarly by which proved in [5] .
When
, there is a solution to (*) in
,
are
MDS Euclidean self-dual codes by Lemma 2.
We can obtain (2) and (3) from Theorem 1 and Lemma 2. Theorem 2 is proved.
We list some new MDS Euclidean self-dual codes in the next Table 1.
3. MDS Hermitian Self-Dual Codes
Let
. We choose n distinct elements
from
and n nonzero elements
from
. The generalized Reed-Solomon code
Table 1. Some new MDS Euclidean self-dual codes.
is a q2-ary
MDS code, where
and
.
Theorem 3 Let
and
. Let
be n distinct elements from
and
,
. Then there exist
such that
, for
, and the generalized Reed-Solomon code
is an
MDS Hermitian self-dual code over
, where
and
.
Proof Obviously,
for
. So there exist
such that
for
. The generalized Reed-Solomon
code
is an
MDS code over
. For proving the generalized Reed-Solomon code
is Hermitian self-dual over
, we only prove
From the choose of
,
and [8, Corollary 2.3],
So the generalized Reed-Solomon code
is an
MDS Hermitian self-dual code over
.
Next we construct MDS Hermitian self-dual codes from constacyclic codes.
Let C be an
l-constacyclic code over
and
. C is considered as an ideal,
, of
, where
. Simply,
.
Lemma 4 [2] Let
,
, and C be a l-constacyclic code over
. If C is Hermitian self-dual, then
.
Lemma 5 [2] Let
and
be integers such that
and
. Let q be an odd prime power such that
and
, and let
has order r. Then Hermitian self-dual l-constacyclic codes over
of length n exist if and only if
and
.
Let
and
.
Then
are all solutions of
in some extension field of
, where
. C is called a l-constacyclic code with defining set
, if
Theorem 4 Let
and
.
.
with
.
. If
, there exists an MDS Hermitian self-dual code C over
with length n, C is a l-constacyclic code with defining set
Proof If
,
, for
, where
denote the q2-cyclotomic coset of
. And
, C is an
MDS l-constacyclic code by the BCH bound of constacyclic code.
When
,
. Because
, l is odd.
So
C is MDS Hermitian self-dual by the relationship of roots of a constacyclic code and its Hermitian dual code’s roots.
Remark The MDS Hermitian self-dual constacyclic code obtained from Theorem 4 is different with the MDS Hermitian self-dual constacyclic code in [12] , because
for an odd prime power q.
If
, C is negacyclic. Theorem 4 can be stated as follow.
Corollary 2 Let
and
is odd. Let
where
and
is odd. Then there exists an MDS Hermitian self-dual code C of length n which is negacyclic with defining set
Especially, when
, Corollary 2 is similar as [5, Theorem 11].
From Theorem 3 and Theorem 4, we obtain the next theorem.
Theorem 5 Let
and n be even. There exists an MDS Hermitian self-dual code with length n over
.
4. Conclusion
In this paper, we obtain many new MDS Euclidean self-dual codes by solving the Equation (*) in
. We generalize the work of [8] to MDS Hermitian self-dual codes, and we construct new MDS Hermitian self-dual codes from constacyclic codes. We obtain that there exists an MDS Hermitian self-dual code with length n over
, where
and n is even. And we also discuss these MDS Hermitian self-dual codes, which are extended cyclic duadic codes. Some new MDS Hermitian self-dual codes are obtained.