Tutorials
spheres.utils.
density_to_purevec
Converts a density matrix to a pure vector if it’s rank-1.
density (qt.Qobj) –
pure_state
qt.Qobj