pub struct AdvancedEquivalenceConfig {Show 15 fields
pub base_config: EquivalenceConfig,
pub comparison_methods: Vec<ComparisonMethod>,
pub svd_truncation_threshold: f64,
pub enable_canonicalization: bool,
pub max_canonicalization_depth: usize,
pub enable_qpt_verification: bool,
pub qpt_measurement_count: usize,
pub enable_fingerprinting: bool,
pub fingerprint_bits: usize,
pub enable_partitioning: bool,
pub partition_threshold: usize,
pub tolerance_settings: ToleranceSettings,
pub symmetry_detection_depth: usize,
pub enable_statistical_testing: bool,
pub statistical_confidence: f64,
}Expand description
Advanced configuration for SciRS2-enhanced equivalence checking
Fields§
§base_config: EquivalenceConfigBase configuration
comparison_methods: Vec<ComparisonMethod>Advanced comparison methods
svd_truncation_threshold: f64SVD truncation threshold for noise resilience
enable_canonicalization: boolEnable circuit canonicalization
max_canonicalization_depth: usizeMaximum circuit depth for canonicalization
enable_qpt_verification: boolEnable quantum process tomography verification
qpt_measurement_count: usizeNumber of Pauli basis measurements for QPT
enable_fingerprinting: boolEnable circuit fingerprinting for fast comparison
fingerprint_bits: usizeFingerprint hash size in bits
enable_partitioning: boolEnable state space partitioning for large circuits
partition_threshold: usizePartition size threshold (qubits)
tolerance_settings: ToleranceSettingsAdvanced tolerance settings
symmetry_detection_depth: usizeCircuit symmetry detection depth
enable_statistical_testing: boolEnable statistical equivalence testing
statistical_confidence: f64Statistical confidence level (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for AdvancedEquivalenceConfig
impl Clone for AdvancedEquivalenceConfig
Source§fn clone(&self) -> AdvancedEquivalenceConfig
fn clone(&self) -> AdvancedEquivalenceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvancedEquivalenceConfig
impl Debug for AdvancedEquivalenceConfig
Source§impl Default for AdvancedEquivalenceConfig
impl Default for AdvancedEquivalenceConfig
Source§impl<'de> Deserialize<'de> for AdvancedEquivalenceConfig
impl<'de> Deserialize<'de> for AdvancedEquivalenceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdvancedEquivalenceConfig
impl RefUnwindSafe for AdvancedEquivalenceConfig
impl Send for AdvancedEquivalenceConfig
impl Sync for AdvancedEquivalenceConfig
impl Unpin for AdvancedEquivalenceConfig
impl UnwindSafe for AdvancedEquivalenceConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.