Sum-Rank Metric Codes: Theory & Applications
- Sum-Rank Metric Codes are block-structured codes where the distance is the sum of the ranks of differences, interpolating neatly between the rank and Hamming metrics.
- They employ algebraic and combinatorial constructions to achieve MSRD bounds, optimize decoding, and enable effective support theory and invariant classification.
- Applications include multishot network coding, distributed storage, and secure communication, while theoretical developments address asymptotic bounds, list decoding, and covering theory.
Sum-rank metric codes are codes on block-structured ambient spaces in which the distance between two codewords is the sum of the ranks of the blockwise differences. In matrix form, this places codewords in products of matrix spaces; in vector form, it places them in block decompositions of . The resulting metric interpolates exactly between the rank metric and the Hamming metric, and it is used in settings such as multishot network coding, distributed storage, and space-time coding. Recent work has developed a substantial theory around these codes, including support and anticode formalisms, MSRD extremality, asymptotic bounds, generic and list decoding, explicit algebraic and combinatorial constructions, and equivalence invariants (Martínez-Peñas, 2018, Abiad et al., 2023, Puchinger et al., 2020, Liu et al., 13 Mar 2025, Santonastaso et al., 5 Jul 2025).
1. Formal models and basic metric structure
A standard matrix model fixes blocks and works in
The sum-rank weight is
and the induced distance is
Under the common assumption , the total code length is , the maximum weight is , and the metric is translation-invariant and invariant under multiplication by nonzero field scalars. In this setting, a general sum-rank code is any nonempty subset , while an -linear sum-rank code is a subspace 0 (Liu et al., 13 Mar 2025).
A complementary vector model writes 1 in 2 blocks of length 3,
4
and expands each block over 5. The block rank weight is the 6-rank of the expansion matrix, and the sum-rank weight is the sum of those block ranks. In this notation, the weight decomposition 7 records the rank of each block, with 8. This model is especially convenient for decoding and asymptotic analysis over extension fields (Puchinger et al., 2020, Ott et al., 2021).
The metric contains the two classical extremes exactly. If 9, there is a single block and the sum-rank metric is the ordinary rank metric. If every block is 0, or equivalently every vector block has length 1, then each nonzero block contributes rank 2, and the sum-rank metric becomes the Hamming metric. More general formulations also allow unequal block sizes
3
with
4
which makes the hybrid Hamming/rank nature explicit at the level of the ambient geometry (Abiad et al., 2023).
2. Supports, anticodes, generalized weights, and MSRD structure
A foundational development is the support theory of sum-rank codes. For a codeword 5, the sum-rank support is the tuple of row spaces of the block expansion matrices over the corresponding base fields. These supports form a lattice
6
with componentwise sum, intersection, and orthogonal complement. The associated support spaces
7
are in lattice isomorphism with supports, satisfy
8
and provide the natural framework for restriction, shortening, duality, and effective length. In particular, the generalized sum-rank weights 9 admit Wei-type duality, and degeneracy is characterized by 0 (Martínez-Peñas, 2018).
A second structural axis is the anticode viewpoint. For a linear code 1, the sum-rank Anticode Bound states
2
Codes attaining equality are optimal anticodes. These are classified: an optimal sum-rank anticode is precisely a product of optimal rank-metric anticodes on the blocks with 3, together with an optimal Hamming-metric anticode on the 4-row part. This classification is then used to define generalized sum-rank weights through intersections with optimal anticodes, extending both generalized Hamming weights and generalized rank weights (Moreno et al., 2021).
The same anticode framework clarifies MSRD codes. In the equal-row case, the Singleton-type bound becomes the usual
5
in the vector model, while in the general matrix/block model it is expressed through the decomposition of 6 across block lengths. Codes meeting the corresponding bound are MSRD. Their generalized weights are parameter-determined, in direct analogy with MDS and MRD codes. The appendix of the anticode paper also shows that the support-space version of generalized weights measures information leakage in multishot network coding, linking the structural theory to secure communication (Moreno et al., 2021).
3. Upper bounds, asymptotics, and covering theory
The counting theory of sum-rank spheres and balls is central to asymptotic bounds. In the equal-block vector model, the number of words of weight 7 is a sum over bounded ordered partitions 8, and the dominant exponent of a sphere of total weight 9 is
0
This leads to simplified sphere-packing and Gilbert–Varshamov bounds for linear sum-rank codes, together with asymptotic tradeoffs in both the classical regime of fixed block size and growing number of blocks, and the newer regime in which block size itself grows with code length. In that latter regime, with 1, the asymptotic GV-like rate behaves as
2
and random linear sum-rank codes are shown to attain near-GV behavior with high probability; for sufficiently large extension fields, random linear codes are also MSRD with high probability (Ott et al., 2021).
For finite-parameter upper bounds, graph methods have become important. The sum-rank-metric graph has vertex set 3, adjacency given by sum-rank distance 4, and decomposes as a Cartesian product of bilinear forms graphs. This graph is vertex-transitive and walk-regular, but it is distance-regular only in the Hamming-like case where all blocks are 5 of the same width. Ratio-type spectral bounds applied to this graph yield new explicit upper bounds for minimum distances 6, improve earlier bounds in many parameter sets, and produce new non-existence results for possibly nonlinear MSRD codes (Abiad et al., 2023).
A complementary development is a genuine Delsarte-style linear programming bound. Although the natural sum-rank distance relations do not generally form an association scheme directly, the Cartesian product decomposition embeds the problem into a direct product of bilinear forms schemes. The resulting LP imposes zero inner-distribution entries on all relation classes whose blockwise rank distances sum to less than the target minimum distance, and computational experiments show that the bound outperforms all previously known bounds on a range of relatively small instances (Abiad et al., 2024).
Covering theory adds a different extremal perspective. For prescribed sum-rank covering radius 7, the minimum cardinality of a covering code is denoted 8. The basic sphere-covering bound is
9
and a nontrivial MSRD-based upper bound is
0
The same paper adapts elementary linear subspaces to the sum-rank setting and identifies ball-intersection formulas as the main missing ingredient for sharper recursive lower bounds (Ott et al., 2022). A later covering-code transfer from Hamming metric to sum-rank metric yields stronger Singleton-like bounds when block lengths are large, and also leads to explicit quasi-perfect and distance-optimal families, especially for minimum sum-rank distance 1 (Liu et al., 9 Jan 2026).
4. Decoding, hardness, and list decoding
Generic decoding in the sum-rank metric was developed through support guessing. For an 2-linear code with parity-check matrix 3, the error model combines a blockwise weight decomposition with row and column support notions: each block error 4 admits a factorization 5, which yields a row support as the product of the row spaces of the 6, and a column support as the product of the column spaces of the expansions of the 7. Knowing a row super-support or column super-support reduces decoding to a linear system. The paper gives erasure-decoding complexities 8 and 9 operations over 0, respectively, and then builds a Las Vegas generic decoder that repeatedly samples random supports. Its expected work factor is controlled by a quantity 1, and a simple upper bound has exponential term
2
The same work also proves a probabilistic hardness reduction from decisional Hamming syndrome decoding to decisional sum-rank syndrome decoding; under the stated extension-degree condition, 3-SRSD in 4 would imply 5 (Puchinger et al., 2020).
For highly structured small-block codes, faster decoding is possible. Binary linear 6 sum-rank-metric codes built from quaternary BCH, Goppa, and additive quaternary codes admit a reduction from sum-rank decoding to Hamming decoding over 7. In the main decoding theorem, one decodes once in one constituent code and three times in twists of the other constituent, and this yields quadratic-time decoders with cost 8 operations in 9. The paper also constructs asymptotically good sequences of quadratically encodable and decodable binary 0 sum-rank codes satisfying
1
from Goppa codes (Chen et al., 2023).
List decoding has recently reached a capacity theorem for the sum-rank metric. In the matrix model 2, with 3, the asymptotic log-volume exponent of a radius-4 ball is
5
so the capacity expression is
6
Random general sum-rank codes of rate 7 are 8-list-decodable with high probability, and the same optimal 9 list size is proved for random 0-linear sum-rank codes after establishing a limited correlation property between sum-rank balls and 1-subspaces. A notable nuance is that the specialization 2 yields 3, which does not recover the classical Hamming list-decoding capacity 4 (Liu et al., 13 Mar 2025).
5. Explicit constructions and geometric families
A geometric construction of sum-rank codes is given by linearized Algebraic Geometry codes. Starting from a cyclic Galois cover of curves 5, the construction uses Ore polynomial quotients
6
noncommutative Riemann–Roch spaces 7, and evaluations into products of endomorphism algebras
8
The resulting codes satisfy a Goppa-like distance bound
9
together with a lower bound on the dimension derived from the noncommutative Riemann–Roch theorem. In genus 0, the construction recovers linearized Reed–Solomon codes exactly, while over asymptotically optimal towers of curves it yields families asymptotically better than the sum-rank Gilbert–Varshamov bound (Berardini et al., 2023).
A more explicit 1 algebraic-geometric route uses quadratic Kummer extensions. Two constructions, one built from a totally ramified place and one from a completely split place, produce 2 sum-rank codes with parameters
3
Their determinant analysis relies on local integral bases and valuation control, and the paper emphasizes that these constructions can have superior code lengths compared with linearized Reed–Solomon codes under equivalent parameter constraints. An elliptic-function-field example gives concrete codes of parameters 4 (Yunlong et al., 23 Jun 2025).
Several combinatorial constructions target small fields and special weights. Binary 5 codes obtained from BCH, Goppa, and additive quaternary codes can exceed the dimensions of sum-rank BCH codes with the same guaranteed minimum distance, and the exact weight formula
6
explains the refinement over earlier lower bounds (Chen et al., 2023). A geometric study of one-weight codes identifies 7-dimensional 8-linear sum-rank codes with tuples of 9-subspaces of 00, proves that doubly-extended linearized Reed–Solomon codes remain MSRD, and shows that when 01 they are one-weight. The same work introduces 02-simplex codes in the sum-rank metric via Singer subgroup orbits and constructs a new family of one-weight MSRD codes for 03, called 04-fold linearized Reed–Solomon codes (Neri et al., 2021).
Distance-optimal and quasi-perfect families have also been constructed from covering-code ideas. The covering lift from Hamming metric produces infinite families of quasi-perfect 05-ary sum-rank codes with matrix sizes 06, explicit binary quasi-perfect codes of matrix size 07, distance-optimal sum-rank codes of matrix sizes 08 and 09 with minimum distance 10, and almost-MSRD 11 codes of block length up to 12 and Singleton defect 13 (Liu et al., 9 Jan 2026).
6. Geometry of equivalence, invariants, and current directions
The code equivalence problem in the sum-rank metric has motivated a new invariant theory. In the matrix model 14, additive isometries are classified as block permutations followed by blockwise rank-metric isometries. Building on this, the invariant paper introduces 15 generalized idealisers
16
the centraliser 17, the center 18, and a refined notion of 19-linearity defined via the left idealiser rather than the ambient coordinate model. The associated nuclear parameters
20
are equivalence invariants. A skew-polynomial realization 21 makes these quantities explicitly computable, and the paper uses them to separate the major known MSRD families, including linearized Reed–Solomon, additive twisted linearized Reed–Solomon, and TZ-type twisted linearized Reed–Solomon codes (Santonastaso et al., 5 Jul 2025).
Several open directions are stated explicitly across the literature. The list-decoding capacity work is existential and does not provide explicit constructions or efficient list-decoding algorithms at the capacity radius; it also identifies random 22-linear vector sum-rank codes as an unresolved case (Liu et al., 13 Mar 2025). The covering paper identifies explicit formulas for ball intersections 23 as the main missing piece for stronger lower bounds (Ott et al., 2022). The algebraic-geometric papers point to the construction of MSRD algebraic-geometric sum-rank codes as a natural next step (Berardini et al., 2023, Yunlong et al., 23 Jun 2025). The covering-code approach to strong Singleton-like bounds leaves open the construction of almost-MSRD families with longer block lengths and larger minimum distance (Liu et al., 9 Jan 2026). Taken together, these directions show that the field has moved beyond the initial definition of the metric toward a mature research program in asymptotic theory, extremal combinatorics, algorithmics, and equivalence classification.