openfermion.ops.representations.get_active_space_integrals
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.
Args |
one_body_integrals
|
One-body integrals of the target Hamiltonian
|
two_body_integrals
|
Two-body integrals of the target Hamiltonian
|
occupied_indices
|
A list of spatial orbital indices
indicating which orbitals should be considered doubly occupied.
|
active_indices
|
A list of spatial orbital indices indicating
which orbitals should be considered active.
|
Returns |
tuple
|
Tuple with the following entries:
core_constant: Adjustment to constant shift in Hamiltonian
from integrating out core orbitals
one_body_integrals_new: one-electron integrals over active
space.
two_body_integrals_new: two-electron integrals over active
space.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[]]