cirq.SimulatesSamples

class cirq.SimulatesSamples[source]

Simulator that mimics running on quantum hardware.

Implementors of this interface should implement the _run method.

__init__()

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

Methods

compute_samples_displays(program, …) Computes SamplesDisplays in the supplied Circuit or Schedule.
compute_samples_displays_sweep(program, …) Computes SamplesDisplays in the supplied Circuit or Schedule.
run(program, …) Samples from the given Circuit or Schedule.
run_sweep(program, …) Runs the supplied Circuit or Schedule, mimicking quantum hardware.