Hi all,
I have been receiving the following import error when executing sympy in a Google Colab notebook.
ImportError Traceback (most recent call last)
<ipython-input-22-7a57ce630735> in <module>()
----> 1 from quple import ParameterisedCircuit
2 # Building a circuit of 4 qubits with a layer of CNOT gates using
3 # the nearest neighbor interaction graph
4 circuit = ParameterisedCircuit(n_qubit=4)
5 circuit.add_entanglement_layer(['CNOT'], entangle_strategy=nearest_neighbor)
20 from sympy.solvers.deutils import ode_order
--->
21 from sympy.solvers.solveset import NonlinearError, solveset
22 from sympy.utilities import default_sort_key
23 from sympy.utilities.iterables import ordered
ImportError: cannot import name 'NonlinearError' from 'sympy.solvers.solveset' (/usr/local/lib/python3.7/dist-packages/sympy/solvers/solveset.py)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Any thoughts about the cause of this? Missing dependencies?
Thank you!