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§
Sourcefn backend(&self) -> HardwareBackend
fn backend(&self) -> HardwareBackend
Get the hardware backend this gate is native to
Provided Methods§
Sourcefn requires_calibration(&self) -> bool
fn requires_calibration(&self) -> bool
Check if this gate requires calibration
Sourcefn calibration_params(&self) -> Vec<String>
fn calibration_params(&self) -> Vec<String>
Get calibration parameters