You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I want to build a Hamiltonian from UHF I would do the following in pyscf + OpenFermion + FQE. This uses the build_hamiltonian function to translate the FermionOperator into an FQE Hamiltonian. A more direct way would be to populate a FQE Hamiltonian directly (a SSO Hamiltonian object?).
It is a SSO hamiltonian. The dimensions of the arrays have to be (norb*2, norb*2) and (norb*2, norb*2, norb*2, norb*2). I believe that h1a and h1b should be (:norb, :norb) and (norb:, norb:) part of the one body, teiaa, teiab, teibb are (:norb, :norb, :norb, :norb), [(:norb, norb:, :norb, norb:) and (norb:, :norb, norb:, :norb)], and (norb:, norb:, norb:, norb:) respectively.
If I want to build a Hamiltonian from UHF I would do the following in pyscf + OpenFermion + FQE. This uses the
build_hamiltonian
function to translate the FermionOperator into an FQE Hamiltonian. A more direct way would be to populate a FQE Hamiltonian directly (a SSO Hamiltonian object?).where
spinorb_from_spatial_blocks
builds the spin-orbital Hamiltonian from h1e_a, h1e_b, g2eaa, g2e_bb, etc...The text was updated successfully, but these errors were encountered: