-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels