iqm.qiskit_iqm.examples.resonance_example.resonance_example

iqm.qiskit_iqm.examples.resonance_example.resonance_example#

iqm.qiskit_iqm.examples.resonance_example.resonance_example(server_url: str, api_token: str | None) dict[str, int]#

Run a circuit via IQM Resonance.

Parameters:
  • server_url (str) – URL of the IQM Resonance QC used for execution

  • api_token (str | None) – IQM Resonance API token for authentication

Returns:

a mapping of bitstrings representing qubit measurement results to counts for each result

Return type:

dict[str, int]