>>> from qutip import *
QuTiP warning: cython setup failed: invalid literal for int() with base 10: '1post0'
>>> (qeye(2)*1.0e-20)*1.0e20
Quantum object: dims = [[2], [2]], shape = [2, 2], type = oper, isherm = True
Qobj data =
[[ 0. 0.]
[ 0. 0.]]
--
You received this message because you are subscribed to the Google Groups "qutip" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
That said, I agree with the OP that tidyup operation can be surprise to a user since we do not emphasize that it is carried out in the documentation. It is a quite an disruptive operation when one works with small numbers, and although it is usually best to work with normalized units it is sometimes justified to work with more physical units. I had this problem myself a few times and it confused me at first too. I think that at least we should make it clear documentation that tidyup is carried out, or I would even favor that settings.auto_tidyup is False by default, so that it is an opt-in rather than opt-out feature. Just my two cents..
Rob
I can not think of a good reason to work in physical units rather than normalized units. One can always easily go back to units at the end of the calculation. This is especially true for ODE solving where having dimensionless time is critical to proper/efficient evaluation by the underlying routines.
>>> from qutip import *
>>> settings.auto_tidyup = False
>>> qutip.testing.run()
Qobj expm ... FAIL
======================================================================
ERROR: Failure: ValueError (invalid literal for int() with base 10: '1post0')
----------------------------------------------------------------------
easy_install --user --upgrade cythoneasy_install --user --upgrade cython
--
You received this message because you are subscribed to a topic in the Google Groups "qutip" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qutip/Pe2zhHBzNkE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qutip+un...@googlegroups.com.
easy_install --user --upgrade cython
fixed it though.