iterate

fireopal.iterate(circuits, shot_count, credentials, backend_name, parameters=None, run_options=None)

Submit a batch of circuits where shot_count measurements are taken per circuit. If permitted by the hardware provider, multiple calls to this function will re-use the same circuit submission queue position.

Parameters

  • circuits (str or list [ str ]) – Quantum circuit(s) in the form of QASM strings. You may use Qiskit to generate these strings.
  • shot_count (int) – Number of bitstrings that are sampled from the final quantum state.
  • credentials (Credentials) – The credentials for running circuits. See the credentials module for functions to generate credentials for your desired provider.
  • backend_name (str) – The backend device name that should be used to run circuits.
  • parameters (dict [ str , float ] or list [ dict [ str , float ] ] or None , optional) – The list of parameters for the circuit(s), if they’re parametric. Defaults to None.
  • run_options (RunOptions or None , optional) – Additional options for circuit execution. See the run_options module for classes to store run options for your desired provider. Defaults to None.

Returns

FireOpalJob – A job object containing the results of the execution.

Return type

FireOpalJob

Was this useful?