Commit db183d8
Fix flakes in pauli_string_measurement_with_readout_mitigation_test (quantumlib#7185)
* Deflake pauli_string_measurement_with_readout_mitigation_test
Ensure random Pauli strings have a non-identity operator for real.
* Add missing spaces to exception message
* Simplify - make do without an extra local variable1 parent 04167b3 commit db183d8
File tree
2 files changed
+6
-10
lines changed- cirq-core/cirq/contrib/paulistring
2 files changed
+6
-10
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 39 | | |
| 40 | + | |
| 41 | + | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
461 | 457 | | |
462 | 458 | | |
463 | 459 | | |
464 | | - | |
465 | | - | |
| 460 | + | |
| 461 | + | |
466 | 462 | | |
467 | 463 | | |
468 | 464 | | |
| |||
0 commit comments