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
Raises

QiskitError – if an error occurred when instantiating the backend.

Attributes

QasmSimulatorPy.DEFAULT_CONFIGURATION

QasmSimulatorPy.DEFAULT_OPTIONS

QasmSimulatorPy.MAX_QUBITS_MEMORY

QasmSimulatorPy.SHOW_FINAL_STATE

Methods

QasmSimulatorPy.configuration()

Return the backend configuration.

QasmSimulatorPy.name()

Return the backend name.

QasmSimulatorPy.properties()

Return the backend properties.

QasmSimulatorPy.provider()

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.

QasmSimulatorPy.status()

Return the backend status.

QasmSimulatorPy.version()

Return the backend version.