OccupiedModals#
- class OccupiedModals(num_modals)[source]#
Bases:
object
The OccupiedModals property.
The following attributes can be set via the initializer but can also be read and updated once the
OccupiedModals
object has been constructed.- Parameters:
num_modals (Sequence[int]) – the number of modals for each mode.
Methods
- interpret(result)[source]#
Interprets an
EigenstateResult
in this property’s context.- Parameters:
result (qiskit_nature.second_q.problems.EigenstateResult) – the result to add meaning to.