OpenFermion
OpenFermion copied to clipboard
get_interaction_operator should raise an error when the given operator is not Hermitian
This would improve the type safety of InteractionOperator. get_quadratic_hamiltonian and get_diagonal_coulomb_hamiltonian already do this.