jax and jaxlib are needed for last release and those doesn't install by default.
Just update your module accordingly.
First:
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_converter_myqlm.py:37: in <module>
from qat.lang.AQASM import Program, H, X, Y, Z, I, S, T, PH, RX, RY, RZ, SWAP, CNOT, CSIGN, AbstractGate
__init__.py:18: in init qat.lang.__init__
???
decorator.py:15: in init qat.lang.decorator
???
E ModuleNotFoundError: No module named 'jax'
Then after jax installation:
Hint: make sure your test modules/packages have valid Python names.
Traceback:
venv10/lib/python3.10/site-packages/jax/_src/lib/__init__.py:24: in <module>
import jaxlib as jaxlib
E ModuleNotFoundError: No module named 'jaxlib'
The above exception was the direct cause of the following exception:
/usr/lib/python3.10/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_converter_myqlm.py:37: in
from qat.lang.AQASM import Program, H, X, Y, Z, I, S, T, PH, RX, RY, RZ, SWAP, CNOT, CSIGN, AbstractGate
init.py:18: in init qat.lang.init
???
decorator.py:15: in init qat.lang.decorator
???
venv10/lib/python3.10/site-packages/jax/init.py:35: in
from jax import config as _config_module
venv10/lib/python3.10/site-packages/jax/config.py:17: in
from jax._src.config import config # noqa: F401
venv10/lib/python3.10/site-packages/jax/_src/config.py:27: in
from jax._src import lib
venv10/lib/python3.10/site-packages/jax/_src/lib/init.py:26: in
raise ModuleNotFoundError(
E ModuleNotFoundError: jax requires jaxlib to be installed. See https://github.com/google/jax#installation for installation instructions.
jax and jaxlib are needed for last release and those doesn't install by default. Just update your module accordingly.
The above exception was the direct cause of the following exception: /usr/lib/python3.10/importlib/init.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_converter_myqlm.py:37: in
from qat.lang.AQASM import Program, H, X, Y, Z, I, S, T, PH, RX, RY, RZ, SWAP, CNOT, CSIGN, AbstractGate
init.py:18: in init qat.lang.init
???
decorator.py:15: in init qat.lang.decorator
???
venv10/lib/python3.10/site-packages/jax/init.py:35: in
from jax import config as _config_module
venv10/lib/python3.10/site-packages/jax/config.py:17: in
from jax._src.config import config # noqa: F401
venv10/lib/python3.10/site-packages/jax/_src/config.py:27: in
from jax._src import lib
venv10/lib/python3.10/site-packages/jax/_src/lib/init.py:26: in
raise ModuleNotFoundError(
E ModuleNotFoundError: jax requires jaxlib to be installed. See https://github.com/google/jax#installation for installation instructions.