Skip to content

Commit

Permalink
Documentation fix for cirq.Circuit.prev_moment_operating_on (quantu…
Browse files Browse the repository at this point in the history
…mlib#4895)

See quantumlib#4894 concerning a single-word documentation error for `cirq.Circuit.prev_moment_operating_on`
  • Loading branch information
perlinm authored and rht committed May 1, 2023
1 parent 464d9c9 commit 6d74457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-core/cirq/circuits/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def prev_moment_operating_on(
end_moment_index: Optional[int] = None,
max_distance: Optional[int] = None,
) -> Optional[int]:
"""Finds the index of the next moment that touches the given qubits.
"""Finds the index of the previous moment that touches the given qubits.
Args:
qubits: We're looking for operations affecting any of these qubits.
Expand Down

0 comments on commit 6d74457

Please sign in to comment.