spheres.oscillators.second_quantize_operator¶
-
spheres.oscillators.
second_quantize_operator
(O, a=None)[source]¶ Upgrades a first quantized operator to a second quantized operator given a list of annihilators. If no annihilators provided, it constructs them.
- Parameters
O (qt.Qobj) – First quantized operator.
a (list) – List of annihilators.
- Returns
OO – Second quantized operator.
- Return type
qt.Qobj