execute

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

Execute a batch of circuits where shot_count measurements are taken per circuit.

Parameters

  • circuits (str or list [ str ]) – Quantum circuit(s) in the form of a 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?