Tutorials
spheres.utils.
phase
Extracts phase of a complex vector (np.ndarray or qt.Qobj) by finding the first non-zero component and returning its phase.
v (np.array or qt.Qobj) –
complex