Skip to content

Commit

Permalink
Nitpick on comment after quantumlib#5724 (quantumlib#5732)
Browse files Browse the repository at this point in the history
Avoid head scratching over a reference to method removed in quantumlib#5724.
  • Loading branch information
pavoljuhas authored and rht committed May 1, 2023
1 parent ab12106 commit 9568582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-core/cirq/devices/noise_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def noisy_moments(
split_measure_moments.append(circuits.Moment(split_measure_ops))

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

0 comments on commit 9568582

Please sign in to comment.