arXiv:2610.34730cs.ITOct 2026

Manuscript Offprint

arXiv:2610.34730

The rank of Z2s\mathbb{Z}_{2^s}-linear Hadamard codes

Xuan Wang, Minjia Shi

The rank of Z2sZ_{2s}-linear Hadamard codes ∗^{*}

Xuan Wang †, Minjia Shi ‡

October 27, 2026

Abstract

The canonical Z2sZ_{2s}-linear Hadamard codes are the Gray images of the Z2sZ_{2s}-additive codes. Their rank, the dimension of the binary linear span, was known in closed form only for s≤3s \leq 3, and for s≥4s \geq 4 only through computer computations for small lengths. We give a method that computes the rank for every ss. We show that the rank is a binomial polynomial in the type parameters, with coefficients ρs(k)\rho_s(\boldsymbol{k}) independent of the length. We compute all the coefficients for s≤5s \leq 5, which yields explicit rank formulas over Z4Z_4 and Z8Z_8 (recovering the known ones), and over Z16Z_{16} and Z32Z_{32}.

Index Terms— Z2sZ_{2s}-Hadamard codes, Gray map, rank

AMS classification—94B05, 94B60, 11T71.