rigetti / qiskit-rigetti

Qiskit provider serving Rigetti hardware & simulator backends.
Apache License 2.0
8 stars 5 forks source link

Fix: Exceptions when executing via QuantumInstance #22

Closed dbanty closed 2 years ago

dbanty commented 2 years ago

Fixes #21. There may be more issue as well, so this is a draft until I can pair with @zohimchandani during a reservation to test the fix.

@rigetti/qcs max_experiments is how many experiments can be submitted as a single job (basically, how many we'll submit before waiting on all the results). I'm not sure what a good number is here, I don't believe we have any equivalent in pyQuil. Thoughts?

mhodson-rigetti commented 2 years ago

@dbanty when we're using pyquil v3's asynch job submission under the hood, 8 jobs in parallel has shown to be a good maximum, above which there isn't really any further throughput increase.

dbanty commented 2 years ago

Thanks @mhodson-rigetti! I'll adjust the upper limit to 8 for now then.

dbanty commented 2 years ago

I got word from @zohimchandani that this fix does the trick and the Qiskit code in question can run now!

rigetti-githubbot commented 2 years ago

:tada: This PR is included in version 0.4.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: