-
Notifications
You must be signed in to change notification settings - Fork 294
Add error_mitigation and sharpen configurations to IonQ backend
#470
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
Conversation
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 for these updates, @splch. Should these changes be paired with any updates to ionq.config to activate the changes? In any case, I'll also post a few suggested updates for my review comments below. Let me know if they meet your intentions.
runtime/cudaq/platform/default/rest/helpers/ionq/IonQServerHelper.cpp
Outdated
Show resolved
Hide resolved
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Command Bot: Processing... |
Command Bot: Processing... |
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Command Bot: Processing... |
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.
It would be nice to also update the IonQ section of the documentation (in docs/sphinx/using/hardware.rst) to explain how/when/why the user should use --ionq-debias and --ionq-sharpen. If that's too much trouble, then you could put it in this comment and I could update it after this PR gets merged.
runtime/cudaq/platform/default/rest/helpers/ionq/IonQServerHelper.cpp
Outdated
Show resolved
Hide resolved
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
I merged from main and applied updates based on my review comments. (Hopefully that's ok...we've got code cutoff for 0.5.0 coming very quickly now, and I figured it would be best to push this along.) I also ran all the IonQ tests that the nightly integration test would run, and they passed. |
Command Bot: Processing... |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Command Bot: Processing... |
error_mitigation and sharpen configurations to IonQ backend
Description
Error Mitigation
The IonQ quantum computation platform provides an error mitigation option, which can be specified in the backend configuration. To enable error mitigation, set the
error_mitigationfield in theBackendConfigobject to a map containingdebias: true, as follows:Post Example:
Sharpen
The IonQ quantum computation platform provides a sharpening feature to enhance the computation precision. This feature can be controlled by setting the
sharpenfield in theBackendConfigobject, as follows:Query Example: