-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: add a method to easily access the state "snapshots" (#100)
* add a method to easily access the state "snapshots" after sampling * add unittests * add release note * Apply suggestions from code review * Update povm_toolbox/quantum_info/product_frame.py * update release note --------- Co-authored-by: Max Rossmannek <oss@zurich.ibm.com>
- Loading branch information
Showing
5 changed files
with
92 additions
and
3 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
10 changes: 10 additions & 0 deletions
10
releasenotes/notes/add-get-snapshot-method-ee4f85a7b06cb373.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
features: | ||
- | | ||
A new method, :meth:`.POVMPostProcessor.get_state_snapshot`, is implemented to easily access the | ||
classical "snapshots" of the state after taking some measurements. A classical "snapshot" of the | ||
state is the dual frame operator associated with the corresponding outcome. The new method | ||
returns the snapshot (typically as a product of local operators) associated with the queried | ||
outcome (typically a tuple of integers). | ||
In parallel, the :meth:`.ProductFrame.get_operator` method has been added for more general | ||
access to frame operators in a product form. |
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