On dual codes in the Doob schemes
Denis S. Krotov (Sobolev Institute of Mathematics, Novosibirsk,, Russia)

TL;DR
This paper establishes MacWilliams identities for dual codes in Doob schemes, linking their weight distributions and defining dual schemes with different metrics, extending classical coding theory results.
Contribution
It introduces dual schemes with different metrics in Doob schemes and proves MacWilliams identities connecting weight distributions of codes and their duals.
Findings
MacWilliams identities for additive and linear codes in Doob schemes
Dual schemes with different metrics are characterized
Weight distributions of codes and their duals are related
Abstract
The Doob scheme is a metric association scheme defined on , where or, alternatively, on . We prove the MacWilliams identities connecting the weight distributions of a linear or additive code and its dual. In particular, for each case, we determine the dual scheme, on the same set but with different metric, such that the weight distribution of an additive code in the Doob scheme is related by the MacWilliams identities with the weight distribution of the dual code in the dual scheme. We note that in the case of a linear code in , the weight distributions of and in the same scheme are also connected.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCoding theory and cryptography · graph theory and CDMA systems · Cellular Automata and Applications
On Dual Codes in the Doob Schemes
Denis S. Krotov
Sobolev Institute of Mathematics, Novosibirsk 630090, Russia
Email: [email protected], [email protected]
Abstract
The Doob scheme is a metric association scheme defined on , where or, alternatively, on . We prove the MacWilliams identities connecting the weight distributions of a linear or additive code and its dual. In particular, for each case, we determine the dual scheme, on the same set but with different metric, such that the weight distribution of an additive code in the Doob scheme is related by the MacWilliams identities with the weight distribution of the dual code in the dual scheme. We note that in the case of a linear code in , the weight distributions of and in the same scheme are also connected.
I Introduction
The codes in Doob graphs are special cases of codes over Eisenstein–Jacobi integers, see, e.g., [4, 7], which can be used for the information transmission in the channels with two-dimensional or complex-valued modulation. The vertices of a Doob graph can be considered as words in the mixed alphabet consisting of the elements of the quotient (modulo and modulo ) rings of the ring of Eisenstein–Jacobi integers, see, e.g., [6]. In contrast to the cases considered in [4, 7], is not a prime number, and the quotient ring is not a field. This fact is not a problem from the point of view of the modern coding theory, which has a reach set of algebraic and combinatorial tools to deal with rings, see, e.g., [8]; moreover, studying codes in the Doob graphs is additionally motivated by the application of association schemes in coding theory [3]: the algebraic parameters of the schemes associated with these graphs are the same as for the quaternary Hamming scheme (this fact can be also treated from the point of view of the corresponding distance-regular graphs).
In this correspondence, we establish the MacWilliams identities for additive and linear codes in Doob graphs. In particular, for each standard inner product, we determine the Delsarte dual to the Doob graph, and suggest inner products such that the Delsarte dual coincides with the original Doob graph.
II Codes in
II-A Linear codes and duality
††footnotetext: This work was funded by the Russian Science Foundation under grant18-11-00136
Let be a square root of , let
[TABLE]
be a primitive cube root of , and for any complex number , , let denote its conjugate, . The numbers of form
[TABLE]
are known as the Eisenstein–Jacobi integers. Endowed with the complex addition and multiplication, they form a subring of , which will be denoted by .
By , , we denote the factor ring ; we are interested in , which is the finite field of order , and , which is the Galois ring GR. The set of tuples from the Cartesian product of copies of and copies of with the component-wise addition and multiplication by a constant (modulo in the first positions, modulo in the last positions) forms a module over .
In , we consider the set of powers of and call it :
[TABLE]
It forms a multiplicative subgroup of , and is partitioned into the multiplicative cosets , , , and , where
[TABLE]
Any nonempty subset of closed under addition and multiplication by a constant is called a linear code or a linear code. So, the linear codes correspond to the submodules of .
Any nonempty subset of closed under addition is called an additive code or an additive code.
For and from or , the standard inner product is defined as usual:
[TABLE]
For and , where , , and , the inner product is defined as
[TABLE]
where is the group homomorphism from to .
Two vectors and are said to be orthogonal if . For a linear code in , its dual, denoted , is defined as the set of all vectors from that are orthogonal to every vector from . The dual is also a linear code and one has and .
II-B Additive codes and duality
For codes over finite fields, there is a standard technique to extend the concept of duality from the linear codes to the additive codes, below, we describe the approach in application to the ring . The module over can also be viewed as a module over the subring of . Given an inner product and a surjective -linear map from onto , we define the associated -inner product as
[TABLE]
Two vectors and are said to be -orthogonal if . Given an additive code in , its -dual is defined as the set of all vectors from that are -orthogonal to every vector from . The following known and easy fact shows that the -duality is an extension of the duality to the additive codes.
Proposition 1
For every surjective -linear map from onto , two linear codes are -dual if and only if they are dual.
Proof:
Let be a linear code. Obviously, the orthogonality of two vectors implies their -orthogonality. So, any vector from also belongs to the -dual of . Let us consider a vector from the -dual. By the definition,
[TABLE]
Since is linear,
[TABLE]
Seeking a contradiction, assume that for some from . Take such that . There should be such that or . For this , we have , contradicting (3). Hence, for all from we have , and belongs to . ∎
A standard linear map from to (as well as from a finite field to its prime-order subfield) used for different purposed is the trace :
[TABLE]
(In general, for an arbitrary Galois ring, , where the sum is over all automorphisms of the ring.) Below, for brevity, the -duality will be referred to as duality (by Proposition 1, it is in agree with the duality of linear codes), and the -inner product will be denoted as . The notation is also extended to the additive codes .
II-C Extending the concept of additive codes
We can further extend the definition of the additive codes, the concept of duality, and the corresponding notation to the codes in
[TABLE]
by defining the following -inner product:
[TABLE]
Here and below, for any vector from , the notations , , and denote the -, -, and -parts of , respectively; , , and refer to the -th coordinate of , , or , respectively. I.e.,
[TABLE]
The motivation for this extension lies in the extended possibility to construct codes with different parameters in the same metric space (as we will see in the next subsection, the coordinates from the last two groups are metrically equivalent in the considered scheme). Examples of exploiting this possibility can be found in the construction of additive -perfect codes [9].
II-D The Doob metric
We define two weight function on :
[TABLE]
called the weight and the coweight of , where
[TABLE]
[TABLE]
Naturally, the weight function defines the distance
[TABLE]
and the distance- graph on , where two vectors are adjacent if and only if they are at distance . If , then is called a Doob graph (the case corresponds to the quaternary Hamming graph ). The graph is the Cartesian product of copies the Shrikhande graph
[TABLE]
and copies of the complete graph of order (with the vertex set or ).
It is a distance-regular graph, and the corresponding metric induces an association scheme, a Doob scheme. From the metrical point of view, there is no difference between the last coordinates; there are isometries of the metric space that permute these coordinates in an arbitrary manner. The difference between these two groups becomes important only when we consider the additive structure, for example, when constructing additive codes.
In a similar way, defines another graph on , say . It is isomorphic to (an isomorphism is given by multiplying the first coordinates of the vectors by ). From the theory below, one can see that the graphs and are Delsarte dual to each other.
III MacWilliams identities
For any complex-valued function on , define its Fourier transform :
[TABLE]
Lemma 1
Let be an additive code in , and let be its dual. Then for every complex-valued function on ,
[TABLE]
Consider the function
[TABLE]
which also depends on the formal variables , , , , , , , . The sum of over some code will be denoted by
[TABLE]
for short, and called the complete weight enumerator of . The weight and coweight enumerators of
[TABLE]
respectively, are obtained from by identifying
[TABLE]
From the definitions of and the Fourier transform, we find
[TABLE]
After expressing (5), we get
[TABLE]
We now identify the variables to get in the left side of (8). Straightforward calculations using the character table (Fig. 1) show that
[TABLE]
Also, directly,
[TABLE]
Now, one can see that identifying the variables as in (7) results in the first formula in the following theorem; the second formula is similar.
Theorem 1
Let be an additive code in . The Doob weight and coweight enumerators (6) of and its dual are connected by the MacWilliams identities
[TABLE]
Finally we note that in the case , each vector from satisfies . On the other hand, for a linear code , is equivalent to . Hence, for linear codes, which is not true for additive codes in general. We conclude:
Theorem 2
Let be a linear code in . The Doob weight enumerators (6) of and its dual satisfy
[TABLE]
For additive codes in general, the claim of Theorem 2 is not always true. For example, the additive codes and have the same weight enumerator , but their duals and have different weight enumerators and (but the same coweight enumerator ). However, we can modify the inner product, replacing by another function, to make the weight distributions of an additive code and its dual (in the sense of the modified inner product) be connected my the MacWilliams identity.
Theorem 3
Let be an additive code in . If is the dual of in the sence of the -inner product
[TABLE]
then the Doob weight enumerators (6) of and satisfy the MacWilliams identity (12).
Remark 1
In the theory of self-dual and quantum codes, an important role is played by the Hermitian inner product defined as
[TABLE]
for and from or (or, in general, for any other ring admitting an automorphisms of order ), see e.g. [2]. We note that the theory above remains valid if we replace the standard inner product (1) by . Indeed, obviously, the conjugancy does not change the weight; so, the dual code and the Hermitian dual have the same weight (or coweight) distribution.
IV Codes in
As was mentioned above, can be considered as a -module, and in this sense it is isomorphic to the structure , consisting of -tuples with the first and the last elements from and the “middle” elements from . From this point of view, one can find convenient to consider the Doob scheme directly on and consider the duality in a usual manner, as for -codes (see e.g. [1]).
For convenience, we treat the elements of as -tuples, where the first elements are pairs (we write like , omitting “:” between numbers, e.g. ) from , the next elements are pairs from , and the last elements are from . For vectors
[TABLE]
the inner product is defined as
[TABLE]
the weight and coweight are defined as
[TABLE]
where on is defined by , for , in the other cases; similarly, on is defined by , for , in the other cases; on or (in the last two groups of coordinates), and . As in the previous section, the corresponding metrics and graphs are defined. The Shrikhande graph and its dual , with respect to the considered inner product, are as in the following picture:
[TABLE]
In the notation presented in the current section, the weight and coweight enumerators are defined as before (6). Moreover, the MacWilliams identities are also written as previously (10), (11), in the new notation.
Theorem 4
Let be an additive code in with the weight (coweight) functions (13). The Doob weight and coweight enumerators (6) of and its dual are connected by the MacWilliams identities
[TABLE]
The technique to prove Theorem 4 is similar to that in the previous section. To check the identity
[TABLE]
an analog of (9), the character table (Fig. 2) is useful.
Again, to make the weight distribution of an additive code and its dual connected in the same metric, we can modify the duality by modifying the inner product.
Theorem 5
Let be an additive code in . If is the dual of in the sense of the modified inner product
[TABLE]
(instead of (13)), then the Doob weight enumerators (6) of and satisfy
[TABLE]
V Conclusions
1. We conclude that to connect the weight distributions of an additive code and its dual in a Doob scheme by the MacWilliams identities, one should consider their weights in different (but isomorphic) Doob metrics. An alternative approach is to consider the weights in the same metric, but to treat duality in a modified way, with a special inner product, see Theorems 3 and 5. The last way can be recommended if a code is defined by a check matrix which is treated as a generator matrix of the dual code.
2. It [5], [6], and [9], classes of linear and additive -perfect codes in Doob graphs were constructed. By Theorem 2, the code generated by a check matrix of a linear -perfect code in has the parameters of the code dual to the linear -perfect quaternary Hamming code of length (the dual code is a simplex code, or a tight -design, see e.g. [5]). According to Theorem 5, to get a generator matrix of a tight -design from a check matrix of an additive (over ) -perfect code in a Doob graph , one should multiply by the first columns of the matrix with even numbers.
Acknowledgment
The author is grateful to Minjia Shi, Jack Koolen, Vladimir Potapov, and Patrick Solé for useful discussions.
This work was funded by the Russian Science Foundation under grant 18-11-00136.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Borges, C. Fernández-Córdoba, J. Pujol, J. Rifà, and M. Villanueva, “ Z 2 Z 4 subscript 𝑍 2 subscript 𝑍 4 {Z}_{2}{Z}_{4} -linear codes: Generator matrices and duality,” Des. Codes Cryptography , vol. 54, no. 2, pp. 167–179, 2010, DOI: 10.1007/s 10623-009-9316-9 .
- 2[2] A. R. Calderbank, E. M. Rains, P. M. Shor, and N. J. A. Sloane, “Quantum error correction via codes over GF(4),” IEEE Trans. Inf. Theory , vol. 44, no. 4, pp. 1369–1387, July 1998, DOI: 10.1109/18.681315 .
- 3[3] P. Delsarte, An Algebraic Approach to Association Schemes of Coding Theory , ser. Philips Res. Rep., Supplement, 1973, vol. 10.
- 4[4] K. Huber, “Codes over Eisenstein–Jacobi integers,” in Finite Fields: Theory, Applications, and Algorithms (Las Vegas, NV, 1993) , ser. Contemp. Math., vol. 168. Providence, RI: Amer. Math. Soc., 1994, pp. 165–179.
- 5[5] J. H. Koolen and A. Munemasa, “Tight 2 2 2 -designs and perfect 1 1 1 -codes in Doob graphs,” J. Stat. Plann. Inference , vol. 86, no. 2, pp. 505–513, 2000, DOI: 10.1016/S 0378-3758(99)00126-3 .
- 6[6] D. S. Krotov, “Perfect codes in Doob graphs,” Des. Codes Cryptography , vol. 80, no. 1, pp. 91–102, July 2016, DOI: 10.1007/s 10623-015-0066-6 .
- 7[7] C. Martínez, E. Stafford, R. Beivide, and E. M. Gabidulin, “Modeling hexagonal constellations with Eisenstein–Jacobi graphs,” Probl. Inf. Transm. , vol. 44, no. 1, pp. 1–11, 2008, DOI: 10.1134/S 0032946008010018 Translated from Probl. Peredachi Inf. 44:1 (2008), 3–14.
- 8[8] M. Shi, A. Alahmadi, and P. Solé, Codes and Rings: Theory and Priactice , ser. Pure and Applied Mathematics. Academic Press, 2017.
