def get_processor(self) -> cg.engine.SimulatedLocalProcessor:
        """Return a `cg.SimulatedLocalProcessor` for the specified processor_id."""
        return cg.engine.SimulatedLocalProcessor(
            processor_id=self.processor_id,
            sampler=self._get_input_sampler(),
            device=self._get_input_device(),
        )
Return a `cg.SimulatedLocalProcessor` for the specified processor_id.
cirq-google/cirq_google/workflow/processor_record.py