iqm.qiskit_iqm.iqm_provider.IQMProvider

iqm.qiskit_iqm.iqm_provider.IQMProvider#

class iqm.qiskit_iqm.iqm_provider.IQMProvider(url: str, **user_auth_args)#

Bases: object

Provider for IQM backends.

IQMProvider connects to a quantum computer through an IQM server. If the server requires user authentication, you can provide it either using environment variables, or as keyword arguments to IQMProvider. The user authentication kwargs are passed through to IQMClient as is, and are documented there.

Parameters:

url (str) – URL of the IQM server (e.g. https://cocos.resonance.meetiqm.com/garnet)

Methods

get_backend([name, calibration_set_id])

An IQMBackend instance associated with this provider.

get_backend(name: str | None = None, calibration_set_id: UUID | None = None) IQMBackend | IQMFacadeBackend#

An IQMBackend instance associated with this provider.

Parameters:
  • name (str | None) – optional name of a custom facade backend

  • calibration_set_id (UUID | None) – ID of the calibration set used to create the transpilation target of the backend. If None, the server default calibration set will be used.

Return type:

IQMBackend | IQMFacadeBackend