pub struct SuperdenseResult {
pub decoded: (bool, bool),
pub probability: f32,
}Expand description
Outcome of superdense_decode.
Fields§
§decoded: (bool, bool)The two decoded classical bits (b0, b1).
probability: f32Probability mass on the decoded computational-basis string (≈ 1).
Trait Implementations§
Source§impl Clone for SuperdenseResult
impl Clone for SuperdenseResult
Auto Trait Implementations§
impl Freeze for SuperdenseResult
impl RefUnwindSafe for SuperdenseResult
impl Send for SuperdenseResult
impl Sync for SuperdenseResult
impl Unpin for SuperdenseResult
impl UnsafeUnpin for SuperdenseResult
impl UnwindSafe for SuperdenseResult
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