Papers
Topics
Authors
Recent
Search
2000 character limit reached

Rank-Metric (n,k)-MRD Codes: Theory & Constructions

Updated 14 July 2026
  • (n,k)-MRD codes are maximum rank-distance codes that achieve the Singleton-like bound in rank-metric spaces, offering optimality analogous to MDS codes in the Hamming metric.
  • They are constructed using linearized polynomials, Moore matrices, and scattered subspace techniques, as exemplified by Gabidulin and generalized twisted Gabidulin families.
  • Recent advances include nonlinear, switching, lifted, and circular-shift constructions, which extend applications to subspace coding and address open questions in code classification.

(n,k)(n,k)-MRD codes are maximum rank-distance codes, the rank-metric analogue of MDS codes. In the matrix model, they are subsets of Mm×n(Fq)M_{m\times n}(\mathbb{F}_q) equipped with the rank distance d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B), and they attain Delsarte’s Singleton-like bound

Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.

In the extension-field model, one studies [n,k,d]qm/q[n,k,d]_{q^m/q} codes in Fqmn\mathbb{F}_{q^m}^n; when nmn\le m, the MRD condition is d=nk+1d=n-k+1. The subject combines linearized polynomials, finite geometry, Moore-type matrices, idealizers, scattered subspaces, and lifted constructions for subspace coding, and the literature surveyed here shows both broad existence results and a rapidly expanding collection of inequivalent families (Sheekey, 2019, Bartoli et al., 29 Mar 2026).

1. Formal framework and parameterizations

The basic ambient space for rank-metric coding is Mm×n(Fq)M_{m\times n}(\mathbb{F}_q), with distance measured by the rank of differences. An MRD code is a rank-metric code meeting the Singleton-like upper bound with equality. The classical existence theory is unusually strong: the survey literature states that MRD codes exist for all parameters, in contrast with MDS codes in the Hamming metric, which have parameter restrictions (Sheekey, 2019).

A second standard formalism uses Fqn\mathbb{F}_{q^n}-linearized polynomials. Over Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)0, these are polynomials of the form

Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)1

and they form a ring under composition. In this language, many linear MRD codes are modeled as spaces of Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)2-polynomials, and rank is interpreted as the Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)3-dimension of the image of the associated Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)4-linear transformation. This representation underlies the constructions of Gabidulin, generalized twisted Gabidulin, and related families (Oliveira, 2020).

The literature also uses several parameter notations simultaneously. Matrix-space descriptions emphasize dimensions Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)5, code size, and minimum rank distance; extension-field descriptions emphasize Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)6; and some papers speak of Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)7-MRD codes for nonlinear families. This coexistence of notation reflects different but compatible realizations of the same optimality phenomenon (Durante et al., 2023).

2. Classical families and the expansion beyond Gabidulin codes

The foundational explicit family is the generalized Gabidulin code

Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)8

These are MRD codes for all valid parameters and remain the prototype against which many later constructions are compared (Csajbók et al., 2018).

A broad generalization is the family

Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)9

If

d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)0

then d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)1 is an MRD code. This framework contains Gabidulin codes as the special case d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)2, d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)3, d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)4, and generalized twisted Gabidulin codes as d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)5, d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)6. The same framework also accommodates additive generalized and Trombetti-Zhou codes (Oliveira, 2020).

The view that Gabidulin codes exhaust the linear theory is false even in square spaces. The classification of MRD codes in d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)7 with maximum left and right idealizers shows that for d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)8 and d(A,B)=rank(AB)d(A,B)=\operatorname{rank}(A-B)9, such codes are equivalent to generalized Gabidulin codes, but there are additional families for Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.0 with Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.1 odd and for Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.2 with Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.3. In particular, the paper exhibits

Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.4

and

Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.5

together with their adjoints, as MRD codes not equivalent to Gabidulin codes (Csajbók et al., 2018).

3. Equivalence, duality, nuclei, and code identifiers

Equivalence is central because many apparently different polynomial descriptions represent the same rank-metric code. For linearized-polynomial models, two codes Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.6 are equivalent if there exist bijective Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.7-polynomials Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.8 and Cqmax{m,n}(min{m,n}d+1).|\mathcal{C}| \leq q^{\max\{m,n\}(\min\{m,n\}-d+1)}.9 such that

