netqasm.runtime.hardware¶
Execution of application scripts without setting up a backend.
The run_applications function simply spawns a thread for each of the applications given to it, and runs the Python script of each application. The relevant quantum node controllers are expected to be setup elsewhere, e.g. as real hardware that is connected to the machine that runs run_applications.
-
netqasm.runtime.hardware.
run_application
(app_instance, post_function=None, results_file=None, use_app_config=True)¶ - Parameters
app_instance (
ApplicationInstance
) –
-
netqasm.runtime.hardware.
save_results
(results, results_file)¶