Module: cirq.work.observable_measurement

Classes

class BitstringAccumulator: A mutable container of bitstrings and associated metadata populated

class RepetitionsStoppingCriteria: Stop sampling when the number of repetitions has been reached.

class StoppingCriteria: An abstract object that queries a BitstringAccumulator to figure out

class VarianceStoppingCriteria: Stop sampling when average variance per term drops below a variance bound.

Functions

measure_grouped_settings(...): Measure a suite of grouped InitObsSetting settings.

MAX_REPETITIONS_PER_JOB 3000000

The maximum repetitions allowed in a single batch job.

This depends on the Sampler executing your batch job. It is set to be
tens of minutes assuming ~kilosamples per second.

TYPE_CHECKING False