-
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
Gate set tomography #1106
Gate set tomography #1106
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 @mho291 for implementing this. I left some comments below, I'm not finished yet, but in general I have the feeling that many code repetitions can be avoided. I would try to write some general functions that can be applied to all the different cases you encounter here. This would make the code much easier to follow and clean.
Hi @BrunoLiegiBastonLiegi! Most of the issues you've raised have been resolved. Thanks so much for looking through the code and providing helpful comments. The code that I have in my local device has all the resolved issues implemented and it works. Perhaps we can discuss some of the outstanding issues before I do another push. Thanks a lot! |
Hi, thanks for addressing the comments, can you push your local changes such that I can give it a look please? |
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 the updates @mho291. I think that some improvements are possible for the GST_measure_*
functions. I still have to go over the rest but I would focus on those first.
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 @mho291 for the updates. I made some further comments. In general I have the impression that this could be made a lot shorter by applying smarter design choices. Avoid hard coded definitions when possible, and try to write general helper functions that can be specialized for the different use cases. This would also make the code much easier to follow. Moreover, if there is a reference available for this implementation, please attach it to the first post in this PR.
Hi @mho291, can you push your latest changes so we can continue reviewing from there please? |
Just did. Sorry for the delay. I planned to push yesterday but I caught the covid bug. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1106 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 69 71 +2
Lines 10110 10202 +92
=========================================
+ Hits 10110 10202 +92
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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. The implementation of the method seems correct. Just a few comments and suggestions to shorten the code and avoid redundancies.
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.
Hi @mho291. Thanks for the changes. Here are some new suggestions:
@scarrazza @andrea-pasquale @Jacfomg Following conversations with @AlejandroSopena @ QIP 2024, I'd like to propose that the |
Sure, the renaming makes sense. |
- Added a comment on L93 to discuss. - Restructured the conditional statements in GST_execute_circuit().
for more information, see https://pre-commit.ci
Modified the conditional statements for GST().
for more information, see https://pre-commit.ci
Co-authored-by: Renato Mello <[email protected]>
Co-authored-by: Renato Mello <[email protected]>
Co-authored-by: Renato Mello <[email protected]>
Co-authored-by: Renato Mello <[email protected]>
Co-authored-by: Renato Mello <[email protected]>
Co-authored-by: Renato Mello <[email protected]>
…ate-set-tomography
One qubit calibration (empty circuit tomography)
Two qubit calibration (empty circuit tomography)
One qubit operator(s) gate set tomography
Two qubits operator(s) gate set tomography
Checklist: