openfermion.ops.representations.get_tensors_from_integrals

Converts one and two-body integrals into tensor form

one_body_integrals [numpy array] -- the one-body integrals of the given Hamiltonian two_body_integrals [numpy array] -- the two-body integrals of the given Hamiltonian