removed one more for-loop from ptrace
removed one more for-loop from ptrace

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