FakeProvider#

class qiskit.providers.fake_provider.FakeProvider[소스]#

기반 클래스: ProviderV1

Fake provider containing fake V1 backends.

Only filtering backends by name is implemented. This class contains all fake V1 backends available in the qiskit.providers.fake_provider.

Attributes

version = 1#

Methods

backends(name=None, **kwargs)[소스]#

Return a list of backends matching the specified filtering.

매개변수:
  • name (str) – name of the backend.

  • **kwargs – dict used for filtering.

반환:

a list of Backends that match the filtering

criteria.

반환 형식:

list[Backend]

get_backend(name=None, **kwargs)[소스]#

Return a single backend matching the specified filtering.

매개변수:
  • name (str) – name of the backend.

  • **kwargs – dict used for filtering.

반환:

a backend matching the filtering.

반환 형식:

Backend

예외 발생:

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