[n,k,d]qm/q[n,k,d]_{q^m/q}0

For the families [n,k,d]qm/q[n,k,d]_{q^m/q}1, the equivalence problem is characterized explicitly in terms of field automorphisms, shifts, and a bijective [n,k,d]qm/q[n,k,d]_{q^m/q}2-polynomial [n,k,d]qm/q[n,k,d]_{q^m/q}3, thereby extending earlier results on twisted Gabidulin and Trombetti-Zhou codes (Oliveira, 2020).

Structural invariants play a major role in distinguishing inequivalent MRD codes. For a code [n,k,d]qm/q[n,k,d]_{q^m/q}4, the right and middle nuclei are

[n,k,d]qm/q[n,k,d]_{q^m/q}5

[n,k,d]qm/q[n,k,d]_{q^m/q}6

For [n,k,d]qm/q[n,k,d]_{q^m/q}7, if [n,k,d]qm/q[n,k,d]_{q^m/q}8 and [n,k,d]qm/q[n,k,d]_{q^m/q}9, then

Fqmn\mathbb{F}_{q^m}^n0

The same paper also computes Delsarte duals, adjoints, and automorphism groups; in particular, if Fqmn\mathbb{F}_{q^m}^n1 is MRD, then its Delsarte dual Fqmn\mathbb{F}_{q^m}^n2 is MRD (Oliveira, 2020).

A complementary invariant-based approach uses conjugates of the code under Frobenius. The height

Fqmn\mathbb{F}_{q^m}^n3

and the Gabidulin index

Fqmn\mathbb{F}_{q^m}^n4

are invariants under equivalence. For generalized Gabidulin codes, Fqmn\mathbb{F}_{q^m}^n5 and Fqmn\mathbb{F}_{q^m}^n6; for generalized twisted Gabidulin codes, the characteristic values are Fqmn\mathbb{F}_{q^m}^n7 and Fqmn\mathbb{F}_{q^m}^n8. The paper also gives a characterization of generalized twisted Gabidulin codes through the dimensions of Fqmn\mathbb{F}_{q^m}^n9, nmn\le m0, and the existence of a suitable invertible polynomial nmn\le m1 (Giuzzi et al., 2018).

4. Geometric and algebraic interpretations

One of the deepest structural correspondences links MRD codes to scattered subspaces. For nondegenerate nmn\le m2 codes, the cited 2026 work states that nmn\le m3 is MRD with nmn\le m4 if and only if nmn\le m5 and the associated nmn\le m6-system nmn\le m7 is nmn\le m8-scattered. The same source identifies puncturing with inclusion of associated subspaces and concludes that non-extendable MRD codes correspond exactly to maximally nmn\le m9-scattered subspaces (Bartoli et al., 29 Mar 2026).

This geometric perspective produced new explicit families. A 2017 construction starts from maximum scattered linear sets of pseudoregulus type in d=nk+1d=n-k+10, projects them to d=nk+1d=n-k+11, and obtains new MRD codes from the scattered subspaces

d=nk+1d=n-k+12

with d=nk+1d=n-k+13, d=nk+1d=n-k+14, and d=nk+1d=n-k+15. For d=nk+1d=n-k+16, this yields MRD codes with parameters d=nk+1d=n-k+17 for d=nk+1d=n-k+18; for d=nk+1d=n-k+19, it yields MRD codes with parameters Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)0 for Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)1 odd. These codes are proved not to be equivalent to generalized Gabidulin or Sheekey’s twisted Gabidulin codes when Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)2 (Csajbók et al., 2017).

The algebraic geometry of minimum-rank codewords can also be made explicit. A 2021 note describes the elements of minimum rank in generalized Gabidulin codes via Grassmann coordinates, characterizes linearized polynomials of rank at most Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)3, and gives parametric equations for MRD codes of distance Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)4. In particular, if Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)5 is a linearized polynomial, then Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)6 has rank at most Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)7 if and only if the appropriate minors of its Dickson matrix vanish. This supplies an intrinsic criterion for rank defect and places MRD code classification in a Grassmannian framework (Giuzzi et al., 2021).

5. Nonlinear, switched, and base-field constructions

