spheres.oscillators.spins_osc¶
-
spheres.oscillators.
spins_osc
(spins, cutoff_dim=None, map=None)[source]¶ List of spin-j states to a 2D quantum harmonic oscillator state.
- Parameters
osc (qt.Qobj) – Double oscillator state.
cutoff_dim (int) – Cutoff dimension for the 2D oscillator Fock space.
map (qt.Qobj) – Map from tensor basis to the spin tower basis. Automatically constructed if not provided.
- Returns
osc – Double oscillator state.
- Return type
qt.Qobj