spheres.coordinates.spinor_sph

spheres.coordinates.spinor_sph(spinor)[source]

Converts spinor to spherical coordinates.

Parameters

spinor (list or qt.Qobj) – Spinor(s).

Returns

sph – Spherical coordinates \(r, \phi, \theta\).

Return type

np.ndarray