cirq.WaveFunctionTrialResult

class cirq.WaveFunctionTrialResult(params: cirq.study.resolver.ParamResolver, measurements: Dict[str, numpy.ndarray], final_simulator_state: cirq.sim.wave_function_simulator.WaveFunctionSimulatorState)[source]

A SimulationTrialResult that includes the StateVectorMixin methods.

final\_state

The final wave function of the system.

__init__(params: cirq.study.resolver.ParamResolver, measurements: Dict[str, numpy.ndarray], final_simulator_state: cirq.sim.wave_function_simulator.WaveFunctionSimulatorState) → None[source]
Args:
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 (see the state_vector() method).