Tutorials
spheres.utils.
components
Extracts components of qt.Qobj, whether bra or ket, as a numpy array.
q (qt.Qobj) – Qutip state.
n – Numpy array.
np.array