def results(self) -> Iterable[ObservableMeasuredResult]:
        """Yield individual setting results as `ObservableMeasuredResult`
        objects."""
        for setting in self._simul_settings:
            yield ObservableMeasuredResult(
                setting=setting,
                mean=self.mean(setting),
                variance=self.variance(setting),
                repetitions=len(self.bitstrings),
                circuit_params=self._meas_spec.circuit_params,
            )
Yield individual setting results as `ObservableMeasuredResult`
        objects.
cirq-core/cirq/work/observable_measurement_data.py