Unit derived schemes applied to Hadamard matrices are used to construct and analyse linear block and convolutional codes. Codes are constructed to prescribed types, lengths and rates and multiple series of self-dual, dual-containing, linear complementary dual and quantum error-correcting of both linear block {\em and} convolutional codes are derived.
Paper ID : 2410.24027Title : On codes induced from Hadamard matricesAuthor : Ted Hurley (University of Galway)Classification : cs.IT math.IT (Information Theory)Publication Date : October 2024 (v2: November 17, 2025)Paper Link : https://arxiv.org/abs/2410.24027 This paper applies unit derived schemes to Hadamard matrices for constructing and analyzing linear block codes and convolutional codes. The paper constructs encodings with specified types, lengths, and code rates, and derives multiple families of self-dual codes, dual-containing codes, linear complementary dual codes, and quantum error-correcting codes, covering both linear block codes and convolutional codes.
Missing algebraic methods for convolutional code construction : As pointed out by McEliece et al., convolutional codes lack universal algebraic construction and design methods, severely limiting their scale and availability.Systematic construction of specific code types : Need to construct encodings satisfying specific properties (self-dual, dual-containing, LCD codes, etc.) while controlling length, distance, and code rate.Construction of quantum error-correcting codes : Need to construct quantum error-correcting codes through classical coding theory (e.g., CSS method).Theoretical significance : Provides a unified algebraic construction framework for coding theoryPractical applications :
LCD codes can resist side-channel attacks and fault attacks Self-dual and dual-containing codes can construct quantum error-correcting codes Convolutional codes are widely used in communication systems (e.g., Viterbi algorithm decoding) Walsh-Hadamard codes, while having good distance properties, have extremely low code rates (1/2^k) Lack of systematic methods for constructing different types of codes from Hadamard matrices Convolutional code construction has long relied on computer generation, lacking algebraic theoretical support This paper extends the unit derived method proposed by the author in 27 , applying it to Hadamard matrices to achieve:
Simultaneous construction of linear block codes and convolutional codes Construction to specified types, lengths, and code rates Obtainable distance bounds Generation of multiple encodings from a single Hadamard matrix Theoretical Framework : Establishes unit derived encoding construction theory based on Hadamard matrices, proving five core propositions (Propositions 2.1-2.5)Algorithm Design : Proposes four universal construction algorithms:
Algorithm 1: Constructs LCD linear block codes with arbitrary code rate r/n Algorithm 2: Constructs self-dual linear block codes of length 2n Algorithm 3: Constructs self-dual convolutional codes of length n Algorithm 4: Constructs dual-containing convolutional codes with code rate r/n (r≥n/2) Unified construction of multiple code types : From a single Hadamard matrix, one can construct LCD, self-dual, DC, and quantum error-correcting codesDistance analysis : Provides algebraic methods for distance computation; convolutional code distances can reach twice those of linear block codesConcrete applications : Provides specific cases with H(20), H(28), etc., constructing numerous new encodingsInput : n×n Hadamard matrix H satisfying HH^T = nI_n with elements ±1
Output :
Linear block codes: n,r,d _q codes (length n, dimension r, minimum distance d, field GF(q)) Convolutional codes: (n,k,δ;μ,d_f)_q codes (length n, rank k, degree δ, memory μ, free distance d_f) Constraints :
Field characteristic p satisfies p∤n (for most constructions) For self-dual convolutional codes, i=√(-1) must exist in the field Matrix rank conditions Partition Hadamard matrix: H = (A/B), where A is r×n matrix
Key property :
In field GF(p) (p∤n), this becomes:
AA^T + BB^T = 0 (mod p)
i.e., AB^T = 0
Results :
A generates an n,r code B^T is the parity-check matrix B generates the dual code Theorem : For H = (A/B), if p∤n, then A generates an LCD code
Proof outline :
AB^T = 0 ⟹ B generates the dual code of A H invertible ⟹ rows of A cannot be non-trivial combinations of rows of B Therefore C∩C^⊥ = 0 (LCD property) Construction : G = (I_n, αH), where α satisfies 1+α²n=0
Key computation :
(I_n, αH)(I_n / αH^T) = I_n + α²nI_n = (1+α²n)I_n
When 1+α²n=0:
(I_n / αH^T) is a rank-n parity-check matrix K = (I_n, αH) generates the dual code Therefore the code is self-dual Implementation details :
α may exist in GF(p) or its quadratic extension GF(p²) Generator matrix is given directly in systematic form Construction : H = (A/B), n=2m, A and B each m×n
Define generator matrix:
G(z) = A + iBz, where i=√(-1)
Verification of self-duality :
G(z)(iB^T + A^Tz) = (A+iBz)(iB^T+A^Tz)
= 0 + nI_m·z - nI_m·z + 0 = 0
Therefore H^T(z) = iB^T + A^Tz is the parity-check matrix, and H(z^(-1))z = A+iB generates the dual code
Catastrophic-free verification :
Therefore G(z) has a right polynomial inverse, and the code is non-catastrophic
Distance computation :
Construction : H = (A/B), A is r×n, B is (n-r)×n, r>n-r
Define:
B_1 = (0_{t×n} / B), where t=2r-n
G(z) = A + iB_1z
Verification of DC property :
Construct parity-check matrix H^T(z) = iB^T + C_1z Dual code generator: C_1^T + iB Verify that dual code is contained in original code Matrix partitioning strategy : Obtain different code types from a single Hadamard matrix through different partitioning methodsParameter control : Achieve code rate control (r/n) by selecting number of rows rField extension techniques : Utilize existence of √(-1) to construct convolutional codesComputable distance : Algebraically compute distances using orthogonality of Hadamard matricesUnified framework : Unified construction methods for linear block codes and convolutional codesThis paper uses Hadamard matrices of multiple sizes:
Small size : H(12), H(20), H(24), H(28)Medium size : H(36), H(40), H(72)Large size : H(144)Matrix types :
Paley-Hadamard matrices (for sizes 12k) Non-decomposable Hadamard matrices (preferred) Code length n : Length of encodingDimension/rank r or k : Number of information bitsCode rate : r/n (linear block codes) or k/n (convolutional codes)Minimum distance d : Measure of error-correction capabilityMemory μ : Memory length of convolutional codesFree distance d_f : Distance measure for convolutional codesGAP computer algebra system and its packages:
Guava package: Coding theory computations Gauss package: Matrix operations over finite fields Used for: Submatrix operations, finite field computations, distance verification Field selection : Primarily using GF(3), GF(5), GF(7) and their extensions GF(3²), GF(5²)Rank computation : Compute matrix rank modulo pDistance computation :
Small lengths (≤100): Direct computer calculation Large lengths: Algebraic methods (Proposition 2.6, Lemma 2.18) Type Parameters Field Remarks LCD 20,13,4 ₃, 20,7,6 ₃GF(3) Linear complementary dual codes Self-dual convolutional (20,10,10;1,12)₃₂ GF(3²) Distance 12 DC convolutional (20,13,7;1,8)₃₂ GF(3²) Dual-containing Quantum code Length 20, distance 8, rate 6/20 GF(3²) Via CSS construction Self-dual 20,10,8 ₅GF(5) Linear block code Self-dual convolutional (20,10,10;1,14)₇₂ GF(7²) Distance 14 Self-dual 40,20,12 ₃GF(3) Systematic form
Type Parameters Field LCD 28,16,6 ₃, 28,12,9 ₅GF(3), GF(5) Self-dual convolutional (28,14,14;1,12)₃ GF(3) DC convolutional (28,18,10;1,8)₃ GF(3) Quantum code Length 28, distance 8, rate 8/28 GF(3) Self-dual convolutional (28,14,14;1,16)₅ GF(5) Self-dual 28,14,9 ₇GF(7)
For Paley-Hadamard matrices of H(12k):
Construct self-dual 12k, 6k, d ₃ codes Verification results : For k=1,2,3,4,5 (i.e., n=12,24,36,48,60), constructed codes achieve optimal distance Theoretical bound: d ≤ ⌊n/12⌋+3 No extremal codes exist for n=72 and above Convolutional codes vs. linear block codes :
Example H(12):
Linear block code A: 12,6,6 Convolutional code G(z)=A+iBz: distance d_f=12 Convolutional code distance is twice that of linear block code Can construct LCD codes with arbitrary code rate r/n (0<r<n) Self-dual codes: fixed code rate 1/2 DC convolutional codes: code rate r/n, r≥n/2 For prime p|n (p≠2):
Verification : Paley-Hadamard matrix H(12k) has rank exactly 6k in GF(3)
Matrix decomposition : H = (A/B), A and B each 6×12
Application 1: Self-dual linear block code (GF(3))
In GF(3): AA^T = 0 (since 3|12) A generates 12,6,6 ₃ self-dual code Optimality : Achieves theoretical optimal distanceError-correction capability : Can correct 2 errorsApplication 2: LCD code (GF(5))
A generates 12,6,6 ₅ LCD code B generates dual code, also 12,6,6 ₅ Application 3: Self-dual convolutional code (GF(5))
G(z) = A + 2Bz (2=√(-1) in GF(5)) Parameters: (12,6,6;1,12)₅ Distance: d_f = d(A) + d(B) = 6+6 = 12 Non-catastrophic: (A+2Bz)A^T = 6I₆ = I₆ Application 4: Length 24 self-dual code (GF(5²))
Requires α²=2, x²-2 irreducible over GF(5) In GF(5²): (I₁₂, αH) generates 24,12,8 ₅₂ self-dual code Application 5: Length 24 self-dual code (GF(7))
α=2 satisfies 1+12α²=0 in GF(7) (I₁₂, 2H) generates 24,12,8 ₇ self-dual code Construct memory-3 convolutional code from H(12):
A = H[1..3][1..12]
B = H[4..6][1..12]
C = H[7..9][1..12]
D = H[10..12][1..12]
G(z) = A + Bz + Cz² + Dz³
Parameters: (12,3,9;3,24)
Distance: 24 (since all submatrices have distance 6)
H(72): 72,36,18 ₃ self-dual code H(144): 144,72,d ₃ code 36,18,12 ₃ self-dual code (GF(3))(36,18,18;1,d)₅ self-dual convolutional code (GF(5)) Quantum error-correcting code: length 36, distance d Classical textbooks :Blahut 1 : Algebraic codes for data transmission MacWilliams & Sloane 4 : Error-correcting codes theory McEliece 3 : Information and coding theory Convolutional code theory :Johannesson & Zigangirov 2 : Convolutional coding fundamentals Rosenthal et al. 35,36,38 : MDS convolutional codes Bocharova et al. 12 : Dual convolutional codes LCD codes :Massey 30,31 : First introduction of LCD code concept Carlet et al. 15-17 : Modern research on LCD codes Applications: Side-channel attack defense 18,19 Self-dual codes :Mallows & Sloane 29 : Self-dual code bounds Pless 33 : Symmetric codes over GF(3) Mallows et al. 37 : Self-dual codes over GF(3) Quantum error-correcting codes :Calderbank & Shor 14 : CSS construction Calderbank et al. 13 : Quantum codes over GF(4) Steane 39 : Simple quantum error-correcting codes van Lint & Wilson 5 : Combinatorial foundations Horadam 6 : Hadamard matrices and their applications (monograph) Hurley & Hurley 8,9,22-25 : Development of unit derived method Hurley 27 : Final linear block and convolutional codes (foundation of this paper) Hurley 26,28 : MDS code construction Unified framework : First to uniformly handle linear block codes and convolutional codesAlgebraic construction : Solves McEliece's problem of missing algebraic convolutional code constructionMultiple code types : Construct various code types from a single matrixComputable distances : Provides algebraic distance computation methodsLarge-scale feasibility : Can construct large-length, high-rate codesTheoretical contributions :Establishes complete theoretical framework for encoding construction based on Hadamard matrices Proves five core propositions, provides four universal algorithms Unifies construction methods for linear block codes and convolutional codes Construction capabilities :Can construct LCD codes with arbitrary code rates Can construct self-dual, DC, and quantum error-correcting codes Obtain multiple different code types from a single Hadamard matrix Performance advantages :Convolutional code distances can reach twice those of linear block codes Ternary codes achieve extremal properties at small lengths Large-length, high-rate implementation feasible Field restrictions :Most constructions require p∤n Self-dual convolutional codes require √(-1) existence Some constructions require field extensions Distance computation :Difficult to compute distances exactly for large lengths Relies on algebraic methods and computer verification Only estimates possible in some cases Hadamard matrix dependence :Requires explicit expression of Hadamard matrices Non-decomposable Hadamard matrices perform better but are harder to construct Unresolved Hadamard conjecture limits available sizes High-memory convolutional codes :Paper mainly focuses on memory-1 cases High-memory cases left for future research (only Example 2.10 given) Practical application verification :Lacks performance testing in actual communication systems Decoding complexity analysis insufficient Theoretical extensions :Systematic construction of high-memory convolutional codes Applications of other types of orthogonal matrices In-depth research over non-binary fields Distance improvements :More precise distance bounds MDS code construction achieving Singleton bound Asymptotic property analysis Application expansion :Practical communication system implementation Applications in quantum computing Cryptographic applications Computational optimization :Efficient decoding algorithms Parallel implementation Hardware-friendly design Strong theoretical innovation :First systematic application of Hadamard matrices to construct multiple code types Solves long-standing problem of algebraic convolutional code construction Innovative application of unit derived method Good method uniformity :Unified treatment of linear block codes and convolutional codes Unified framework for different code types (LCD, self-dual, DC) Complete chain from theory to algorithms to applications High practical value :Provides explicit construction algorithms Achievable for arbitrary code rates and lengths Easy to implement with GAP system Sufficient experiments :Multiple sizes of Hadamard matrices Multiple finite fields (GF(3), GF(5), GF(7) and extensions) Detailed prototype examples (Example 2.9) Clear writing :Well-structured hierarchy Clear logic in definitions, propositions, algorithms, and applications Rigorous mathematical derivations Theoretical completeness :Handling of p|n case not systematic enough High-memory convolutional code theory incomplete Some proofs too brief (e.g., distance proof in Proposition 2.3) Experimental limitations :Lacks systematic comparison with existing optimal codes Distance computation mainly relies on computer (length ≤100) Missing decoding performance experiments Insufficient application guidance :How to select appropriate Hadamard matrices? Parameter selection strategies for different application scenarios? Missing decoding complexity analysis Reproducibility :No code or concrete implementation provided Construction of some Hadamard matrices not specified GAP implementation details insufficient Comparative analysis :Insufficient detailed comparison with Walsh-Hadamard codes Missing comparison with other algebraic construction methods Insufficient performance-complexity tradeoff analysis Academic contribution :Provides new construction tools for coding theory Promotes application of Hadamard matrices in coding May inspire subsequent series of research Practical value :Quantum error-correcting code construction has practical application potential LCD codes have application value in security domain Large-length code construction meets modern communication needs Reproducibility :Theoretical methods clearly reproducible Requires GAP system support Concrete implementation requires some effort Limitations :Depends on existence of Hadamard matrices Some constructions require field extensions Practical system applications need further verification Theoretical research :Algebraic construction methods in coding theory Application research of Hadamard matrices Quantum information theory Practical applications :Quantum communication : Quantum error-correcting code constructionSecure communication : LCD codes resisting side-channel attacksData storage : High-rate error-correcting codesWireless communication : Convolutional code applicationsTeaching purposes :Case studies in coding theory courses Application examples of algebraic methods in coding Teaching applications of Hadamard matrices Inapplicable scenarios :Applications requiring extremely high code rates (>0.9) Scenarios extremely sensitive to decoding complexity Applications requiring soft-decision decoding 3 McEliece : Classical textbook on information and coding theory, points out missing algebraic construction for convolutional codes6 Horadam : Authoritative monograph on Hadamard matrices and their applications13,14 Calderbank & Shor : Pioneering work on CSS quantum error-correcting code construction27 Hurley : Theoretical foundation of this paper, final linear block and convolutional codes31 Massey : Pioneering work on LCD codes35,38 Rosenthal et al. : Important research on MDS convolutional codesOverall Assessment : This is an excellent paper with strong theoretical innovation and systematic complete methodology. The author successfully combines Hadamard matrices with the unit derived method, establishing a unified framework for constructing multiple code types, particularly solving the difficult problem of algebraic convolutional code construction. The paper's main value lies in providing a complete methodology from theory to algorithms to applications, with significant academic significance and application potential. Main weaknesses include incomplete high-memory convolutional code theory and insufficient practical application verification. Recommended future work should strengthen practical system implementation and performance testing.