Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

BasicAer: Python-based Simulators

qiskit.providers.basicaer

A module of Python-based quantum simulators. Simulators are accessed via the BasicAer provider, e.g.:

from qiskit import BasicAer
 
backend = BasicAer.get_backend('qasm_simulator')

Simulators

QasmSimulatorPy([configuration, provider])Python implementation of an OpenQASM 2 simulator.
StatevectorSimulatorPy([configuration, provider])Python statevector simulator.
UnitarySimulatorPy([configuration, provider])Python implementation of a unitary simulator.

Provider

BasicAerProvider()Provider for Basic Aer backends.

Job Class

BasicAerJob(backend, job_id, result)BasicAerJob class.

Exceptions

BasicAerError(*message)Base class for errors raised by Basic Aer.
Was this page helpful?
Report a bug or request content on GitHub.