Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tags to MeasureInfo - When we call cirq.google.api.v2.find_measurements, we need a way to retrieve tags that were originally on the circuit. - This adds tags to the NamedTuple that is returned by this function that includes tags. - This also changes MeasureInfo into a dataclass. This does change the output of this function, but, since it is an additive change, it should be minimally breaking.
- Loading branch information
1 parent
680ae21
commit fbafbd5
Showing
2 changed files
with
51 additions
and
19 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