pub struct QuantumProduct {
pub classical_part: bool,
pub quantum_correction: bool,
}Expand description
Quantum product result
Fields§
§classical_part: bool§quantum_correction: boolImplementations§
Source§impl QuantumProduct
impl QuantumProduct
pub fn has_classical_part(&self) -> bool
pub fn has_quantum_correction(&self) -> bool
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