OccupiedModals#

class OccupiedModals(num_modals)[fuente]#

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]

Parámetros:

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

Methods

interpret(result)[fuente]#

Interprets an EigenstateResult in this property’s context.

Parámetros:

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

second_q_ops()[fuente]#

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

Devuelve:

A mapping of strings to VibrationalOp objects.

Tipo del valor devuelto:

Mapping[str, VibrationalOp]