XmonStepResult(stepper: cirq.google.sim.xmon_stepper.Stepper, qubit_map: Dict, measurements: Dict[str, numpy.ndarray])¶
Results of a step of the simulator.
A map from the Qubits in the Circuit to the the indexof this qubit for a canonical ordering. This canonical ordering isused to define the state (see the state_vector() method).
A dictionary from measurement gate key to measurementresults, ordered by the qubits that the measurement operates on.
__init__(stepper: cirq.google.sim.xmon_stepper.Stepper, qubit_map: Dict, measurements: Dict[str, numpy.ndarray]) → None¶
Initialize self. See help(type(self)) for accurate signature.
Returns the bloch vector of a qubit in the state.
Returns the density matrix of the state.
Returns the state vector as a string in Dirac notation.
Samples from the wave function at this point in the computation.
Samples from the system at this point in the computation.
Updates the state of the simulator to the given new state.
Returns the simulator_state of the simulator after this step.
Return the wave function at this point in the computation.