pub enum SemanticsPath {
Exact,
Numeric,
}Expand description
Which semantics decided a value derived from a CircuitModel.
The exact path carries Pauli and Clifford programs as their symplectic action and diagonal
Table 1 gates as GaugeFieldGate phase tables; it has no
register-width limit and its residuals are zero or not. The numeric path carries a program at
the Kraus level and compares Choi operators of the composite channel in Frobenius norm under a
cap. Every report names the path, so a verdict reached numerically is never read as exact.
Variants§
Exact
Decided over 𝔽₂ and exact rationals.
Numeric
Decided on Choi operators in Frobenius norm against a tolerance.
Implementations§
Trait Implementations§
Source§impl Clone for SemanticsPath
impl Clone for SemanticsPath
Source§fn clone(&self) -> SemanticsPath
fn clone(&self) -> SemanticsPath
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 moreimpl Copy for SemanticsPath
Source§impl Debug for SemanticsPath
impl Debug for SemanticsPath
impl Eq for SemanticsPath
Source§impl Hash for SemanticsPath
impl Hash for SemanticsPath
Source§impl PartialEq for SemanticsPath
impl PartialEq for SemanticsPath
impl StructuralPartialEq for SemanticsPath
Auto Trait Implementations§
impl Freeze for SemanticsPath
impl RefUnwindSafe for SemanticsPath
impl Send for SemanticsPath
impl Sync for SemanticsPath
impl Unpin for SemanticsPath
impl UnsafeUnpin for SemanticsPath
impl UnwindSafe for SemanticsPath
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