Some Qiskit tutorials have aer_simulator in the code and I have noticed that this simulator is no longer available.

from qiskit import QuantumCircuit
from qiskit import Aer

Which of the existing simulators should I use to replace aer_simulator?

The example tutorial is here.


Upgrade qiskit to the lastest version. aer_simulator is introduced since qiskit 0.25.0. You can use pip install qiskit --upgrade to install the lastest version.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.