Skip to main content

py_submit_async

Function py_submit_async 

Source
pub fn py_submit_async(
    py: Python<'_>,
    program: String,
    patch_values: HashMap<String, Vec<f64>>,
    quantum_processor_id: Option<String>,
    client: Option<PyQcsClient>,
    execution_options: Option<PyExecutionOptions>,
) -> PyResult<&PyAny>
Expand description

Submits an executable program to be run on the specified QPU

ยงErrors

May return an error if

  • an engagement is not available
  • an RPCQ client cannot be built
  • the program cannot be submitted