qrunch.chemistry.ground_state_problem.calculators.tools.excitations.excitations_protocols
Protocol describing generalizations of excitations of particles in a system.
Classes
A protocol that defines the interface to build particle-hole excitations. |
|
Describes a general excitation of n particles from occupied states to the respective unoccupied states. |
|
Describes a general single particle excitation from occupied state to the respective unoccupied state. |
- class Excitations
Bases:
ProtocolA protocol that defines the interface to build particle-hole excitations.
- __init__(*args, **kwargs)
- class ParticlesExcitation
Bases:
objectDescribes a general excitation of n particles from occupied states to the respective unoccupied states.
All fields are immutable (
frozen=True) so an instance can be safely reused.- Parameters:
occupied – The occupied attribute contains the occupied spin orbital indices.
unoccupied – The unoccupied attribute contains the unoccupied spin orbital indices.
- __init__(occupied: tuple[int, ...], unoccupied: tuple[int, ...]) None
- Parameters:
occupied (tuple[int, ...])
unoccupied (tuple[int, ...])
- Return type:
None
- occupied: tuple[int, ...]
- unoccupied: tuple[int, ...]
- class SingleParticleExcitation
Bases:
objectDescribes a general single particle excitation from occupied state to the respective unoccupied state.
All fields are immutable (
frozen=True) so an instance can be safely reused.- Parameters:
occupied – The occupied attribute contains the occupied spin orbital index.
unoccupied – The unoccupied attribute contains the unoccupied spin orbital index.
- __init__(occupied: int, unoccupied: int) None
- Parameters:
occupied (int)
unoccupied (int)
- Return type:
None
- occupied: int
- unoccupied: int