Documentation for cirq.Circuit.prev_moment_operating_on
is incorrect
#4894
Labels
kind/bug-report
Something doesn't seem to work.
Description of the issue
The docstring summaries for
cirq.Circuit.next_moment_operating_on
andcirq.Circuit.prev_moment_operating_on
are identical: both say "Finds the index of the next moment that touches the given qubits."The docstring for
cirq.Circuit.prev_moment_operating_on
should either say "Finds the index of the previous moment that touches the given qubits.", or else somehow specify that "next" means "next in a search backwards through the circuit".How to reproduce the issue
See links above, or examine docstring via
Cirq version
Issue identical in
cirq
versions0.13.1
and0.14.0.dev20220105215702
The text was updated successfully, but these errors were encountered: