I'm using Google Colab to run my Python code. One month back, it worked fine. But now the same code through an error. I used !pip install qiskit qiskit-aer. The error is <module 'qiskit' has no attribute 'Aer'>
Can anyone help me to solve this error? enter image description here
I solution to the error
Qiskit 1.0 changed from
from qiskit import Aertofrom qiskit_aer import Aer. See the Qiskit 1.0 release notes, there may be additional adjustments that you have to update your code.