Trait ket::execution::BatchExecution
source · 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§
sourcefn submit_execution(&mut self, instructions: &[Instruction])
fn submit_execution(&mut self, instructions: &[Instruction])
Submits a set of quantum instructions for execution.
sourcefn get_result(&mut self) -> ResultData
fn get_result(&mut self) -> ResultData
Retrieves the result of the quantum execution.
sourcefn get_status(&self) -> ExecutionStatus
fn get_status(&self) -> ExecutionStatus
Retrieves the current status of the quantum execution.