spheres.stars.pure.sph_spin¶
-
spheres.stars.pure.
sph_spin
(sph)[source]¶ Takes 2j “stars” given in spherical coordinates and returns the corresponding spin-j state (up to complex phase).
- Parameters
sph (np.array) – A array with shape (2j, 3) containing the 2j spherical coordinates of the stars.
- Returns
spin – Spin-j state.
- Return type
qt.Qobj