FakeProviderForBackendV2#
- class qiskit.providers.fake_provider.FakeProviderForBackendV2[ソース]#
ベースクラス:
ProviderV1
Fake provider containing fake V2 backends.
Only filtering backends by name is implemented. This class contains all fake V2 backends available in the
qiskit.providers.fake_provider
.Attributes
- version = 1#
Methods
- 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.
- 戻り値の型:
- 例外:
QiskitBackendNotFoundError – if no backend could be found or more than one backend matches the filtering criteria.