0
$\begingroup$

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
Aer.backends()

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

The example tutorial is here.

$\endgroup$
3
$\begingroup$

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.

$\endgroup$

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.