IBMQBackendService.__call__¶
- IBMQBackendService.__call__(name=None, filters=None, timeout=None, **kwargs)[source]¶
Return all backends accessible via this provider, subject to optional filtering.
- Parameters
name (
Optional
[str
]) – Backend name to filter by.filters (
Optional
[Callable
[[List
[IBMQBackend
]],bool
]]) –More complex filters, such as lambda functions. For example:
AccountProvider.backends(filters=lambda b: b.configuration().n_qubits > 5)
timeout (
Optional
[float
]) – Maximum number of seconds to wait for the discovery of remote backends.kwargs (
Any
) –Simple filters that specify a
True
/False
criteria in the backend configuration, backends status, or provider credentials. An example to get the operational backends with 5 qubits:AccountProvider.backends(n_qubits=5, operational=True)
- Return type
List
[IBMQBackend
]- Returns
The list of available backends that match the filter.