I attempted to execute a list of $3200$ QuantumCircuits in Qiskit, each with the max_shots of $8096$ as follows:

ibmq_manhattan = provider.get_backend('ibmq_manhattan')
job = execute(all_qc, backend=ibmq_manhattan, shots=8096)

and got the following response:

Job Status: job has been cancelled

Furthermore, I successfully performed the exact same execution locally using the Aer qasm_simulator. Presumably this is because there is a runtime timeout on the IBMQ backend device which is triggered as one might expect for such a large list. Is this correct? and if so how can I bypass this limitation?

This is a summary of the job on IBMQ: job summary on IBMQ


If you have more circuits than what the backend allows, consider using IBMQJobManager, which will divide the circuits and collect results for you.

| improve this answer | |

Checkout the backend max_experiments property. The amount of circuits in a job ( len(all_qc)) should be smaller than that.

For example, in ibmq_16_melbourne:

from qiskit import IBMQ

provider = IBMQ.get_provider(hub='ibm-q')
device = provider.get_backend('ibmq_16_melbourne')
| improve this answer | |
  • $\begingroup$ thanks for that, ibmq_manhattan has a limit of 900, however executing a single circuit took ~40s, so if I were to execute 900 then that would take about ~10 hours. I don't mind waiting, but does the backend not have an execution timeout? $\endgroup$ – MShakeG Sep 10 at 21:14
  • $\begingroup$ Not that I'm aware of... just make sure you have your job id to retrieve your result. $\endgroup$ – luciano Sep 10 at 21:18
  • $\begingroup$ will do, thanks :) $\endgroup$ – MShakeG Sep 10 at 21:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.