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
I am currently practicing the codes using Google Colab. It was working perfect till 13th of February and now it's throwing error even if I have installed the Aer package separately. Installed Qiskit and Aer as well but when importing Aer, it throws below error:
ImportError: cannot import name 'Aer' from 'qiskit' (/usr/local/lib/python3.10/dist-packages/qiskit/init.py)
Steps to reproduce the problem
Open Google Colab
Install below libraries:
!pip install qiskit
!pip install qiskit-aer
Then import Aer:
from qiskit import Aer
What is the expected behavior?
This should run without any error.
Suggested solutions
None
The text was updated successfully, but these errors were encountered:
Thank you for the report. This is expected behaviour of Qiskit 1.0 and noted in its release notes and deprecated in Qiskit 0.46 (our suggested upgrade path is to first upgrade to Qiskit 0.46, see the warnings that appear there so they can be fixed before finalising the upgrade to Qiskit 1.0).
The drop-in replacement for qiskit.Aer is qiskit_aer.Aer.
I'll close this issue as "won't fix" now (because it's expected), but if you have other problems using Aer with Qiskit 1.0, please feel free to open more reports.
Informations
What is the current behavior?
I am currently practicing the codes using Google Colab. It was working perfect till 13th of February and now it's throwing error even if I have installed the Aer package separately. Installed Qiskit and Aer as well but when importing Aer, it throws below error:
ImportError: cannot import name 'Aer' from 'qiskit' (/usr/local/lib/python3.10/dist-packages/qiskit/init.py)
Steps to reproduce the problem
Open Google Colab
Install below libraries:
!pip install qiskit
!pip install qiskit-aer
Then import Aer:
from qiskit import Aer
What is the expected behavior?
This should run without any error.
Suggested solutions
None
The text was updated successfully, but these errors were encountered: