Trait PredictionModel

Source
pub trait PredictionModel:
    Send
    + Sync
    + Debug {
    // Required methods
    fn predict_execution_time(&self, operation: &dyn GateOp) -> Duration;
    fn predict_memory_usage(&self, operation: &dyn GateOp) -> usize;
    fn predict_fidelity(&self, operation: &dyn GateOp) -> f64;
}

Required Methods§

Source

fn predict_execution_time(&self, operation: &dyn GateOp) -> Duration

Source

fn predict_memory_usage(&self, operation: &dyn GateOp) -> usize

Source

fn predict_fidelity(&self, operation: &dyn GateOp) -> f64

Implementors§