ffsim.linalg.is_hermitian¶ ffsim.linalg.is_hermitian(mat, *, rtol=1e-05, atol=1e-08)[source]¶ Determine if a matrix is approximately Hermitian. Parameters: mat (ndarray) – The matrix. rtol (float) – Relative numerical tolerance. atol (float) – Absolute numerical tolerance. Return type: bool Returns: Whether the matrix is Hermitian within the given tolerance.