We're celebrating World Quantum Day 2022! Join us

openfermion.ops.representations.doci_hamiltonian.get_doci_from_integrals

Construct a DOCI Hamiltonian from electron integrals

one_body_integrals [numpy array]: one-electron integrals two_body_integrals [numpy array]: two-electron integrals

hc [numpy array]: The single-particle DOCI terms in matrix form hr1 [numpy array]: The off-diagonal DOCI Hamiltonian terms in matrix form hr2 [numpy array]: The diagonal DOCI Hamiltonian terms in matrix form