cirq.is_normal

Determines if a matrix is approximately normal.

A matrix is normal if it's square and commutes with its adjoint.

matrix The matrix to check.
rtol The per-matrix-entry relative tolerance on equality.
atol The per-matrix-entry absolute tolerance on equality.

Whether the matrix is normal within the given tolerance.