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