class cirq.SimulatesFinalState[source]

Simulator that allows access to a quantum computer’s final state.

Implementors of this interface should implement the simulate_sweep
method. This simulator only returns the state of the quantum system
for the final step of a simulation. This simulator state may be a wave
function, the density matrix, or another representation, depending on the
implementation. For simulators that also allow stepping through
a circuit see SimulatesIntermediateState.

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


simulate(program[, param_resolver, …])

Simulates the supplied Circuit.

simulate_sweep(program, params[, …])

Simulates the supplied Circuit.