spheres.coordinates.sph_spinor

spheres.coordinates.sph_spinor(sph)[source]

Converts spherical coordinates to spinor.

Parameters

sph (list or np.ndarray) – Spherical coordinates \(r, \phi, \theta\).

Returns

spinor – Spinor(s).

Return type

list or qt.Qobj