c3.qiskit
¶
Submodules¶
Package Contents¶
- class c3.qiskit.C3Provider[source]¶
Bases:
qiskit.providers.provider.ProviderV1
Provider for C3 Qiskit backends
- Parameters
ProviderV1 (ProviderV1) – Derived from ProviderV1 from qiskit.providers.provider
- backends(name=None, filters=None, **kwargs)[source]¶
Return a list of backends matching the name
- Parameters
name (str, optional) – name of the backend, by default None
filters (callable, optional) – Filtering conditions, as callable, by default None
- Returns
A list of backend instances matching the condition
- Return type
list[BackendV1]
- 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
Backend
- Raises
QiskitBackendNotFoundError – if no backend could be found or more than one backend matches the filtering criteria.
- __eq__(other)¶
Equality comparison.
By default, it is assumed that two Providers from the same class are equal. Subclassed providers can override this behavior.