only squeeze out unused dimensions if necessary
only squeeze out unused dimensions if necessary

zasdfgbnm/qutip,anubhavvardhan/qutip,qutip/qutip,qutip/qutip,zasdfgbnm/qutip,cgranade/qutip,anubhavvardhan/qutip,cgranade/qutip