![]() |
Stop sampling when the number of repetitions has been reached.
Inherits From: StoppingCriteria
cirq.work.RepetitionsStoppingCriteria(
total_repetitions: int, repetitions_per_chunk: int = 10000
)
Attributes | |
---|---|
total_repetitions
|
Dataclass field |
repetitions_per_chunk
|
Dataclass field |
Methods
more_repetitions
more_repetitions(
accumulator: cirq.work.BitstringAccumulator
) -> int
Return the number of additional repetitions to take.
StoppingCriteria should be respectful and have some notion of a maximum number of repetitions per chunk.
__eq__
__eq__(
other
)
Class Variables | |
---|---|
repetitions_per_chunk |
10000
|