-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: missing extra in mitigated tomography analysis (#1344)
### Summary #1133 introduce a bug in `MitigatedTomographyAnalysis` that accidentally drops extra analysis metadata. This PR fixes the bug. ### Details and comments In the new data storage implementation with dataframe, `ExperimentData.analysis_results` returns a copy of the protected dataframe and mutating the returned object doesn't update the source. This PR introduces new option to `TomographyAnalysis` to inject extra metadata. <img width="993" alt="screenshot" src="https://github.com/Qiskit-Extensions/qiskit-experiments/assets/39517270/d8674af1-78ad-4870-bfea-d441f9dfd1e8"> (edit) note that reno is not necessary because 1133 is not released yet.
- Loading branch information
1 parent
a6c9e53
commit 2571675
Showing
5 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
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
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