AerProvider#
- class AerProvider[source]#
Bases:
object
Provider for Aer backends.
Attributes
- version = 1#
Methods
- backends(name=None, filters=None, **kwargs)[source]#
Return a list of backends matching the specified filtering.
- Parameters:
name (str) – name of the backend.
filters (callable) – filtering conditions as a callable.
**kwargs – dict used for filtering.
- Returns:
- a list of Backends that match the filtering
criteria.
- Return type:
list[Backend]
- get_backend(name=None, **kwargs)[source]#
Return a single Aer backend matching the specified filtering.
- Parameters:
name (str) – name of the Aer backend.
**kwargs – dict used for filtering.
- Returns:
an Aer backend matching the filtering.
- Return type:
Backend
- Raises:
QiskitBackendNotFoundError – if no backend could be found or more than one backend matches the filtering criteria.