qiskit-ibm-runtime icon indicating copy to clipboard operation
qiskit-ibm-runtime copied to clipboard

Add max_execution_time parameter to backend.run

Open Matt-Stypulkoski opened this issue 1 year ago • 0 comments

When using backend.run(), jobs are converted into circuit-runner jobs. By default, circuit-runner jobs have max_execution_times of around 4 hours.

It is possible to manually set the max_execution_time for jobs submitted through the QiskitRuntimeService, so this functionality could also be moved to backend.run().

What is the expected behavior?

Have backend.run() accept a max_execution_time parameter. This will work the same as if you manually created the circuit-runner job and manually set a max_execution_time.

Matt-Stypulkoski avatar Apr 20 '23 18:04 Matt-Stypulkoski