qiskit.providers.BaseBackend¶
-
class
BaseBackend
(configuration, provider=None)[소스]¶ Legacy Base class for backends.
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.
- 매개변수
configuration (BackendConfiguration) – backend configuration
provider (BaseProvider) – provider responsible for this backend
- 예외
QiskitError – if an error occurred when instantiating the backend.
-
abstract
__init__
(configuration, provider=None)[소스]¶ 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.
- 매개변수
configuration (BackendConfiguration) – backend configuration
provider (BaseProvider) – provider responsible for this backend
- 예외
QiskitError – if an error occurred when instantiating the backend.
Methods
__init__
(configuration[, provider])Base class for backends.
Return the backend configuration.
name
()Return the backend name.
Return the backend properties.
provider
()Return the backend Provider.
run
(qobj)Run a Qobj on the the backend.
status
()Return the backend status.
version
()Return the backend version.
-
properties
()[소스]¶ Return the backend properties.
- 반환값
the configuration for the backend. If the backend does not support properties, it returns
None
.- 반환 형식