qecx.algebraΒΆ
GF(2) and symplectic algebra helpers: Pauli/symplectic conversions and binary linear algebra over F2, used by the code-data classes.
|
Encode a tuple of length- |
|
Decode an |
|
Convert each binary row to a length- |
|
Reduce a binary matrix to reduced row echelon form over F2. |
|
Compute a row basis for the left null space of a binary matrix over F2. |
|
Solve the left F2 linear system |
|
Pairwise F2 symplectic inner products of the rows of a symplectic matrix. |