qstone.connectors.backends.rigetti.runner module
Quantum executor for Rigetti backend
-
class qstone.connectors.backends.rigetti.runner.RigettiConnection[source]
Bases: Connection
Connection running jobs to Rigetti backend
-
postprocess(message: str) → dict[source]
Postprocess the data
-
preprocess(qasm_ptr: str) → Program[source]
Preprocess the data. Transform QASM format into PyQuil
-
run(qasm_ptr: str, reps: int, mode: str, qpu_host: str, qpu_port: int, compiler_host: str, compiler_port: int, target: str, lockfile: str) → dict[source]
Run the connection to the server