Module: openfermion.ops.representations.doci_hamiltonian

Class and functions to store interaction operators.


class DOCIHamiltonian: Class for storing DOCI hamiltonians which are defined to be restrictions of fermionic operators to doubly occupied configurations.


get_doci_from_integrals(...): Construct a DOCI Hamiltonian from electron integrals

get_projected_integrals_from_doci(...): Generates a set of atomic integrals corresponding to this Hamiltonian

get_tensors_from_doci(...): Makes the one and two-body tensors of a fermionic "parent Hamoltonian" from the DOCI Hamiltonian matrices

COEFFICIENT_TYPES (<class 'int'>, <class 'float'>, <class 'complex'>)