iterate

fireopal.iterate(circuits, shot_count, credentials, backend_name, parameters=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.

Returns

dict – A dictionary containing probability mass functions and warnings.

Return type

dict

Was this useful?