Matrix Utilities¶
graphqomb.matrix module¶
Matrix utilities.
This module provides:
is_unitary: check if a matrix is unitary.is_hermitian: check if a matrix is Hermitian.
Functions¶
- graphqomb.matrix.is_unitary(mat)[source]¶
Check if a matrix is unitary.
- Parameters:
mat (
numpy.typing.NDArray[T]) – matrix to check- Returns:
- Return type: