cirq.SimulatesIntermediateState

class cirq.SimulatesIntermediateState[source]

A SimulatesFinalState that simulates a circuit by moments.

Whereas a general SimulatesFinalState may return the entire wave
function at the end of a circuit, a SimulatesIntermediateState can
simulate stepping through the moments of a circuit.
Implementors of this interface should implement the _simulator_iterator
method.
__init__()

Initialize self. See help(type(self)) for accurate signature.