class_docstr: Class for a runner that works with the BackendSimulator.
class_docstr_tok: ["Class","for","a","runner","that","works","with","the","BackendSimulator","."]
docstr: Start a trial on the BackendSimulator.
  
  Args:
      trial: Trial to deploy via the runner.
  
  Returns:
      Dict containing the sampled runtime of the trial.
docstr_tok: ["Start","a","trial","on","the","BackendSimulator",".","Args",":","trial",":","Trial","to","deploy","via","the","runner",".","Returns",":","Dict","containing","the","sampled","runtime","of","the","trial","."]
code: def run(self, trial: BaseTrial) -> Dict[str, Any]:
      """Start a trial on the BackendSimulator.
  
      Args:
          trial: Trial to deploy via the runner.
  
      Returns:
          Dict containing the sampled runtime of the trial.
      """
      runtime = self.sample_runtime_func(trial)
      self.simulator.run_trial(trial_index=trial.index, runtime=runtime)
      return {"runtime": runtime}
  
file_path: Ax/ax/runners/simulated_backend.py
imports: from collections import defaultdict
  from typing import Any, Callable, Dict, Iterable, Optional, Set
  import numpy
  from ax.core.base_trial import BaseTrial, TrialStatus
  from ax.core.runner import Runner
  from ax.utils.testing.backend_simulator import BackendSimulator
label_desc: Use image node_id 3 for calling the SimulatedBackendRunner obj's underlying member method code with example usage: obj.run(trial) and returns: dict