Module: openfermion.ops.representations.interaction_operator

Class and functions to store interaction operators.

Classes

class InteractionOperator: Class for storing 'interaction operators' which are defined to be fermionic operators consisting of one-body and two-body terms which conserve particle number and spin.

class InteractionOperatorError: Common base class for all non-exit exceptions.

Functions

get_active_space_integrals(...): Restricts a molecule at a spatial orbital level to an active space

get_tensors_from_integrals(...): Converts one and two-body integrals into tensor form

EQ_TOLERANCE 1e-08