French
Langues
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.providers.BaseProvider

class BaseProvider(*args, **kwargs)[source]

Base class for a Backend Provider.

__init__(*args, **kwargs)[source]

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.

abstract backends(name=None, **kwargs)[source]

Return a list of backends matching the specified filtering.

Paramètres
  • name (str) – name of the backend.

  • **kwargs – dict used for filtering.

Renvoie

a list of Backends that match the filtering

criteria.

Type renvoyé

list[BaseBackend]

get_backend(name=None, **kwargs)[source]

Return a single backend matching the specified filtering.

Paramètres
  • name (str) – name of the backend.

  • **kwargs – dict used for filtering.

Renvoie

a backend matching the filtering.

Type renvoyé

BaseBackend

Lève

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