def _create_simulator_trial_result(
        self,
        params: study.ParamResolver,
        measurements: dict[str, np.ndarray],
        final_simulator_state: cirq.SimulationStateBase[TSimulationState],
    ) -> SimulationTrialResult:
        """This method creates a default trial result.

        Args:
            params: The ParamResolver for this trial.
            measurements: The measurement results for this trial.
            final_simulator_state: The final state of the simulation.

        Returns:
            The SimulationTrialResult.
        """
        return SimulationTrialResult(
            params=params, measurements=measurements, final_simulator_state=final_simulator_state
        )
This method creates a default trial result.

        Args:
            params: The ParamResolver for this trial.
            measurements: The measurement results for this trial.
            final_simulator_state: The final state of the simulation.

        Returns:
            The SimulationTrialResult.
        
cirq-core/cirq/sim/simulator_test.py