About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
FakeProvider
class FakeProvider
Bases: qiskit.providers.provider.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
.
Methods
backends
FakeProvider.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[Backend]
get_backend
FakeProvider.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
Raises
QiskitBackendNotFoundError – if no backend could be found or more than one backend matches the filtering criteria.
Attributes
version
Default value: 1
Was this page helpful?
Report a bug or request content on GitHub.