Papers
Topics
Authors
Recent
Search
2000 character limit reached

Linear Code Equivalence Problem

Updated 17 November 2025
  • Linear Code Equivalence is the problem of determining if two k-dimensional codes over finite fields are equivalent under coordinate permutations, nonzero scalar multiplications, and field automorphisms.
  • The topic employs algebraic, geometric, and combinatorial reductions, including transformations to Graph Isomorphism and polynomial isomorphism problems, to reveal its computational complexity.
  • Its applications in code classification and cryptanalysis highlight critical impacts on cryptographic security and the theoretical limits of algorithmic efficiency.

Linear Code Equivalence (LCE) is the problem of deciding whether two linear codes, typically represented as kk-dimensional subspaces of FnF^n over a finite field FF, are equivalent under a well-characterized transformation group. This transformation usually includes coordinate permutations, multiplications by nonzero scalars (monomial transformations), and potentially field automorphisms. LCE sits at the intersection of algebraic coding theory, combinatorics, group theory, and computational complexity, underlying key problems in code classification, cryptographic security, and algorithmic isomorphism theory.

1. Definitions and Variants

Let FF be a finite field of order qq, and let A,B⊆FnA, B \subseteq F^n be kk-dimensional linear codes. The most commonly studied forms of code equivalence are:

  1. Permutation Code Equivalence (PCE): AA and BB are permutation equivalent if there exists π∈Sn\pi \in S_n such that FnF^n0. Matrix form: if FnF^n1 and FnF^n2 are generator matrices, then FnF^n3 for some FnF^n4 and permutation matrix FnF^n5.
  2. Linear Code Equivalence (LCE): Allows permutations, multiplications by nonzero scalars in each coordinate (monomial transformations), and in some formulations field automorphisms. Two codes FnF^n6 are LCE-equivalent if there exists a monomial matrix FnF^n7 and FnF^n8 such that FnF^n9.
  3. Semi-linear equivalence: Involves a global field automorphism FF0 in addition to monomial actions. FF1 and FF2 are semi-linearly equivalent if FF3 for some FF4, FF5.

These forms coincide with the isometry (Hamming-distance-preserving) group for linear codes over finite fields.

2. Algebraic, Geometric, and Group-Theoretic Reductions

Algebraic Structure and Equivalence Group

The LCE group over FF6 is the semi-direct product FF7, where FF8 is the monomial matrices (coordinate permutations and coordinate-wise scaling). For codes over rings, every linear isometry extends to a monomial transformation provided the weight function satisfies the Extension Theorem (Greferath et al., 2011). The group-theoretic structure clarifies that the complexity of LCE is bounded above by the combinatorics of these transformations, rather than exponential in FF9.

Connections to Graph Isomorphism

For codes with trivial hulls (i.e., FF0), deciding permutation equivalence is deterministically polynomial-time reducible to Graph Isomorphism (GI) (Bardet et al., 2019). Given generator matrix FF1, compute the projection matrix FF2; associate to FF3 a weighted graph with adjacency matrix FF4. Then FF5 and FF6 are permutation equivalent iff their graphs are isomorphic. This reduction runs in FF7 time (where FF8 is the matrix multiplication exponent). Experimental results show codes of length FF9 can be handled in minutes with state-of-the-art GI solvers.

Projective, Geometric, and Polynomial Reductions

The LCE problem can be reformulated as the Point Set Equivalence (PSE) problem in projective space (Kreuzer, 10 Nov 2025). A generator matrix with nonzero, non-repeated columns up to scale gives rise to a point set qq0 in projective space qq1. LCE then becomes PSE: are qq2 and qq3 equivalent under qq4? This is further reduced: the coordinate ring qq5 of qq6 leads to Artinian Gorenstein algebra qq7 (with qq8 the canonical ideal) whose Macaulay inverse system directly encodes the equivalence. Finally, LCE is polynomial-time reducible to a polynomial isomorphism (PI) problem: decide if there is qq9 with A,B⊆FnA, B \subseteq F^n0 for the associated polynomials A,B⊆FnA, B \subseteq F^n1.

Reductions among Equivalence Problems

There exists a polynomial-time Karp reduction from PCE to LCE (Cheraghchi et al., 11 Feb 2025). Enlarging the dimension by one and concatenating generator matrices (and corresponding block structures), one can embed any instance of PCE (permutation only) in LCE (monomial). The hardness equivalence among PCE, LCE, Graph Isomorphism (GI), and Lattice Isomorphism (LIP) places these in the "intermediate" complexity tier.

3. Complexity and Algorithmic Frameworks

Quasipolynomial & Polynomial Reductions

Babai's quasipolynomial GI algorithm provides the best-known upper bound for trivial-hull (GI-reducible) instances. For general LCE, especially over fields with nontrivial hull, code shortening or change of inner product (Hermitian over A,B⊆FnA, B \subseteq F^n2) is required; complexity may rise to A,B⊆FnA, B \subseteq F^n3 when the hull dimension is A,B⊆FnA, B \subseteq F^n4 (Bardet et al., 2019). For "good" codes (high rate, sufficient minimum distance), reductions via Macaulay inverse systems are polynomial time in A,B⊆FnA, B \subseteq F^n5 (Kreuzer, 10 Nov 2025).

