Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hull Codes of Free Linear Codes

Updated 20 December 2025
  • Hull codes are free linear codes defined by the intersection of the code and its dual under various inner products, characterizing the continuum from LCD to self-orthogonal codes.
  • They are analyzed via rank formulas and spectral methods, with monomial equivalence techniques enabling precise control over the hull dimension.
  • Applications include efficient code equivalence, enhanced cryptographic masking, and quantum error correction, with ongoing research on classification and optimal constructions.

A hull code of a free linear code refers to a linear code over a finite field (or, more generally, a commutative ring) together with its hull: the subspace given by the intersection of the code and its dual under an appropriate inner product (Euclidean, Hermitian, or Galois). This concept encodes not just the foundational dichotomy of self-orthogonal and LCD codes but the entire hierarchy interpolating between these extremes—a structural invariant essential for algebraic classification, efficient code equivalence algorithms, and emerging applications in quantum information theory. The following provides a comprehensive technical account of the topic as established in recent research.

1. Definition and Fundamental Properties

Let FqF_q be a finite field and consider the vector space FqnF_q^n. For a [n,k]q[n,k]_q linear code CFqnC\subseteq F_q^n (i.e., a kk-dimensional FqF_q-subspace), the dual is defined under a fixed bilinear form—typically:

  • Euclidean inner product: (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i.
  • Hermitian inner product: For qq a square, (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}.
  • ss-Galois inner product: (x,y)s=i=1nxiyips(x,y)_s=\sum_{i=1}^n x_i y_i^{p^s}, q=pmq=p^m, 0s<m0\le s<m.

The hull of CC is then

Hull(C)=CC,\mathrm{Hull}(C) = C \cap C^\perp,

where CC^\perp denotes the corresponding dual. The hull-dimension is h:=dimFq(CC)h:=\dim_{F_q}(C\cap C^\perp).

  • h=0h=0: CC is an LCD (linear complementary dual) code.
  • h=kh=k: CC is self-orthogonal.
  • If k=n/2k=n/2 and CC is self-orthogonal, then CC is self-dual.

For linear codes over finite fields, the free module condition is automatically satisfied, i.e., "free linear code" simply means any [n,k][n,k] FqF_q-subspace of FqnF_q^n, with no torsion (Bouyuklieva et al., 2024).

2. Algebraic and Spectral Characterizations

The hull dimension is computable directly from the generator matrix and is invariant under coordinate permutations:

  • Rank formula: Let GG (resp. HH) be a generator (resp. parity-check) matrix of CC. Then

rank(GGT)=kh,rank(HHT)=nkh.\operatorname{rank}(G G^T) = k - h,\qquad \operatorname{rank}(H H^T) = n - k - h.

CC is LCD if and only if GGTG G^T is nonsingular (Youcef, 2023).

  • ss-Galois (or Hermitian) case: The relevant Gram matrix is Ms(G)=G(σs(G))TM_s(G) = G (\sigma^s(G))^T, with dimHulls(C)=krankMs(G)\dim \mathrm{Hull}_s(C) = k - \operatorname{rank} M_s(G), σs\sigma^s denoting psp^s-th power Frobenius (Liu et al., 2018).
  • Symmetry property: For q=peq=p^e, the rr-Galois and (er)(e-r)-Galois hulls have equal dimension: dimHullr(C)=dimHuller(C)\dim \text{Hull}_r(C)=\dim \text{Hull}_{e-r}(C) (Li et al., 2022).
  • Weight enumerators and matroids: Over F2F_2 or F3F_3, the hull-dimension is determined by the extended weight enumerator or Tutte polynomial, and is invariant under monomial equivalence; for q4q\geq 4, this fails in general (Pellikaan, 2017).

3. Enumeration, Distribution, and Asymptotics

The number of [n,k]q[n,k]_q codes with hull-dimension ll is

An,k,l=i=lk(1)ilq(il2) ⁣(il)q(n2iki)qTn,i,A_{n,k,l} = \sum_{i=l}^{k} (-1)^{i-l}\, q^{\binom{i-l}{2}}\! \binom{i}{l}_q \binom{n-2i}{k-i}_q T_{n,i},

where Tn,iT_{n,i} counts self-orthogonal [n,i]q[n,i]_q codes. The qq-binomial coefficient (Nr)q\binom{N}{r}_q counts rr-dimensional subspaces of FqNF_q^N.

  • Monotonicity: For n2kn\geq 2k, the numbers An,k,0>An,k,1>>An,k,kA_{n,k,0}>A_{n,k,1}>\cdots>A_{n,k,k}, i.e., LCD codes are most prevalent, and the frequency decreases strictly with hull-dimension (Bouyuklieva et al., 2024).
  • Limiting proportion: For fixed relative dimension α(0,1/2]\alpha\in(0,1/2],

limnAn,k,0(nk)q=11q,\lim_{n\to\infty} \frac{A_{n,k,0}}{\binom{n}{k}_q} = 1-\frac{1}{q},

so almost all codes are LCD for large qq.

Numerical counts, e.g., for binary [17,7]2[17,7]_2 codes: 497,119 inequivalent LCD codes, only 58 self-orthogonal; for [20,10]2[20,10]_2, 601 LCD and 16 self-orthogonal (Bouyuklieva et al., 2024).

4. Constructions and Control of Hull Dimension

A wide range of algebraic techniques provide explicit constructions with prescribed hull-dimension:

  • Reduction by diagonal scaling: For q>3q>3, any [n,k]q[n,k]_q code with hull hh is monomially equivalent to [n,k]q[n,k]_q codes with hull-dimension jj, for all 0jh0\leq j\leq h (Youcef, 2023). For q>4q>4, any [n,k]q[n,k]_q code is monomially equivalent to an LCD code with the same parameters (Pellikaan, 2017, Liu et al., 2018).
  • Incrementing/decrementing hull-dimension: Extension by one dual codeword or single-coordinate monomial scalings can increase or decrease the hull-dimension by one under mild conditions for q>3q>3 (Bhowmick et al., 24 Nov 2025, Youcef, 2023). Over finite extensions of binary fields F2mF_{2^m}, any LCD code of d2d\ge 2 is equivalent to a one-dimensional hull code under a weak condition (Bhowmick et al., 24 Nov 2025).
  • Spectral and matrix constructions: For prescribed small hulls, the spectral method yields optimal LCD and 1-hull codes via suitable choices of tridiagonal Toeplitz matrices and polynomial evaluations, including infinite families of formally self-dual LCD codes (Li, 2022).
  • Algebraic geometry and cyclic codes: Explicit one-dimensional hull codes arise from AG codes from curves of positive genus, classical and twisted Reed–Solomon codes, and matrix-product constructions. These methods extend to Hermitian and Galois hulls, with direct connections to MDS codes and their quantum analogues (Sok, 2021, Cao et al., 2022, Chen, 2022).
  • Probabilistic existence: For suitable parameters and qq (combinatorial bound on code size and minimum distance), Gilbert–Varshamov-type probabilistic arguments guarantee codes with any desired hull-dimension and minimum distance (Ganesan, 2023).

5. Hulls in Non-Classical Contexts

The hull concept extends beyond fields:

  • Codes over non-unital rings: For free codes over a local non-unital ring EE (with residue field F2F_2), the hull is characterized in terms of the residue code, and explicit build-up constructions allow arbitrary hull-rank (Kushwaha et al., 13 Dec 2025).
  • Galois hulls and semilinear isometries: The hull notion generalizes under arbitrary semilinear isometries (SLAut), yielding the σ-hull and associated intersection dimension formulas, crucial for Galois duals and codes with \ell-Galois hulls (Cao et al., 2022).

6. Applications and Algorithmic Significance

  • Code equivalence and automorphism groups: Small hull-dimension directly reduces the complexity of code equivalence and automorphism group computation, enabling polynomial or quasi-polynomial time algorithms for LCD and small-hull codes. This applies to both field and non-unital ring settings (Bhowmick et al., 24 Nov 2025, Kushwaha et al., 13 Dec 2025, Pellikaan, 2017).
  • Cryptography and side-channel resistance: LCD codes are preferred for masking against side-channel attacks due to minimal hull, and codes with small hull serve as natural generalizations (Bouyuklieva et al., 2024, Li, 2022).
  • Quantum error correction: The hull-dimension determines the number of required maximally entangled qubits in entanglement-assisted quantum error-correcting codes (EAQECCs). In particular, an [n,k]q[n,k]_q code of hull-dimension hh yields an [[n,kh,d;nkh]]q[[n,k-h,d; n-k-h]]_q EAQECC, and codes with hull-dimension $1$ or $0$ can directly target minimal or maximal entanglement regimes (Sok, 2021, Sok, 2021, Li et al., 2024, Cao et al., 2022, Li et al., 2022).

7. Structural Insights and Open Problems

  • Classification: Complete classification of hull-dimensions remains open beyond small n,kn,k or specific code families; the combinatorial formula for An,k,lA_{n,k,l} provides a tool for further analysis (Bouyuklieva et al., 2024).
  • Direct-sum decomposition: Every code with hull-dimension hh decomposes as C=Hulls(C)UC = \mathrm{Hull}_s(C) \oplus U where UU is ss-Galois LCD. This structure underpins classification, equivalence, and quantum code construction (Li et al., 2024).
  • Infinite families and MDS codes: Nearly all optimal code families (including MDS) can be realized with any allowable hull-dimension in large enough qq, either directly or via monomial transformation (Pellikaan, 2017, Cao et al., 2022).
  • Emergent research: Investigations continue on hull-dimension tunability in matrix-product, twisted GRS, and non-field-alphabet codes. Systematic study of hull-rank in free codes over non-unital rings is just underway (Kushwaha et al., 13 Dec 2025).

Table: Hull Dimension and Associated Code Classes (Field Case)

h=dim(Hull(C))h=\dim(\mathrm{Hull}(C)) Name Structural Property
$0$ LCD (linear complementary dual) CC={0}C \cap C^\perp = \{0\}
kk Self-orthogonal CCC \subseteq C^\perp
kk and k=n/2k=n/2 Self-dual C=CC = C^\perp
$1$ One-dimensional hull dim(CC)=1\dim(C \cap C^\perp)=1

References:

(Bouyuklieva et al., 2024, Youcef, 2023, Liu et al., 2018, Pellikaan, 2017, Bhowmick et al., 24 Nov 2025, Li, 2022, Chen, 2022, Sok, 2021, Cao et al., 2022, Ganesan, 2023, Kushwaha et al., 13 Dec 2025, Qian et al., 2021, Sok, 2021, Li et al., 2024, Li et al., 2022)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Hull Codes of Free Linear Codes.