Weight Distributions of Single Parity-Check Product Codes via Character Sums
Makson Miller Alves Ribeiro, Sara D. Cardell
Key points
From the paper's conclusion- We investigate structural and enumerative properties of binary single parity-check product codes.
Abstract
We investigate structural and enumerative properties of binary single parity-check product codes. For each $n\geq 2$, $\operatorname{SPC}(n)$ denotes the binary single parity-check code of length $n$, consisting of all binary vectors of length $n$ having even Hamming weight. We determine the generalized Hamming weight hierarchy of the product code $\mathcal{C}_{m,n}=\operatorname{SPC}(m)\otimes\operatorname{SPC}(n)$, whose codewords can be represented as $m\times n$ binary matrices in which every row and every column has even Hamming weight. For the square product $\mathcal{C}_n =\operatorname{SPC}(n)\otimes\operatorname{SPC}(n)$, we also determine the maximum codeword weight and prove that its homogeneous weight enumerator is symmetric if and only if $n$ is even. After characterizing the dual code, we apply the MacWilliams identity in its Walsh--Hadamard formulation to derive an exact closed-form expression for the weight enumerator. By grouping the auxiliary binary vectors according to their Hamming weights, we obtain an explicit formula for each coefficient in terms of binomial coefficients and alternating convolutions. Finally, using Krawtchouk polynomials, we present an exact procedure for computing the full weight distribution without exhaustively enumerating all codewords. Numerical examples illustrate the formulas and verify the resulting computations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Thirteen Improved Binary Constant-Weight Codes with Explicit Cyclic Orbit CertificatesarXiv · 2026
- Hardness and Inapproximability of the Covering Radius for LDPC CodesarXiv · 2026
- Harmonic higher weight distributions, Simonis' approach of MacWilliams identity and momentsarXiv · 2026
- Minimality of Binary Codes From Weight Layers and Graph Cut SpacesarXiv · 2026
- A multiset approach to MacWilliams identitiesDesigns, Codes and Cryptography · 2026
- Asymptotically Tight Bounds for Generalized Covering Radii of Binary Primitive BCH Codes at All Higher OrdersarXiv · 2026