cirq.SimulatesFinalWaveFunction

class cirq.SimulatesFinalWaveFunction[source]

Simulator that allows access to a quantum computer’s wavefunction.

Implementors of this interface should implement the simulate_sweep
method. This simulator only returns the wave function for the final
step of a simulation. For simulators that also allow stepping through
a circuit see SimulatesIntermediateWaveFunction.
__init__()

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

Methods

simulate(circuit, param_resolver, …) Simulates the entire supplied Circuit.
simulate_sweep(program, …) Simulates the entire supplied Circuit.