SparseSimulatorStep(state_vector, measurements, qubit_map, dtype)¶
__init__(state_vector, measurements, qubit_map, dtype)¶
Results of a step of the simulator.
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).
measurements – A dictionary from measurement gate key to measurement results, ordered by the qubits that the measurement operates on.