Geometric and Combinatorial Algorithms

LCE is also naturally reduced to binary matrix isomorphism using geometric incidence (Bouyukliev et al., 2022). The CEIMPG algorithm constructs the full incidence matrix of hyperplane-point relations in projective space and appends the code's characteristic vector. CESIMPG, optimized for prime fields, shortens this to a much smaller matrix associated only to those points present in the code. Both methods reduce LCE to colored matrix isomorphism and solving small linear systems for the required scaling and automorphism. Prior to these, Leon's algorithm operates on weight enumerators of codeword orbits.

Graph-Theoretic Algorithms (Binary Codes)

For binary codes, a strong combinatorial approach uses edge local complementation (ELC) on bipartite graphs corresponding to standard-form generator matrices (0710.2243). The ELC orbit of a bipartite graph parametrizes the equivalence class of codes. Information sets and minimum distance correspond to structural features of the orbit. The algorithm is competitive up to length A,B⊆FnA, B \subseteq F^n6 (days on a small cluster), and ELC orbits provide canonical representatives.

4. Structural Results and Theorems

MacWilliams Extension Theorem and Semi-Linear Equivalence

Every isometry between linear codes over finite fields is induced by a monomial transformation and, if the field has automorphisms, a global field automorphism (Ball et al., 2021). Thus, LCE reduces the search space dramatically from A,B⊆FnA, B \subseteq F^n7 for arbitrary permutations to A,B⊆FnA, B \subseteq F^n8 for monomial A,B⊆FnA, B \subseteq F^n9 automorphism actions, where kk0. For additive MDS codes, additive equivalence arises analogously.

Equivalence Criteria for Specific Code Families

For cyclic and constacyclic codes, necessary and sufficient conditions for monomial equivalence are given by shift maps and affine actions on the defining set (Dastbasteh et al., 2022). For constacyclic codes over kk1 with kk2, all permutation equivalence arises from the action of multipliers, yielding a complete characterization and facilitating search pruning.

Algebraic Conditions over Rings

The Extension Theorem holds for LCE over finite rings kk3 if the weight kk4 satisfies a non-vanishing criterion involving Möbius inversion and principal ideal lattices (Greferath et al., 2011). For each kk5 in the index set, the diagonal sum kk6 ensures every isometry between kk7-linear codes extends to a monomial transformation.

5. Applications, Cryptography, and Limitations

Cryptanalysis and Hidden Subgroup Problem

LCE and PCE are central to the security of code-based cryptosystems (e.g., McEliece, Sidelnikov). The LCE problem reduces to a nonabelian hidden subgroup problem (HSP), suggesting potential quantum algorithms. However, for widely-used codes (Goppa, Reed-Muller), quantum Fourier sampling is ineffective unless highly entangled measurements are available (Dinh et al., 2011). Classical attacks like Sendrier’s Support Splitting Algorithm (SSA) break McEliece for Goppa codes in polynomial time if the code is known. Sidelnikov’s system based on RM codes is quantum-resistant by HSP-hardness, but low-rate cases are vulnerable to quasipolynomial classical attacks.

Limitations and Open Problems

For codes with nontrivial hull, GI equivalence fails, necessitating code shortening or different inner products. Extending reductions to ring codes or lattices over arbitrary fields and composite rings remains open. There is also an unresolved gap between quasipolynomial and polynomial time for general LCE. Improved reductions, search-to-decision equivalence, and better algorithms for large parameters are active research directions.

6. Classification and Representative Examples

Recent work provides explicit classification results and enumeration formulas for equivalence classes in specialized code families—e.g., the family of kk8-dimensional MRD codes over kk9 (Gupta et al., 2022). Four congruence conditions on the shift and scalar parameters, incorporating Galois automorphism actions, fully determine equivalence; the enumeration is exact for AA0 and carries over to AA1 by refined arguments.

7. Summary Table: Algebraic Reduction Complexity

Reduction Type General Instance Trivial-Hull Instance Binary Case (ELC Orbit)
Algebraic (GI) AA2 AA3 AA4
Polynomial Isomorphism (PI) AA5 -- --
Matrix Isomorphism (incidence/CESIMPG) AA6 -- --

The table summarizes principal reduction complexities for deciding LCE across principal structural cases as established in (Bardet et al., 2019, Kreuzer, 10 Nov 2025, Bouyukliev et al., 2022), and (0710.2243).


The study of Linear Code Equivalence encompasses deep results in algebraic, geometric, combinatorial, and complexity-theoretic domains. The tight computational and structural relationship to Graph Isomorphism, polynomial isomorphism, and group action counts underpins both effective algorithms for code classification and foundational hardness in code-based cryptography. The field continues to address open problems in efficiency, broader algebraic structures, and the quantum attack surface.

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 Linear Code Equivalence (LCE) Problem.