pub struct ReadoutDevice {
pub s0_fx: i64,
pub s1_fx: i64,
pub sigma_fx: i64,
pub seed: u64,
}Expand description
A dispersive readout projected onto its discrimination axis: |0⟩ ~ N(s0,σ),
|1⟩ ~ N(s1,σ). The calibrator gets labeled shots and finds the threshold.
Fields§
§s0_fx: i64§s1_fx: i64§sigma_fx: i64§seed: u64Implementations§
Trait Implementations§
Source§impl Clone for ReadoutDevice
impl Clone for ReadoutDevice
Source§fn clone(&self) -> ReadoutDevice
fn clone(&self) -> ReadoutDevice
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 ReadoutDevice
Auto Trait Implementations§
impl Freeze for ReadoutDevice
impl RefUnwindSafe for ReadoutDevice
impl Send for ReadoutDevice
impl Sync for ReadoutDevice
impl Unpin for ReadoutDevice
impl UnsafeUnpin for ReadoutDevice
impl UnwindSafe for ReadoutDevice
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