# cirq.SimulatesIntermediateWaveFunction¶

class cirq.SimulatesIntermediateWaveFunction[source]

A simulator that accesses its wave function as it does its simulation.

Implementors of this interface should implement the _simulator_iterator
method.
__init__()

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

Methods

 compute_amplitudes(program, bitstrings[, …]) Computes the desired amplitudes. compute_amplitudes_sweep(program, …[, …]) Computes the desired amplitudes. simulate(program[, param_resolver, …]) Simulates the supplied Circuit. simulate_moment_steps(circuit[, …]) Returns an iterator of StepResults for each moment simulated. simulate_sweep(program, params[, …]) Simulates the supplied Circuit.