cirq.is_hermitian

Determines if a matrix is approximately Hermitian.

A matrix is Hermitian if it's square and equal to 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 Hermitian within the given tolerance.