BaseBackend
class BaseBackend(configuration, provider=None)
Bases: abc.ABC
Legacy Base class for backends.
DEPRECATED Legacy 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.
Methods
configuration
BaseBackend.configuration()
Return the backend configuration.
Returns
the configuration for the backend.
Return type
name
BaseBackend.name()
Return the backend name.
Returns
the name of the backend.
Return type
str
properties
BaseBackend.properties()
Return the backend properties.
Returns
the configuration for the backend. If the backend does not support properties, it returns None
.
Return type
provider
BaseBackend.provider()
Return the backend Provider.
Returns
the Provider responsible for the backend.
Return type
run
abstract BaseBackend.run(qobj)
Run a Qobj on the the backend.
Parameters
qobj (Qobj) – the Qobj to be executed.
status
BaseBackend.status()
Return the backend status.
Returns
the status of the backend.
Return type
version
BaseBackend.version()
Return the backend version.
Returns
the X.X.X version of the backend.
Return type
str