We're celebrating World Quantum Day 2022! Join us

fqe.fqe_decorators.check_diagonal_coulomb

Look at the structure of the two body matrix and determine

if it is diagonal coulomb

mat (numpy.ndarray) - input two-body Hamiltonian elements

(bool) - whether mat is diagonal Coulomb