execute

fireopal.execute(circuits, shot_count, credentials, backend_name, parameters=None, run_options=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.
  • 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 for querying execution results.

Return type

FireOpalJob

Was this useful?