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.

num_modals#

the number of modals per mode in the system.

Type:

Sequence[int]

প্যারামিটার:

num_modals (Sequence[int]) -- the number of modals for each mode.

Methods

interpret(result)[source]#

Interprets an EigenstateResult in this property's context.

প্যারামিটার:

result (EigenstateResult) -- the result to add meaning to.

second_q_ops()[source]#

Returns the second quantized operators indicating the occupied modals per mode.

রিটার্নস:

A mapping of strings to VibrationalOp objects.

রিটার্ন টাইপ:

Mapping[str, VibrationalOp]