Simulate a Quil program and return the wavefunction.
If your program contains measurements or noisy gates, this method may not do what you want. If the execution of
quil_programis non-deterministic then the final wavefunction only represents a stochastically generated sample and the wavefunctions returned by different
wavefunctioncalls will generally be different.
Parameters: Return type: Returns:
A Wavefunction object representing the state of the QVM.