Japanese
言語
English
Japanese
German
Korean
Shortcuts

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.

パラメータ
例外

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.

パラメータ
例外

QiskitError – if an error occurred when instantiating the backend.

Methods

__init__(configuration[, provider])

Base class for backends.

configuration()

Return the backend configuration.

name()

Return the backend name.

properties()

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.

configuration()[ソース]

Return the backend configuration.

戻り値

the configuration for the backend.

戻り値の型

BackendConfiguration

name()[ソース]

Return the backend name.

戻り値

the name of the backend.

戻り値の型

str

properties()[ソース]

Return the backend properties.

戻り値

the configuration for the backend. If the backend does not support properties, it returns None.

戻り値の型

BackendProperties

provider()[ソース]

Return the backend Provider.

戻り値

the Provider responsible for the backend.

戻り値の型

BaseProvider

abstract run(qobj)[ソース]

Run a Qobj on the the backend.

パラメータ

qobj (Qobj) – the Qobj to be executed.

status()[ソース]

Return the backend status.

戻り値

the status of the backend.

戻り値の型

BackendStatus

version()[ソース]

Return the backend version.

戻り値

the X.X.X version of the backend.

戻り値の型

str