Butson Hadamard Codes
- Butson Hadamard Codes are families derived from complex Hadamard matrices that convert phase space orthogonality into strong metric regularity over Z_q.
- They employ logarithmic representations to map roots of unity to residue classes, enabling analysis via covering radius, bentness, and Gray maps.
- Their construction bridges classical coding theory and quantum stabilizer codes, highlighting applications in matrix theory, combinatorics, and cryptography.
Butson Hadamard codes are code families derived from Butson Hadamard matrices, that is, matrices whose entries are -th roots of unity and satisfy . In the current literature, the term usually refers to a code obtained from the logarithmic form by adjoining all constant shifts of the row set, although closely related conventions replace the row set by the -module generated by the rows. Across these variants, the central principle is the same: complex orthogonality in phase space is converted into strong metric regularity for codes over , with covering-radius, bentness, Gray-map, propelinear, and morphism phenomena all tied to the underlying matrix structure (Armario et al., 2024, Shi et al., 2023, Armario et al., 2020).
1. Matrix-theoretic basis and logarithmic representation
A Butson Hadamard matrix of order and phase is an complex matrix whose entries are 0-th roots of unity and which satisfies
1
The standard examples are Fourier and character-table matrices: if 2 is abelian of order 3 and exponent 4, then its character table 5 lies in 6. The literature also uses the dephased convention, under which the first row and first column are all 7 multiplicatively, or all 8 in logarithmic form, and it works modulo monomial row and column multipliers as the basic equivalence relation (Armario et al., 2024).
The logarithmic representation replaces roots of unity by residue classes. If
9
then
0
This finite-ring encoding is the starting point of the code-theoretic theory. It permits the rows of 1 to be treated as vectors over 2, while preserving the phase relations responsible for orthogonality. In that sense, 3 is the bridge between complex Hadamard theory and the algebra of codes over residue rings (Armario et al., 2020).
2. Canonical code constructions and conventions
The literature uses two closely related conventions for the associated code. Both begin with the logarithmic matrix 4, and both adjoin all constant vectors 5.
| Convention | Definition | Source |
|---|---|---|
| Row-set convention | 6 is the set of rows of 7; 8 | (Armario et al., 2024) |
| Generated-code convention | 9 is the 0-code, or 1-code, generated by the rows of 2; 3 | (Shi et al., 2023, Armario et al., 2020) |
These definitions coincide in emphasizing constant-shift closure. The code is therefore naturally self-complementary in the sense used in later covering-radius arguments. The generated-code convention is especially convenient when BH-codes are compared with additive codes over 4, while the row-set convention is more directly tied to the matrix itself.
This code construction is explicitly presented as the natural analogue of the first-order generalized Reed–Muller code. In particular, for 5, the code 6 records the logarithmic row structure of 7 modulo global phase shifts, and when 8 with 9 even, this recovers the classical bent-function/Reed–Muller paradigm (Armario et al., 2024). The same code may also be viewed geometrically: after embedding 0 as 1, the code becomes a spherical code in 2, so BH-codes admit both finite-ring and Euclidean-spherical interpretations (Shi et al., 2023).
A recurrent misconception is that BH-codes are necessarily linear. The cocyclic examples studied in the propelinear setting show otherwise: a BH-code attached to a cocyclic 3 matrix is explicitly non-linear, even though it retains strong internal group structure as a full propelinear code (Armario et al., 2020).
3. Metrics, distance, and covering radius
Several inequivalent metrics are used in the theory, and the resulting bounds are metric-sensitive.
Under the Chinese Euclidean metric, for 4,
5
For the corresponding covering radius,
6
the existence of a bent sequence yields the lower bound
7
while spherical-design arguments give
8
for dephased 9. The Euclidean distance spectrum of the associated spherical code is
0
and for 1 the spherical code meets the Levenshtein bound with parameters 2 (Shi et al., 2023).
A second framework uses the homogeneous metric on quasi-Frobenius ring alphabets. For 3, the homogeneous weight is
4
If 5 admits a bent vector, then
6
and for 7,
8
On the upper-bound side, strength-9 BH-codes satisfy
0
and for self-complementary strength-1 BH-codes over 2,
3
These results make explicit that covering radius is controlled by two distinct matrix-derived features: bentness and orthogonal-array strength (Xu et al., 18 Aug 2025).
A third line of work studies codes obtained from normalized 4 matrices under homogeneous and non-homogeneous Gray maps. In that setting, the families 5 are defined from the rows of the exponent matrix and its translates, and exact minimum distances are proved. In particular, under the non-homogeneous Gray map 6, the family 7 is a Plotkin-optimal 8-ary nonlinear code with parameters
9
and analogous Plotkin-optimal statements are established for 0, 1, and 2 (Acar et al., 2020).
4. Bent vectors, self-duality, and code geometry
Bentness is the principal extremal notion linking BH matrices to BH-codes. For 3, a vector 4 with entries among the 5-th roots of unity is 6-bent if
7
where every entry of 8 has modulus 9. Two special cases are distinguished: 0 with 1. A more general formulation introduces a multiplier 2 and studies self-dual bent sequences satisfying
3
This unifies eigenvector-type and Galois-twisted self-duality conditions (Armario et al., 2024, Shi et al., 2023).
The arithmetic of bent vectors is highly constrained. Using cyclotomic fields, prime ideal factorization, ramification, and self-conjugacy modulo 4, one obtains non-existence criteria. If 5 is 6-bent for 7, 8, 9, and 0 is self-conjugate modulo 1, then the 2-part 3 must be a square. For small phases there are sharper constraints: if 4 and some entry of 5 is a cube root of unity, then necessarily
6
and for 7 the analogous conclusion is
8
These conditions feed directly into covering-radius lower bounds, because bent vectors provide explicit vectors that are far from the BH-code (Armario et al., 2024).
Constructive bent-vector theory is equally rich. Tensor products preserve bentness: if 9 is conjugate self-dual 00-bent and 01 is conjugate self-dual 02-bent, then 03 is conjugate self-dual 04-bent. Bush-type Butson Hadamard matrices yield large explicit families: for 05 of Bush type there are at least 06 self-dual bent vectors and at least 07 conjugate self-dual 08-bent vectors, while for odd 09 a related construction yields 10 matrices in 11, each admitting self-dual and conjugate self-dual bent vectors (Armario et al., 2024).
The computational study of self-dual bent sequences complements these theoretical constructions. For various 12 and lengths 13, explicit examples are obtained by solving
14
via Gröbner bases and via eigenspace computations derived from repeated application of the multiplier 15. This computational layer is important because it identifies concrete BH-codes whose covering radii achieve or approach the known lower bounds (Shi et al., 2023).
5. Gray maps, propelinear structure, and morphisms
A major algebraic theme is that BH-codes behave well under generalized Gray maps. For 16 prime and 17, the map
18
is defined from the logarithmic Fourier matrix and is an isometric embedding
19
If 20, then the entrywise Gray image 21 lies in
22
and the image of a BH-code over 23 is again a BH-code over 24; for 25 this is a binary Hadamard code. More generally, for 26 with 27, the map 28 yields
29
and repeated application produces a matrix
30
whenever 31 and every prime dividing 32 also divides 33 (Armario et al., 2020).
This Gray-map formalism is closely tied to additive-code theory. A 34-additive code is isomorphic as a group to a BH-code over 35, and its Gray image is a BH-code over 36. In that sense, BH-codes are not merely analogous to additive codes over residue rings; they subsume those additive structures inside a phase-space framework (Armario et al., 2020).
Cocyclic matrices endow BH-codes with stronger internal symmetry. If 37 is cocyclic, then the associated code 38 is a Butson full propelinear code, or BHFP-code. Conversely, in the row-and-column balanced setting, a BHFP-code arising from a BH matrix forces the matrix to be cocyclic. The cocyclic 39 example shows that full propelinearity and non-linearity can coexist, so the relevant group structure is not exhausted by linearity over 40 (Armario et al., 2020).
At the matrix level, several morphism theorems enlarge the supply of BH-codes. If 41 and every prime divisor of 42 divides 43, then from any 44 one can construct 45 (Cathain et al., 2019). A spectral method yields complete morphisms
46
generalizing Turyn’s classical 47 construction (Egan et al., 2018). More generally, the sound-pair framework constructs morphisms 48 from compatible spectral conditions on a template matrix 49 and entrywise power conditions on 50 (Egan et al., 2017). This suggests a systematic mechanism for transferring BH-code constructions across phases and lengths.
6. Existence theory, classification, and broader coding connections
The existence of BH-codes is inseparable from the existence of the underlying matrices. Computer-aided classification has produced exact enumerations for several small parameters: up to monomial equivalence there are exactly 51 matrices in 52, 53 matrices in 54, and 55 matrices in 56. The same study gives a first example of 57 and proves the nonexistence of 58, 59 for 60, and 61 (Lampio et al., 2017). For cocyclic matrices with odd prime phase 62 and 63, the classification is complete: there are exactly 64 equivalence classes of cocyclic 65, exactly 66 of cocyclic 67, and exactly 68 of cocyclic 69 (Egan et al., 2015).
The circulant case is particularly rigid. For prime 70, any circulant Butson matrix in the relevant prime-order class is equivalent to the Fourier matrix 71, while for distinct primes 72 there is no circulant Butson matrix in the mixed-prime case 73 (Hiranandani et al., 2013). These results matter for BH-codes because circulant and cocyclic matrix models are standard sources of explicit code families.
Recent construction theory continues to enlarge the matrix pool. A positive-definite-function criterion has been used to prove new nonexistence results and to guide the discovery of 74, as well as 75-circulant examples 76, 77, 78, and 79 (Czifra et al., 14 Nov 2025). A separate recursive construction, using Fourier matrices and Latin-square tensors as input, produces 80 in general and 81 when 82 and 83 are even (Adda, 22 Apr 2025). From the coding viewpoint, every such existence theorem yields a new phase-space code seed.
BH matrices also enter adjacent coding frameworks. A constructive proof of quantum-code existence uses BH matrices equivalent to multiple Kronecker products of the Fourier matrix of order 84 to build 85 quantum stabilizer codes from classical linear codes 86 and 87. In the diagonal case
88
the converse is especially restrictive: if the resulting quantum code is a stabilizer code, then the normalized BH matrix must be equivalent to the 89-fold Kronecker product of the Fourier matrix of order 90 (Sarac et al., 2024). This does not redefine BH-codes, but it shows that the same matrix mechanisms that govern BH-codes in classical phase space also govern stabilizer-compatible quantum constructions.
Taken together, these results place Butson Hadamard codes at the intersection of complex Hadamard theory, coding theory over finite rings, cyclotomic arithmetic, spherical coding, and quantum-code construction. Their defining feature is not a single metric or a single algebraic model, but the persistence of Hadamard orthogonality under logarithmic encoding, constant shifts, Gray maps, and bent-vector extremality.