Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

qiskit.providers.BaseProvider

BaseProvider(*args, **kwargs)

GitHub(opens in a new tab)

Base class for a Backend Provider.

__init__

__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.


Methods

__init__(*args, **kwargs)Initialize self.
backends([name])Return a list of backends matching the specified filtering.
get_backend([name])Return a single backend matching the specified filtering.

backends

abstract backends(name=None, **kwargs)

Return a list of backends matching the specified filtering.

Parameters

  • name (str) – name of the backend.
  • **kwargs – dict used for filtering.

Returns

a list of Backends that match the filtering

criteria.

Return type

list[BaseBackend]

get_backend

get_backend(name=None, **kwargs)

Return a single backend matching the specified filtering.

Parameters

  • name (str) – name of the backend.
  • **kwargs – dict used for filtering.

Returns

a backend matching the filtering.

Return type

BaseBackend

Raises

QiskitBackendNotFoundError – if no backend could be found or more than one backend matches the filtering criteria.

Was this page helpful?
Report a bug or request content on GitHub.