spheres.oscillators.second_quantize_spin_state¶
-
spheres.oscillators.
second_quantize_spin_state
(spin, a=None)[source]¶ Upgrades a spin state to a second quantized creation operator given a list of annihilators. If the annihilators aren’t provided, they are constructed.
- Parameters
spin (qt.Qobj) – Spin-j state.
a (list) – List of annihilators.
- Returns
S – Second quantized creation operator for the constellation.
- Return type
qt.Qobj