|View source on GitHub|
Determines if a matrix is approximately special orthogonal.
cirq.linalg.is_special_orthogonal( matrix: np.ndarray, *, rtol: float = 1e-05, atol: float = 1e-08 ) -> bool
A matrix is special orthogonal if it is square and real and its transpose is its inverse and its determinant is one.
||The matrix to check.|
||The per-matrix-entry relative tolerance on equality.|
||The per-matrix-entry absolute tolerance on equality.|
|Whether the matrix is special orthogonal within the given tolerance.|