# cirq.CliffordSimulatorStepResult¶

class cirq.CliffordSimulatorStepResult(state, measurements)[source]

A StepResult that includes StateVectorMixin methods.

__init__(state, measurements)[source]
Results of a step of the simulator.
.. attribute:: state

A CliffordState

measurements
A dictionary from measurement gate key to measurement
results, ordered by the qubits that the measurement operates on.
qubit\_map
A map from the Qubits in the Circuit to the the index
of this qubit for a canonical ordering. This canonical ordering
is used to define the state vector (see the state_vector()
method).

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.