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.

Parameters:

url (str) – URL of the IQM Cortex server

Keyword Arguments:
  • auth_server_url – URL of the user authentication server, if required by the IQM Cortex server. Can also be set in the IQM_AUTH_SERVER environment variable.

  • username – Username, if required by the IQM Cortex server. Can also be set in the IQM_AUTH_USERNAME environment variable.

  • password – Password, if required by the IQM Cortex server. Can also be set in the IQM_AUTH_PASSWORD environment variable.

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