XmonStepResult(stepper: cirq.google.sim.xmon_stepper.Stepper, qubit_map: Dict, measurements: Dict[str, List[bool]])¶
Results of a step of the simulator.
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 (see the state() method).
A dictionary from measurement gate key to measurement results, ordered by the qubits that the measurement operates on.
__init__(stepper: cirq.google.sim.xmon_stepper.Stepper, qubit_map: Dict, measurements: Dict[str, List[bool]]) → None¶
Initialize self. See help(type(self)) for accurate signature.
Samples from the wave function at this point in the computation.
Updates the state of the simulator to the given new state.
Return the state (wave function) at this point in the computation.