-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update IonQBackend to handle circuit lists of size one #201
Conversation
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
I re-verified the claim I'd made about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jplewa for fixing this issue and adding tests as well! It looks good to me but before we merge to main
we also want to support this on the Honeywell backend, i.e. in HoneywellBackend.run
.
Co-authored-by: Guen Prawiroatmodjo <guenp@microsoft.com>
/azp run |
Azure Pipelines successfully started running 2 pipeline(s). |
closes #200
Qiskit's
BackendV1
supports lists of circuits in itsrun
method. This isn't implemented in azure-quantum and qiskit-ionq, which means that passing a list results in confusing exceptions. A while ago, qiskit-ionq added some changes that make it possible to handle circuit lists of length 1 and also added more explicit error messages (see qiskit-community/qiskit-ionq#71). They also have an issue for adding multi-circuit experiment support in the future (see qiskit-community/qiskit-ionq#70).I believe it would make sense to do the same in azure-quantum, because currently some of Qiskit's features are not usable. I reported this issue in #200.
To make Qiskit's features such asMaximumLikelihoodAmplitudeEstimation
usable, azure-quantum would actually need to learn how to handle multi-circuit experiments, but with this PR we can at least makeAmplitudeEstimation
,IterativeAmplitudeEstimation
, andFasterAmplitudeEstimation
usable, since they pass single-element circuit lists to therun
method.EDIT: With this PR, every amplitude estimation method from Qiskit should start working.