-
Notifications
You must be signed in to change notification settings - Fork 60
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
Integration of Mitiq's ZNE #302
Conversation
Merge dev into main
calibration data structure for zne. * 'available_error_mitigation_techniques' list now includes 'mitiq_zne' * compile() from QAOA class now creates a ZNEWrapper * Some small fixes over ZNEWrapper class.
… with noiseless qaoa
Hi @KilianPoirier, All the comments have been addressed, and the The example notebook is a good idea. Do we do that in this PR or create another one? Thanks! |
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.
A few more comments here.
I approved the test pipeline run, so you'll have more info if the test are passing or not now that you have merged dev back into your branches.
Edit: Please add mitiq
to the requirement file.
Concerning the example notebook, feel free to add them to this PR since everything is related to the feature you're developing. |
Hi @KilianPoirier, I have added We are going to work on the example notebooks and the rest of the tests. Thanks! |
Hi @victor-onofre , Thanks for updating the requirements. |
Hi @KilianPoirier! We have push an update with the example notebook and the tests. Now is ready for another review. Thanks! |
Hey @victor-onofre , it seems the regular tests are failing now. It is most likely due to the use of images in your example notebook. Can you try copying the images directly in the notebook without using PIL? I will also have a look at the docs and let you know if I find anything. |
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.
Only minor comments. Good job on the implementation of tests and the recent changes!
I have a clue where the issue lies for the docs tests, try to add the following line in the toctree openqaoa/docs/source/index.rst
, l.306
notebooks/15_Zero_Noise_Extrapolation.ipynb
Hi @KilianPoirier! We have followed the two recommendations you give us to solve the docs issue (not using PIL and adding the line in openqaoa/docs/source/index.rst). We have also solved the other secondary issues. Thanks for your feedback! |
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.
Looks good to me!
Description
Checklist
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
We have been testing the wrapper with the Max Cut problem but we need help on defining unit-tests. What will be the best test to add?