QasmSimulatorPy¶
- class QasmSimulatorPy(configuration=None, provider=None)[source]¶
Python implementation of a qasm simulator.
Base class for backends.
This method should initialize the module and its configuration, and raise an exception if a component of the module is not available.
- Parameters
configuration (BackendConfiguration) – backend configuration
provider (BaseProvider) – provider responsible for this backend
- Raises
QiskitError – if an error occurred when instantiating the backend.
Attributes
Methods
Return the backend configuration.
Return the backend name.
Return the backend properties.
Return the backend Provider.
QasmSimulatorPy.run
(qobj[, backend_options])Run qobj asynchronously.
QasmSimulatorPy.run_experiment
(experiment)Run an experiment (circuit) and return a single experiment result.
Return the backend status.
Return the backend version.