Trait VerificationStrategy

Source
pub trait VerificationStrategy:
    Debug
    + Send
    + Sync {
    // Required methods
    fn verify(
        &self,
        original: &[TranslatedGate],
        translated: &[TranslatedGate],
    ) -> QuantRS2Result<VerificationResult>;
    fn name(&self) -> &str;
    fn confidence_level(&self) -> f64;
}
Expand description

Verification strategy trait

Required Methods§

Source

fn verify( &self, original: &[TranslatedGate], translated: &[TranslatedGate], ) -> QuantRS2Result<VerificationResult>

Verify a translation

Source

fn name(&self) -> &str

Get strategy name

Source

fn confidence_level(&self) -> f64

Get verification confidence level

Implementors§