Path: blob/main/course-contents/notebooks/2024-02-28--dual-code.ipynb
469 views
We see that since G * G.T == 0
.
Equality holds because we know in this case.
(Though really the point is that the weight of each vector in is even)
Now, let us suppose that is just some [8,4]_2
self-dual code with weight enumerator (not necessarily the one we specified above).
We are going to investigate what the McWilliams identities tell us about the coefficients .
So if is self-dual, we can compute the equations that the coefficients of must satisfy, as follows:
Since is self-dual and since we work over , it is easy to see that any codeword in must have even weight.
So we also need a1 == a3 == a5 == a7 == 0
We get a parametrized solution. The parameterization tells us that the possible weight enumerators for a self-dual [8,4]_2
code are given by the formula
Since the coefficient is and the coeff of is , and since both must be non-negative, we must have .
The self-dual code described above corresponds to the case .
Note that in any event, the coefficient of is always 1; this shows that a self-dual code always contains the all-one vector
Question: We know there is a self-dual [8,4]_2
code with weight enumerator . What about the other possibilities?
E.g., is there one with weight enumerator ?