class cirq.SimulatesAmplitudes[source]

Simulator that computes final amplitudes of given bitstrings.

Given a circuit and a list of bitstrings, computes the amplitudes
of the given bitstrings in the state obtained by applying the circuit
to the all zeros state. Implementors of this interface should implement
the compute_amplitudes_sweep method.

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