Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

BasicAer: Python-based Simulators

qiskit.providers.basicaer

Deprecated since version 0.46.0

The qiskit.providers.basicaer module is deprecated as of Qiskit 0.46 and will be removed in Qiskit 1.0. Its functionality has been replaced by the new qiskit.providers.basic_provider module and the qiskit.quantum_info module.

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.