![]() |
Results of a simulation by a SimulatesFinalState.
Inherits From: SimulationTrialResult
cirq.sim.MPSTrialResult(
params: cirq.study.ParamResolver
,
measurements: Dict[str, np.ndarray],
final_simulator_state: "MPSState"
) -> None
Unlike Result these results contain the final simulator_state of the system. This simulator_state is dependent on the simulation implementation and may be, for example, the state vector or the density matrix of the system.
Attributes | |
---|---|
params
|
A ParamResolver of settings used for this result. |
measurements
|
A dictionary from measurement gate key to measurement results. Measurement results are a numpy ndarray of actual boolean measurement results (ordered by the qubits acted on by the measurement gate.) |
qubit_map
|
A map from Qid to index used to define the ordering of the basis in the result. |
Methods
__eq__
__eq__(
other: _SupportsValueEquality
) -> bool
__ne__
__ne__(
other: _SupportsValueEquality
) -> bool