Skip to main content
IBM Quantum Platform
Cette page provient d'une ancienne version de Qiskit SDK. Aller à la dernière version

BasicProvider

class qiskit.providers.basic_provider.BasicProvider

GitHub

Bases: ProviderV1

Provider for test simulators.


Attributes

version

Valeur par défaut: 1


Methods

backends

backends(name=None, filters=None, **kwargs)

GitHub

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[Backend]

get_backend

get_backend(name=None, **kwargs)

GitHub

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

Backend

Raises

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

Cette page a-t-elle été utile ?
Signaler un bogue, une coquille ou proposer du contenu sur GitHub.