code: def _run_and_measure(self, quil_program, qubits, trials, random_seed) -> np.ndarray:
          
          payload = run_and_measure_payload(quil_program, qubits, trials, random_seed)
          response = post_json(self.session, self.sync_endpoint + "/qvm", payload)
          return np.asarray(response.json())
docs: Run a Forest ``run_and_measure`` job.
  
          Users should use :py:func:`WavefunctionSimulator.run_and_measure` instead of calling
          this directly.