Hull Codes of Free Linear Codes
- 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 be a finite field and consider the vector space . For a linear code (i.e., a -dimensional -subspace), the dual is defined under a fixed bilinear form—typically:
- Euclidean inner product: .
- Hermitian inner product: For a square, .
- -Galois inner product: , , .
The hull of is then
where denotes the corresponding dual. The hull-dimension is .
- : is an LCD (linear complementary dual) code.
- : is self-orthogonal.
- If and is self-orthogonal, then is self-dual.
For linear codes over finite fields, the free module condition is automatically satisfied, i.e., "free linear code" simply means any -subspace of , 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 (resp. ) be a generator (resp. parity-check) matrix of . Then
is LCD if and only if is nonsingular (Youcef, 2023).
- -Galois (or Hermitian) case: The relevant Gram matrix is , with , denoting -th power Frobenius (Liu et al., 2018).
- Symmetry property: For , the -Galois and -Galois hulls have equal dimension: (Li et al., 2022).
- Weight enumerators and matroids: Over or , the hull-dimension is determined by the extended weight enumerator or Tutte polynomial, and is invariant under monomial equivalence; for , this fails in general (Pellikaan, 2017).
3. Enumeration, Distribution, and Asymptotics
The number of codes with hull-dimension is
where counts self-orthogonal codes. The -binomial coefficient counts -dimensional subspaces of .
- Monotonicity: For , the numbers , 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 ,
so almost all codes are LCD for large .
Numerical counts, e.g., for binary codes: 497,119 inequivalent LCD codes, only 58 self-orthogonal; for , 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 , any code with hull is monomially equivalent to codes with hull-dimension , for all (Youcef, 2023). For , any 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 (Bhowmick et al., 24 Nov 2025, Youcef, 2023). Over finite extensions of binary fields , any LCD code of 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 (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 (with residue field ), 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 -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 code of hull-dimension yields an 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 or specific code families; the combinatorial formula for provides a tool for further analysis (Bouyuklieva et al., 2024).
- Direct-sum decomposition: Every code with hull-dimension decomposes as where is -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 , 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)
| Name | Structural Property | |
|---|---|---|
| $0$ | LCD (linear complementary dual) | |
| Self-orthogonal | ||
| and | Self-dual | |
| $1$ | One-dimensional hull |
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)