Skip to main content
IBM Quantum Platform
Cette page provient d'une ancienne version de Qiskit SDK et n'existe pas dans la dernière version. Nous vous recommandons de passer à la dernière version. Voir les notes sur l'édition pour plus d'informations.

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.
Cette page a-t-elle été utile ?
Signaler un bogue, une coquille ou proposer du contenu sur GitHub.