qiskit.chemistry.BosonicOperator.number_occupied_modals_per_mode¶ BosonicOperator.number_occupied_modals_per_mode(mode)[source]¶ A bosonic operator which can be used to evaluate the number of occupied modals in a given mode Parameters mode (int) – the index of the mode Returns the corresponding bosonic operator Return type BosonicOperator