You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the example after only installing fable-circuits and its dependencies, I get the errror:
Traceback (most recent call last):
File "/home/fable_test/main.py", line 3, in
from qiskit import Aer
ImportError: cannot import name 'Aer' from 'qiskit' (/home/fable_test/.venv/lib/python3.10/site-packages/qiskit/init.py)
This seems to be because qiskit Aer has been moved to its own package "qiskit_aer". I was able to fix the error by changing the line: from qiskit import Aer
to: from qiskit_aer import Aer
and adding the qiskit_aer package to my project
Activity