Skip to content

Commit 9568582

Browse files
pavoljuhasrht
authored andcommitted
Nitpick on comment after quantumlib#5724 (quantumlib#5732)
Avoid head scratching over a reference to method removed in quantumlib#5724.
1 parent ab12106 commit 9568582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/devices/noise_properties.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def noisy_moments(
8686
split_measure_moments.append(circuits.Moment(split_measure_ops))
8787

8888
# Append PHYSICAL_GATE_TAG to non-virtual ops in the input circuit,
89-
# using `self.virtual_predicate` to determine virtuality.
89+
# using `self.is_virtual` to determine virtuality.
9090
new_moments = []
9191
for moment in split_measure_moments:
9292
virtual_ops = {op for op in moment if self.is_virtual(op)}

0 commit comments

Comments
 (0)