HardwareGate

Trait HardwareGate 

Source
pub trait HardwareGate: GateOp {
    // Required method
    fn backend(&self) -> HardwareBackend;

    // Provided methods
    fn metadata(&self) -> HashMap<String, String> { ... }
    fn requires_calibration(&self) -> bool { ... }
    fn calibration_params(&self) -> Vec<String> { ... }
}
Expand description

Trait for hardware-specific gate implementations

Required Methods§

Source

fn backend(&self) -> HardwareBackend

Get the hardware backend this gate is native to

Provided Methods§

Source

fn metadata(&self) -> HashMap<String, String>

Get hardware-specific metadata

Source

fn requires_calibration(&self) -> bool

Check if this gate requires calibration

Source

fn calibration_params(&self) -> Vec<String>

Get calibration parameters

Implementors§