{ }
View source on GitHub |
Restricts a molecule at a spatial orbital level to an active space
openfermion.ops.representations.get_active_space_integrals(
one_body_integrals,
two_body_integrals,
occupied_indices=None,
active_indices=None
)
This active space may be defined by a list of active indices and doubly occupied indices. Note that one_body_integrals and two_body_integrals must be defined n an orthonormal basis set.