Skip to main contentIBM Quantum Documentation
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

BasicProvider

class qiskit.providers.basic_provider.BasicProvider

GitHub

Bases: object

Provider for test simulators.


Methods

backends

backends(name=None, filters=None)

GitHub

Return a list of backends matching the specified filtering. :param name: name of the backend. :param filters: callable for filtering.

Returns

a list of Backends that match the filtering

criteria.

Return type

list[Backend]

Parameters

  • name (str | None) –
  • filters (Callable | None) –

get_backend

get_backend(name=None, **kwargs)

GitHub

Return a single backend matching the specified filtering. :param name: name of the backend. :type name: str :param **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.