-
Notifications
You must be signed in to change notification settings - Fork 127
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
Improve noisy tomography bases #997
Merged
chriseclectic
merged 12 commits into
qiskit-community:main
from
chriseclectic:update-local-basis
Feb 6, 2023
Merged
Improve noisy tomography bases #997
chriseclectic
merged 12 commits into
qiskit-community:main
from
chriseclectic:update-local-basis
Feb 6, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ihincks
reviewed
Dec 14, 2022
chriseclectic
force-pushed
the
update-local-basis
branch
2 times, most recently
from
January 19, 2023 15:42
2fd01a5
to
9b9b6ba
Compare
chriseclectic
added
the
Changelog: New Feature
Include in the "Added" section of the changelog
label
Jan 19, 2023
chriseclectic
force-pushed
the
update-local-basis
branch
3 times, most recently
from
January 23, 2023 21:04
203e130
to
a6e7569
Compare
ihincks
reviewed
Jan 27, 2023
This supports caching regular methods of class instances with optionally support for including hashable arg values in cache key.
Adds ability to initialize local preparation and measurement bases with custom noisy states, povms, or instructions for generating the noisy basis matrices.
* Use lru_cache internally for method_cache * remove cache kwarg from method cache and use fixed cache name based on the instances type
chriseclectic
force-pushed
the
update-local-basis
branch
from
January 30, 2023 17:47
a6e7569
to
dcfabdb
Compare
ihincks
reviewed
Feb 6, 2023
Co-authored-by: Ian Hincks <ian.hincks@gmail.com>
ihincks
approved these changes
Feb 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Improves
LocalMeasurementBasis
andLocalPreparationBasis
tomography basis classes support for initializing a noisy basis for performing state preparation and measurement error mitigatedStateTomography
andProcessTomography
experiments. For preparation bases reset noise in a specific qubit, or subset of qubits, can now be input as a quantum channel, and the noisy prepared states are generated by applying the ideal instructions to the noisy initial state. For measurement basis a noisy POVM or quantum channel can be supplied for the 0-index basis (typically the Z-basis), and other bases index POVMs will be generated by applying the ideal inverse instructions to the noisy POVMS.Adds an optional
mitigator
kwarg toPauliMeasurementBasis
which can be used to initialize the basis with aLocalReadoutMitigator
to construct a readout error mitigated basis for use withStateTomography
andProcessTomography
experiments. TheLocalReadoutError
experiment can be run to obtain theLocalReadoutMitigator
from its analysis results.Details and comments