<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _wavefunction(self, quil_program, random_seed) -> Wavefunction: """ Run a Forest ``wavefunction`` job. Users should use :py:func:`WavefunctionSimulator.wavefunction` instead of calling this directly. """


        payload = wavefunction_payload(quil_program, random_seed)
        response = post_json(self.session, self.sync_endpoint + "/qvm", payload)
        return Wavefunction.from_bit_packed_string(response.content)