integral_conversion
Module for converting integrals to fermionic format.
funcintegrals_to_fermion(h0, h1, h2) -> FermiOperatorConvert molecular integrals into a fermionic Hamiltonian.
integrals should describe an unrestricted molecular Hamiltonian in a spatial-orbital basis.
paramh0floatis the scalar (core) energy containing the nuclear repulsion energy and any frozen-core or inactive-space contributions.
paramh1ndarrayis an array of shape (2, n_orb, n_orb) containing
the alpha- and beta-spin one-electron integrals, corresponding
to the kinetic-energy operator and electron-nucleus attraction
operator (plus any effective one-electron contributions from
frozen orbitals or inactive electrons).
paramh2ndarrayis an array of shape
(3, n_orb, n_orb, n_orb, n_orb) containing the alpha-alpha,
beta-beta, and alpha-beta electron-repulsion integrals in
chemist's notation,
Returns
monoprop.fermi.FermiOperatorHamiltonian in FermiOperator format.