This guide covers everything from setting up a multicircuit job, submitting it to IonQ’s backend, and retrieving the results.
Jobs contain a circuit to be executed on a QPU, and in the case of multicircuit jobs, multiple circuits are being submitted in a single job payload. The advantage of this approach is that it simplifies the submission process, allowing for example, all of the circuits of a gradient calculation to be submitted in a single HTTP request, instead of over hundreds.When submitting work from a local environment with a poor internet connection, this can also help overcome job submissions failing intermittently from network issues.
To ensure smooth processing, please format your quantum programs in
ionq.circuit.v0 as demonstrated below.