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

run(program[, param_resolver, repetitions])

Samples from the given Circuit.

run_async(program, *, repetitions)

Asynchronously samples from the given Circuit.

run_sweep(program, params[, repetitions])

Runs the supplied Circuit, mimicking quantum hardware.

run_sweep_async(program, params[, repetitions])

Asynchronously sweeps and samples from the given Circuit.

sample(program, *[, repetitions, params])

Samples the given Circuit, producing a pandas data frame.