arXiv:2610.30561cs.ITOct 2026

Manuscript Offprint

arXiv:2610.30561

Classification of binary, ternary and quaternary Hermitian LCD codes

Keita Ishizuka

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We extend the complete classifications of linear complementary dual (LCD) codes from length 15 to length 19 in the binary case, from length 10 to length 15 in the ternary case and from length 12 to length 13 in the quaternary Hermitian case. The classification rests on a reduction of the monomial equivalence of LCD codes to graph isomorphism on the coordinates, combined with canonical augmentation.

Keywords: LCD code, classification, code equivalence, graph isomorphism, closure, mass formula

MSC 2020: 94B05

1 Introduction

A linear code CC is a linear complementary dual (LCD) code if C∩C⊥={0}C \cap C^\perp = \{0\}, where C⊥C^\perp is the dual code with respect to the Euclidean inner product or, for codes over Fp2\mathbb{F}_{p^2}, with respect to the Hermitian inner product [23]. LCD codes have attracted attention through their application to countermeasures against side-channel attacks [9], and the dimension of C∩C⊥C \cap C^\perp governs the complexity of the algorithms that decide code equivalence [26, 27, 5]. Moreover, a quaternary Hermitian LCD [n,k,d][n, k, d] code yields a maximal-entanglement entanglement-assisted quantum error-correcting [[n, k, d; n - k]] code [14, Corollary 3.2]. The classification of LCD codes up to equivalence is a meaningful problem only when being LCD is an invariant of the equivalence class. By Carlet, Mesnager, Tang, Qi and Pellikaan [11] this happens exactly for binary and ternary codes with the Euclidean inner product and for quaternary codes with the Hermitian inner product: for q>3q > 3 every

*Information Technology R&D Center, Mitsubishi Electric Corporation, Kamakura, Japan. Email: keitaishizuka1994@gmail.com linear code over Fq\mathbb{F}_q is equivalent to a Euclidean LCD code, and for p2>4p^2 > 4 every linear code over Fp2\mathbb{F}_{p^2} is equivalent to a Hermitian LCD code (Section 2). The known complete classifications in these three cases are summarised in Table 1. These classifications decide equivalence either with the function IsIsomorphic of Magma, which is based on Leon's partition backtrack over a set of codewords invariant under all automorphisms [21], or by a graph isomorphism test on a digraph whose vertices include all qkq^k codewords [20, Section 7.3.3]; in both cases a set of codewords has to be computed first, which is at least as hard as computing the minimum distance or requires the enumeration of all qkq^k codewords (Section 3.2).

Table 1: Complete classifications of LCD codes (all dimensions unless stated otherwise); †: only the numbers of inequivalent codes are given, without representatives

codespreviously knownthis paper
binaryn≤13n \leq 13 [1], n≤15n \leq 15 [16];n≤19n \leq 19
n≤30n \leq 30 for k=2k = 2, n≤25n \leq 25 for k=3†k = 3^{\dagger} [1];
n≤100n \leq 100 for k=2k = 2, n≤50n \leq 50 for k=3k = 3,
n≤22n \leq 22 for k=4†k = 4^{\dagger} [16];
n≤20n \leq 20 for 3≤k≤53 \leq k \leq 5, n≤18n \leq 18 for k=6k = 6,
n≤17n \leq 17 for k=7k = 7, n≤16n \leq 16 for k=8k = 8, d,d⊥≥2†d, d^{\perp} \geq 2^{\dagger} [8]
ternaryn≤10n \leq 10 [1]; n≤20n \leq 20 for k=3k = 3,n≤15n \leq 15
n≤15n \leq 15 for k=4k = 4, n≤14n \leq 14 for k=5k = 5,
n≤13n \leq 13 for k≤9k \leq 9, d,d⊥≥2†d, d^{\perp} \geq 2^{\dagger} [8]
quaternaryn≤12n \leq 12; n≤15n \leq 15 for k≤4k \leq 4; n≤70n \leq 70 for k=2k = 2;n≤13n \leq 13
Hermitiann≤20n \leq 20 for k=3k = 3 [3]

Our contributions are as follows. Combining the closure, which preserves the hull for ternary Euclidean and quaternary Hermitian codes [28, Proposition 7], with the reduction of [5], we decide monomial equivalence of LCD codes over F3\mathbb{F}_3 and F4\mathbb{F}_4 by graph isomorphism on (q−1)n(q - 1)n vertices; to our knowledge this is the first use of this reduction in a classification, and Section 3.2 shows that it removes the equivalence test as the bottleneck. We show that LCD codes can be generated within the class of LCD codes, the type of deletion being determined by the diagonal of the projector (Lemma 3.3); this extends results of Bouyuklieva [7] and of the author [18] and removes the need for codes with nontrivial hull as parents. We combine this generation with canonical augmentation [24], using the canonical labelling of the same projector digraph that decides equivalence, and prove that every equivalence class is produced exactly once (Theorem 3.9). Thus a single object, the projector of an LCD code, provides the complete invari-ant, is compatible with the closure, and determines the generation. With this procedure we extend the complete classifications to lengths 19, 15 and 13 (Table 3); generator matrices of representatives of all equivalence classes are available electronically [19]. Using a rigorous lower bound from the mass formula, we show that the next lengths (20, 16 and 14 for q=2q = 2, 3 and 4) would produce far more generator matrices than can be stored and shared under today's computational resources (Section 4), and thereby conclude that, with present means of storage and distribution, the lengths classified here are the limit of complete classification. Furthermore, as a consequence of the classification we obtain the numbers of inequivalent LCD codes with each minimum weight and the largest minimum weights dLCD(n,k)d_{\mathrm{LCD}}(n, k) (Section 5).

This paper is organized as follows. Section 2 fixes notation and recalls the mass formulas. Section 3 reduces the equivalence of LCD codes to graph isomorphism, compares the cost with the previous approaches, describes the generation of LCD codes and the verification of the results. Section 4 gives the numbers of inequivalent LCD codes and the lower bound that limits complete classification, Section 5 the largest minimum weights, and Section 6 concludes the paper.