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: FqnF_q^n0, FqnF_q^n1, FqnF_q^n2.

The hull of FqnF_q^n3 is then

FqnF_q^n4

where FqnF_q^n5 denotes the corresponding dual. The hull-dimension is FqnF_q^n6.

  • FqnF_q^n7: FqnF_q^n8 is an LCD (linear complementary dual) code.
  • FqnF_q^n9: [n,k]q[n,k]_q0 is self-orthogonal.
  • If [n,k]q[n,k]_q1 and [n,k]q[n,k]_q2 is self-orthogonal, then [n,k]q[n,k]_q3 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]q[n,k]_q4 [n,k]q[n,k]_q5-subspace of [n,k]q[n,k]_q6, 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 [n,k]q[n,k]_q7 (resp. [n,k]q[n,k]_q8) be a generator (resp. parity-check) matrix of [n,k]q[n,k]_q9. Then

CFqnC\subseteq F_q^n0

CFqnC\subseteq F_q^n1 is LCD if and only if CFqnC\subseteq F_q^n2 is nonsingular (Youcef, 2023).

  • CFqnC\subseteq F_q^n3-Galois (or Hermitian) case: The relevant Gram matrix is CFqnC\subseteq F_q^n4, with CFqnC\subseteq F_q^n5, CFqnC\subseteq F_q^n6 denoting CFqnC\subseteq F_q^n7-th power Frobenius (Liu et al., 2018).
  • Symmetry property: For CFqnC\subseteq F_q^n8, the CFqnC\subseteq F_q^n9-Galois and kk0-Galois hulls have equal dimension: kk1 (Li et al., 2022).
  • Weight enumerators and matroids: Over kk2 or kk3, the hull-dimension is determined by the extended weight enumerator or Tutte polynomial, and is invariant under monomial equivalence; for kk4, this fails in general (Pellikaan, 2017).

3. Enumeration, Distribution, and Asymptotics

The number of kk5 codes with hull-dimension kk6 is

kk7

where kk8 counts self-orthogonal kk9 codes. The FqF_q0-binomial coefficient FqF_q1 counts FqF_q2-dimensional subspaces of FqF_q3.

  • Monotonicity: For FqF_q4, the numbers FqF_q5, 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 FqF_q6,

FqF_q7

so almost all codes are LCD for large FqF_q8.

Numerical counts, e.g., for binary FqF_q9 codes: 497,119 inequivalent LCD codes, only 58 self-orthogonal; for (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i0, 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 (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i1, any (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i2 code with hull (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i3 is monomially equivalent to (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i4 codes with hull-dimension (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i5, for all (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i6 (Youcef, 2023). For (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i7, any (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i8 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 (x,y)=i=1nxiyi(x,y)=\sum_{i=1}^n x_i y_i9 (Bhowmick et al., 24 Nov 2025, Youcef, 2023). Over finite extensions of binary fields qq0, any LCD code of qq1 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 qq2 (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 qq3 (with residue field qq4), 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 qq5-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 qq6 code of hull-dimension qq7 yields an qq8 EAQECC, and codes with hull-dimension qq9 or (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}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 (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}1 or specific code families; the combinatorial formula for (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}2 provides a tool for further analysis (Bouyuklieva et al., 2024).
  • Direct-sum decomposition: Every code with hull-dimension (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}3 decomposes as (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}4 where (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}5 is (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}6-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 (x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}7, 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)

(x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}8 Name Structural Property
(x,y)H=i=1nxiyiq(x,y)_H=\sum_{i=1}^n x_i y_i^{\sqrt{q}}9 LCD (linear complementary dual) ss0
ss1 Self-orthogonal ss2
ss3 and ss4 Self-dual ss5
ss6 One-dimensional hull ss7

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.