|View source on GitHub|
Determines if a matrix is approximately normal.
cirq.is_normal( matrix: np.ndarray, *, rtol: float = 1e-05, atol: float = 1e-08 ) -> bool
A matrix is normal if it's square and commutes with its adjoint.
||The matrix to check.|
||The per-matrix-entry relative tolerance on equality.|
||The per-matrix-entry absolute tolerance on equality.|
|Whether the matrix is normal within the given tolerance.|