Linear (qiskit_qec.linear
)¶
Linear module classes and functions¶
Linear matrix functions¶
Creates the GF(2) Lambda matrix |
|
|
Augments a given matrix with the identify matrix. |
|
Computes the Row Reduced Echelon Form for a GF(2) matrix. |
|
Computes the rank of the GF(2) matrix |
|
Computes the Row Reduced Echelon Form for a GF(2) matrix as well as pivots, transformation matrix and rank. |
Linear symplectic functions¶
|
Determines if each possible pair of different rows of the GF(2) symplectic matrix have zero symplectic product. |
|
Returns the symplectic product of two GF(2) symplectic matrices. |
|
Makes an element(s) commute with hyperbolic pair(s) |
|
Locate a hyperbolic/noncommutative parter |
|
Builds an independent hyperbolic partner for the input vector indexed |
|
Applies the sympletic Gram-Schmidt process to the input matrix |
|
Is the input matrix GF(2) symplectic |
|
Is the input vector GF(2) symplectic |
|
Is the input a GF(2) symplectic matrix or vector |
|
Do the input matrices form a hyperbolic/symplectic basis? |
|
Does the input center matrix represent the center of the supplied matrix? |
|
Does span(rows of matrix1) = span(rows of matrix2)? |
|
Do the rows of the input matrix represent the generators of an abelian Pauli subgroup? |