qutip/qutip — pull request #61 by Vutshi (2013-10-11 09:09:29+00:00)
Title: Speed improvement for herm=1

I don't know why but np.real produces big overhead. For small matrices cy_expect_rho_vec with herm=1 was two times slower than herm=0. Now it is almost as fast.