qutip/qutip — pull request #69 by jneer (2013-12-19 09:18:05+00:00)
Title: Import ket2dm into metrics.py

In metrics.py, ket2dm was used without being imported into the namespace.