pub trait BatchExecution {
    // Required methods
    fn submit_execution(&mut self, instructions: &[Instruction]);
    fn get_result(&mut self) -> ResultData;
    fn get_status(&self) -> ExecutionStatus;
}
Expand description

A trait defining the interface for batch quantum execution.

Required Methods§

source

fn submit_execution(&mut self, instructions: &[Instruction])

Submits a set of quantum instructions for execution.

source

fn get_result(&mut self) -> ResultData

Retrieves the result of the quantum execution.

source

fn get_status(&self) -> ExecutionStatus

Retrieves the current status of the quantum execution.

Implementors§