cirq.SimulatesFinalWaveFunction¶
-
class
cirq.SimulatesFinalWaveFunction[source]¶ Simulator that allows access to a quantum computer’s wavefunction.
Implementors of this interface should implement the simulate_sweepmethod. This simulator only returns the wave function for the finalstep of a simulation. For simulators that also allow stepping througha circuit seeSimulatesIntermediateWaveFunction.-
__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. -