spheres.stars.pure.spin_sph

spheres.stars.pure.spin_sph(spin)[source]

Takes a spin-j state and returns its decomposition into 2j “stars” given in spherical coordinates.

Parameters

spin (qt.Qobj) – Spin-j state.

Returns

sph – A array with shape (2j, 3) containing the 2j spherical coordinates of the stars.

Return type

np.array