Skip to main contentIBM Quantum Documentation
This page is from the dev version of Qiskit SDK. Go to the stable version.

ProviderV1

class qiskit.providers.ProviderV1

GitHub

Bases: Provider, ABC

Base class for a Backend Provider.

Deprecated since version 1.1

The class qiskit.providers.provider.Provider is deprecated as of qiskit 1.1. It will be removed no earlier than 3 months after the release date. The abstract Provider and ProviderV1 classes are deprecated and will be removed in 2.0. You can just remove it as the parent class and a get_backend method that returns the backends from self.backend.


Attributes

version

Default value: 1


Methods

backends

abstract backends(name=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.

Deprecated since version 1.1

The method qiskit.providers.provider.ProviderV1.get_backend() is deprecated as of qiskit 1.1. It will be removed no earlier than 3 months after the release date. The abstract Provider and ProviderV1 classes are deprecated and will be removed in 2.0. You can just remove it as the parent class and a get_backend method that returns the backends from self.backend.

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.

Was this page helpful?
Report a bug or request content on GitHub.