2. Preliminaries
The additive code C over of length n is an additive subgroup of . The weight of a codeword in is the number of non-zero and is denoted by . The minimum distance of C is the smallest non-zero weight of any codeword in C. Here, C is a k-dimensional -subspace of , and, therefore, it has codewords. It is denoted as an code, and, if its minimum distance is d, the code is an ( code.
The trace map,
, is defined by
. The Hermitian trace inner product of two vectors over
of length
n,
and
, is given as follows:
Note that
is also the number (modulo 2) of places where
u and
v have different non-zero values. We define the dual of the code C with respect to the Hermitian trace inner product as follows:
If
, we say
C is self-orthogonal, and, if
, we say
C is self-dual. It has been shown that additive self-orthogonal codes over
can be used to represent quantum error-correcting codes [
5]. If
C is self-dual, then it must be an
code. Additive self-dual codes over
correspond to zero-dimensional quantum codes, which represent single quantum states. If the code has a high minimum distance, then the corresponding quantum state is highly entangled.
We distinguished between two types of additive self-dual codes over . If all codewords have an even weight, it is a Type II code; otherwise, it is a Type I code. It can be shown that a Type II code must have an even length value. Bounds on the minimum distance of self-dual codes were given by Rains and Sloane.
Theorem 1.
([1,3]) Let C be an additive self-dual code over . If C is Type I, then if , if , and . If C is Type II, then . A code that meets the appropriate bound is called extremal. It can be shown that extremal Type II codes must have a unique weight enumerator. The proof of Theorem 1 was given by using the shadow code, which is defined in the following text.
Let
C be an additive self-dual code over
and
be the subset of
C, consisting of all even weight codewords. Then,
is a subgroup of
C. The shadow code of an additive code
C over
is defined as follows:
or equivalently,
The weight enumerator of an additive code is given as follows:
Here, we have
codewords of weight
i in
C. We are only interested in Type I codes. From now on, let us assume
C as a Type I code. According to [
3], the weight enumerator of
C,
, and its shadow code weight enumerator,
, are given as follows:
We have these equations for suitable constants
. We rewrite Equations (
6) and (
7) as follows:
Here,
if
n is even, and
if
n is odd. Note that
, and all
and
must be non-negative integers.
can be written as a linear combination of
for
, and
as a linear combination of
for
as depicted in the following form:
We have these equations for suitable constants and .
In our computation, we calculate
and
. The following formulas can be found in [
3]. For
, we have the following equations:
Here, .
3. Extremal Type I Additive Self-Dual Codes over GF(4) with Minimal Shadow
In this section, we study Type I additive self-dual codes over for which the minimum weight of the shadow code has the smallest possible value. We especially define a code with minimal shadow and prove that no extremal Type I additive self-dual codes over with minimal shadow for some parameters exist. We start with the following definition:
Definition 1. Let C be a Type I additive self-dual code over of length . Then, C is a code with minimal shadow if
- 1.
if ;
- 2.
if .
Here, is the minimum weight of S.
Lemma 1. Let C be a Type I additive self-dual code over and S the shadow code of C. If , then .
Proof. Considering
, and then using Equation (
4), if
then
and
. If
, then
and
. Thus,
for all
, and
for all
. Therefore,
. ☐
Lemma 2. Let C be an additive self-dual code over of length n and minimum weight d. Let be the weight enumerator of S. Then, we have the following values:
- 1.
;
- 2.
for .
Proof. Because , . Hence, this completes the first statement. Considering for , let with and . Then, and . This is a contradiction. Hence, this completes the second statement. ☐
In the following text, we prove the uniqueness of weight enumerators for some codes. For this, we need to look at the observation mentioned below. Let
C be an extremal Type I additive self-dual code over
with a minimal shadow of length
. We have the following equations:
and
Here, if n is even, and if n is odd.
If , then C is a code. The minimum weight of the shadow code is two, and and . . By Lemma 2, if . In addition, we have . Otherwise, S contains a vector v bearing weight that is less than or equal to , and, if is a vector of weight two, then , with , which is a contradiction to the minimum distance of C.
If , then C is a code. The minimum weight of the shadow code is one, and and . By Lemma 2, if . In addition, we have . Otherwise, S contains a vector v bearing weight that is less than or equal to , and, if is a vector of weight one, then , with , which is a contradiction to the minimum distance of C.
If , then C is a code. The minimum weight of the shadow code is two, and and . . By Lemma 2, if . In addition, we have . Otherwise, S contains a vector v bearing weight that is less than or equal to , and, if is a vector of weight two, then , with , which is a contradiction to the minimum distance of C.
If , then C is a code. The minimum weight of the shadow code is one, and and . By Lemma 2, . In addition, we have . Otherwise, S contains a vector v bearing weight that is less than or equal to , and, if is a vector of weight one, then , with , which is a contradiction to the minimum distance of C.
Now, we are ready to prove the following theorem.
Theorem 2. Extremal Type I additive self-dual codes over with minimal shadow of lengths , and have uniquely determined weight enumerators.
Proof. Let
C be an extremal Type I additive self-dual code over
with a minimal shadow of length
n. We rewrite Equation (
10) in the following manner:
Let
, and, considering
, we have the following equations:
Hence, we prove that
is uniquely determined and the weight enumerator of
C is unique as well. If
, then we have a unique
extremal code [
6]. Hence, we prove that the weight enumerator is unique. See Example 1.
Let
, and, considering
, we have the following equations:
Hence, we prove that
is uniquely determined and the weight enumerator of
C is unique as well. If
, then we have no extremal code [
6].
Let
, and, considering
, we have the following equations:
Hence, we prove that
is uniquely determined and the weight enumerator of
C is unique as well. If
, then we have no extremal code [
6]. If
, then we have two extremal codes [
6], and they have the same weight enumerator. Hence, we prove that the weight enumerator is unique. See Example 1.
Let
, and, considering
, we have the following equations:
Hence, we prove that
is uniquely determined and the weight enumerator of
C is unique as well. If
, then we have a unique extremal code [
6]. Hence, we prove that the weight enumerator is unique. See Example 1.
Let
, then we have the following equations:
Hence, we prove that is uniquely determined and the weight enumerator of C is unique as well. In conclusion, the weight enumerators are unique in all cases. ☐
Remark 1. In Theorem 2, the missing case is . If , then we have the following equations: Therefore, cannot be determined by the above equations, and we cannot prove that the weight enumerator is unique.
Using the above results, we prove the nonexistence of extremal Type I codes with minimal shadow for some parameters.
Theorem 3. Extremal Type I additive self-dual codes over with minimal shadow of lengths and do not exist.
Proof. Let
, and, considering
, from Equations (
18) and (
19), we have the following outcome:
Using Equations (
11) and (
12), we have the following outcome:
Therefore, we have the conclusion as follows:
This is a contradiction. If
, then there is no extremal code [
6].
Let
. From Equations (
24) and (
25), we have the following outcome:
Using Equations (
11) and (
12), we have the outcome:
This is a contradiction. ☐
Theorem 4. There are no extremal Type I additive self-dual codes over with minimal shadow if
- 1.
and ;
- 2.
and ; and
- 3.
and .
Proof. Let
. From Equations (
10) and (
16), we have the following outcome:
Using Equations (
11) and (
12), we have the following outcome:
From Equations (
10) and (
16), we have the following outcome:
Using Equations (
11) and (
12), we have the following outcomes:
and
Thus, if . Therefore, if , then . This is a contradiction.
Let
. From Equations (
10) and (
20), we have the following equation:
Using Equations (
11) and (
12), we have the following equations:
From Equations (
10) and (
20), we have the following equations:
Using Equations (
11) and (
12), we have the following:
and
Thus, if . Therefore, if , then . This is a contradiction.
Let
. From Equations (
10) and (
22), we have the following equation:
Using Equations (
11) and (
12), we have the following outcome:
From Equations (
10) and (
22), we have the following equation:
Using Equations (
11) and (
12), we have the following equations:
and
Thus, if . Therefore, if , then . This is a contradiction. ☐
In the following example, we give some extremal Type I additive self-dual codes over with minimal shadow.
Example 1. Consider that there is a unique extremal Type I additive self-dual code over , say , with the following generator matrix: The weight enumerator of the code and the shadow code are given as follows: Therefore, the code is an extremal Type I additive self-dual code over with minimal shadow.
Consider that there is a unique extremal Type I additive self-dual code over , say , with the following generator matrix: The weight enumerator of the code and the shadow code are given as follows: Therefore, the code is an extremal Type I additive self-dual code over with minimal shadow.
Consider that there are exactly two extremal Type I additive self-dual codes over , say and , with the following generator matrices [7]: The weight enumerators of both codes are the same. The following are the weight enumerators of the codes and the corresponding shadow codes:and Therefore, the codes and are extremal Type I additive self-dual codes over with minimal shadow.