exa.core.provider.provider.init_iqm_server_runtime

exa.core.provider.provider.init_iqm_server_runtime#

init_iqm_server_runtime(iqm_server_url, *, experiment_configuration_path='__FROM STATION CONTROL__', username='', quantum_computer=None, token=None, tokens_file=None, client_signature=None)#

Initialize the global ExaRuntime using IQM Server backend and Experiment Configuration.

Parameters:
  • iqm_server_url (str) – URL for accessing the IQM Server. Has to start with http or https.

  • experiment_configuration_path (str | None) – If not given, will fetch the recommended configuration from the server. If None, an empty configuration is returned, which is useful only for loading old data. If path is a string, it must be a relative path to a configuration YAML file, which should have a top-level ‘experiment’ key.

  • username (str) – Overrides user in the configuration. If user is not set in the loaded configuration, giving the username here is mandatory.

  • quantum_computer (str | None) – ID or alias of the quantum computer to connect to, if the IQM Server instance controls more than one.

  • token (str | None) – Long-lived authentication token in plain text format. If token is given no other user authentication parameters should be given.

  • tokens_file (str | None) – Path to a tokens file used for authentication. If tokens_file is given no other user authentication parameters should be given.

  • client_signature (str | None) – String that the client adds to User-Agent header of requests it sends to the server.

Return type:

None