pub struct QuantumProduct {
pub classical_part: bool,
pub quantum_correction: bool,
}Expand description
Quantum product result
Fields§
§classical_part: boolWhether the product has a classical (non-quantum) component
quantum_correction: boolWhether the product has quantum corrections
Implementations§
Source§impl QuantumProduct
impl QuantumProduct
Sourcepub fn has_classical_part(&self) -> bool
pub fn has_classical_part(&self) -> bool
Check if product has classical component
Sourcepub fn has_quantum_correction(&self) -> bool
pub fn has_quantum_correction(&self) -> bool
Check if product has quantum correction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QuantumProduct
impl RefUnwindSafe for QuantumProduct
impl Send for QuantumProduct
impl Sync for QuantumProduct
impl Unpin for QuantumProduct
impl UnwindSafe for QuantumProduct
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