Describe the bug
When setting up a device architecture with an incompatible version of networkx the program fails due to:
from qat.devices import LineDevice
File "__init__.py", line 155, in init qat.devices.__init__
File "rigetti.py", line 31, in init qat.devices.rigetti
AttributeError: module 'networkx' has no attribute 'from_numpy_matrix'
on Python 3.10
To Reproduce
Steps to reproduce the behavior:
Set up a new Python environment and install the packages pip install qlmaas myqlm
Run a Python shell
Import a device e.g. from qat.devices import LineDevice
Expected behavior
When installing the correct dependencies are pulled in.
Screenshots
Not applicable.
Desktop (please complete the following information):
Describe the bug When setting up a device architecture with an incompatible version of networkx the program fails due to:
on Python 3.10
To Reproduce Steps to reproduce the behavior:
pip install qlmaas myqlm
from qat.devices import LineDevice
Expected behavior When installing the correct dependencies are pulled in.
Screenshots Not applicable.
Desktop (please complete the following information):
Additional context None.