QuantumComputer.run

QuantumComputer.run(executable)[source]

Run a quil executable.

Parameters:executable (Union[BinaryExecutableResponse, PyQuilExecutableResponse]) – The program to run. You are responsible for compiling this first.
Return type:ndarray
Returns:A numpy array of shape (trials, len(ro-register)) that contains 0s and 1s