Closed ofw24 closed 1 month ago
To use the development version of qutip-jax
, you will need the development version of qutip.
If you install qutip from source, it should work.
The branch dev.major
have a few extra addition to support jit
and grad
with some functions.
See https://qutip-jax.readthedocs.io/en/latest/metrics.html
Great, this seems to have fixed the issue. Thanks!
When importing
qutip_jax
, I'm seeing anAttributeError
withinqutip.core.data
when referencingsqrtm
withinqutip-jax/src/qutip-jax/unary
. Looking through the source code it seems like the implementation lies withinqutip/core/data/expm
, but this isn't referenced correctly and causes the ImportError.To recreate:
import qutip-jax
Output:
AttributeError: module 'qutip.core.data' has no attribute 'sqrtm'