-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix CompleteMeasFitter not imported in QuantumInstance #6782
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.
This LGTM as a workaround for the issue reported and as a backport for fixing the bug. My larger concern (which I don't think is worth blocking this on, but more something we'll need in the near future) is how to handle different types of mitigators. There is a proposed new one #6748 and a proposed common readout mitigator interface #6485 and this approach kind of ties our hands to a hard coded list of classes. But that being said this doesn't actually change the current state here, just fixes the import issue.
The only thing I think missing is a test for the case before that caused the import issue.
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
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.
LGTM, thanks for adding the test.
* Fix CompleteMeasFitter not imported in QuantumInstance * Update releasenotes/notes/completemeasfitter-386e94a271ba0180.yaml Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * added unit test Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit fbf389f)
* Fix CompleteMeasFitter not imported in QuantumInstance * Update releasenotes/notes/completemeasfitter-386e94a271ba0180.yaml Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * added unit test Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit fbf389f) Co-authored-by: Manoel Marques <Manoel.Marques@ibm.com>
* Fix CompleteMeasFitter not imported in QuantumInstance * Update releasenotes/notes/completemeasfitter-386e94a271ba0180.yaml Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * added unit test Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…#6782) * Fix CompleteMeasFitter not imported in QuantumInstance * Update releasenotes/notes/completemeasfitter-386e94a271ba0180.yaml Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * added unit test Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…#6782) * Fix CompleteMeasFitter not imported in QuantumInstance * Update releasenotes/notes/completemeasfitter-386e94a271ba0180.yaml Co-authored-by: Matthew Treinish <mtreinish@kortar.org> * added unit test Co-authored-by: Matthew Treinish <mtreinish@kortar.org> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
Fixes #6774
Fixes #6789
Details and comments