IonQ Provider¶
Provider for interacting with IonQ backends
- class qiskit_ionq.ionq_provider.BackendService(backends: list[IonQBackend])[source]¶
 A service class that allows for autocompletion of backends from provider.
Initialize service
- Parameters:
 backends (list) – List of backend instances.
- class qiskit_ionq.ionq_provider.IonQProvider(token: str | None = None, url: str | None = None, custom_headers: dict | None = None)[source]¶
 Provider for interacting with IonQ backends
- credentials¶
 A dictionary containing
tokenandurlkeys, whose values are an IonQ API Access Token and IonQ API URL, respectively.- Type:
 dict[str, str]
- get_backend(name: str, gateset: Literal['qis', 'native'] = 'qis', **kwargs) IonQSimulatorBackend | IonQQPUBackend[source]¶
 Return a single backend matching the specified filtering. :param name: name of the backend. :type name: str :param gateset: language used (QIS or native), defaults to QIS. :type gateset: 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.