Commit b8bfd90
authored
(1/2) Combine Pauli measurements and postselection (#7746)
I split this #7492 giant PR into
smaller pieces for easier review.
This PR:
1. Adds a CircuitToPauliStringsParameters class which supports
postselection_symmetries.
2. Modify the validation method
3. Allows measure_pauli_strings to take CircuitToPauliStringsParameters
as a input.1 parent e5173b7 commit b8bfd90
3 files changed
Lines changed: 377 additions & 186 deletions
File tree
- cirq-core/cirq/contrib/paulistring
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
0 commit comments