Although much of the classical theory is additive or Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)8-linear, the current landscape includes substantial nonlinear theory. A 2023 construction uses cones over maximum exterior sets with respect to secant varieties in Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)9 to build nonlinear Fqn\mathbb{F}_{q^n}0-MRD codes Fqn\mathbb{F}_{q^n}1 for every Fqn\mathbb{F}_{q^n}2. The construction is geometric: points of a cone Fqn\mathbb{F}_{q^n}3 correspond to Fqn\mathbb{F}_{q^n}4-linearized polynomials or, equivalently, rank-Fqn\mathbb{F}_{q^n}5 matrices over Fqn\mathbb{F}_{q^n}6. The resulting codes are closed under scalar multiplication, are generally non-additive, and are shown to be neither equivalent nor adjointly equivalent to the non-linear Otal–Özbudak codes Fqn\mathbb{F}_{q^n}7, except in the cases Fqn\mathbb{F}_{q^n}8 or Fqn\mathbb{F}_{q^n}9, where they coalesce to standard Gabidulin codes (Durante et al., 2023).

Switching gives a very different source of abundance. In this method, one replaces special MRD subcodes by other subcodes with the same parameters while preserving the global MRD property. The construction applies to punctured twisted Gabidulin codes and direct-product codes, and it yields a huge class of MRD codes whose cardinality grows doubly exponentially in Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)00 when Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)01, Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)02, and the code distance are fixed. The same work constructs MRD codes with different affine ranks and aperiodic MRD codes, showing that the combinatorial diversity of MRD codes is far greater than a family-by-family list would suggest (Shi et al., 2022).

A further departure from the classical extension-field paradigm is the 2026 circular-shift construction. It produces Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)03 MRD codes entirely over Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)04, with Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)05 and Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)06, and avoids arithmetic over Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)07. The paper proves that when Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)08, with Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)09 the multiplicative order of Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)10 modulo Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)11, the constructed codes coincide with Gabidulin codes; when Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)12, a family of parameter settings yields codes different from any Gabidulin code and any twisted Gabidulin code. For Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)13, Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)14 prime, and Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)15, encoding a codeword requires Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)16 XOR operations for the proposed circular-shift codes, compared with Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)17 XOR operations for customary Gabidulin encoding (Zhai et al., 13 Feb 2026).

6. Liftings, subspace codes, and current structural directions

MRD codes are a principal engine for constructing constant-dimension subspace codes. If Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)18 is an MRD code of Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)19 matrices, the lifted construction

Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)20

produces Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)21-dimensional subspaces of Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)22, and the minimum subspace distance becomes Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)23. This construction is a standard bridge from rank-metric coding to random network coding (He et al., 2019).

Recent work has pushed this bridge well beyond single-block lifting. One 2019 paper generalizes from two parallel lifted MRD codes to Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)24 parallel blocks in ambient dimension Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)25. The new bounds for Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)26 and Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)27 depend on Delsarte’s theorem for the rank distribution of MRD codes and on subsets of MRD codes with bounded rank. The counting argument uses codewords of restricted rank to preserve minimum subspace distance across different block positions (He et al., 2019).

A closely related construction, also from 2019, develops two several-block methods: a refined linkage construction and a multi-block lifting construction. In both, subsets of MRD codes with bounded ranks are essential, Delsarte’s theorem is used to count admissible matrices, and the resulting codes improve more than 110 previously best known lower bounds for constant-dimension subspace codes (Chen et al., 2019).

A major current structural direction concerns extendability. The 2026 paper on non-extendable MRD codes introduces the first infinite family of non-extendable Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)28 MRD codes, for Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)29, built from the subspaces

Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)30

with Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)31. These codes are self-dual up to equivalence and are not obtainable by puncturing longer MRD codes (Bartoli et al., 29 Mar 2026).

The survey literature leaves several questions open: full classification up to equivalence, the construction of non-Gabidulin MRD codes with efficient decoding algorithms, asymptotic enumeration, and the classification of symmetric and alternating MRD codes. Taken together with the newer work on switching, nonlinear geometric constructions, and non-extendability, these open problems indicate that Mm×n(Fq)M_{m\times n}(\mathbb{F}_q)32-MRD codes are no longer a theory dominated by a single paradigm, but a large and structurally varied class of optimal objects in rank-metric geometry (Sheekey, 2019).

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 (n, k)-MRD Codes.