pub struct CommutatorCheck<R: RealField> {
pub node_j: usize,
pub node_k: usize,
pub norm: R,
pub threshold: R,
pub margin: R,
pub commutes: bool,
}Expand description
One recorded commutator check (the shared B1(c)/Q-TOL telemetry).
Fields§
§node_j: usize§node_k: usize§norm: R‖[ρ_j, ρ_k]‖_F on the common support.
threshold: RThe Q-TOL acceptance threshold.
margin: Rnorm / threshold — ≤ 1 accepts.
commutes: boolWhether the pair passed (commuting within tolerance).
Trait Implementations§
Source§impl<R: Clone + RealField> Clone for CommutatorCheck<R>
impl<R: Clone + RealField> Clone for CommutatorCheck<R>
Source§fn clone(&self) -> CommutatorCheck<R>
fn clone(&self) -> CommutatorCheck<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<R: RealField> From<&CommutatorCheck<R>> for Check<R>
impl<R: RealField> From<&CommutatorCheck<R>> for Check<R>
Source§fn from(c: &CommutatorCheck<R>) -> Self
fn from(c: &CommutatorCheck<R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<R> Freeze for CommutatorCheck<R>where
R: Freeze,
impl<R> RefUnwindSafe for CommutatorCheck<R>where
R: RefUnwindSafe,
impl<R> Send for CommutatorCheck<R>where
R: Send,
impl<R> Sync for CommutatorCheck<R>where
R: Sync,
impl<R> Unpin for CommutatorCheck<R>where
R: Unpin,
impl<R> UnsafeUnpin for CommutatorCheck<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for CommutatorCheck<R>where
R: UnwindSafe,
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