iqm.benchmarks.utils.submit_execute#
- iqm.benchmarks.utils.submit_execute(sorted_transpiled_qc_list: dict[tuple[int] | str, list[IQMCircuit]], backend: IQMBackendBase, shots: int, max_gates_per_batch: int | None = None, max_circuits_per_batch: int | None = None, circuit_compilation_options: CircuitCompilationOptions | None = None) list[IQMJob]#
Submit function to execute lists of quantum circuits on the specified backend.
Organized as a dictionary with keys being identifiers of a batch (normally qubits) and values corresponding lists of quantum circuits. The result is returned as a single list of IQMJob objects.
- Parameters:
sorted_transpiled_qc_list (dict[tuple[int] | str, list[IQMCircuit]]) – A dictionary of lists of quantum circuits to be executed. * The keys (Tuple[int] | str) should correspond to final measured qubits. * The values (List[QuantumCircuit]) should be the corresponding list (batch) of quantum circuits.
backend (IQMBackendBase) – the backend to execute the circuits on.
shots (int) – the number of shots per circuit.
max_gates_per_batch (int | None) – the maximum number of gates per batch sent to the backend, used to make manageable batches.
max_circuits_per_batch (int | None) – the maximum number of circuits per batch sent to the backend, used to make manageable batches.
circuit_compilation_options (CircuitCompilationOptions | None) – Ability to pass a compilation options object, enabling execution with dynamical decoupling, among other options - see qiskit-iqm documentation.
- Returns:
A list of IQMJob objects corresponding to the submitted circuits.
- Return type: