Skip to content

Commit 8289496

Browse files
authored
Fix #854: change NoiseChannel.__str__ to use correct method (#856)
1 parent 55bc7be commit 8289496

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qsimcirq_tests/qsimcirq_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ def steps(self):
10451045
return [m for _, m in self._prob_op_pairs]
10461046

10471047
def __str__(self):
1048-
return f"NoiseChannel({self._ops})"
1048+
return f"NoiseChannel({self._prob_op_pairs})"
10491049

10501050
def __repr__(self):
10511051
return str(self)

0 commit comments

Comments
 (0)