cirq.StepResult¶

class cirq.StepResult(measurements: Optional[Dict[str, List[int]]] = None)[source]

Results of a step of a SimulatesIntermediateState.

measurements
A dictionary from measurement gate key to measurement
results, ordered by the qubits that the measurement operates on.
__init__(measurements: Optional[Dict[str, List[int]]] = None) → None[source]

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

Methods

 sample(qubits[, repetitions, seed]) Samples from the system at this point in the computation. sample_measurement_ops(measurement_ops[, …]) Samples from the system at this point in the computation.