pub struct StateCheckpoint { /* private fields */ }Expand description
Snapshot of a quantum state-vector that can be serialised and restored.
The internal representation stores amplitudes as interleaved (re, im) f64
pairs in little-endian byte order so that the checkpoint is
platform-independent.
Implementations§
Trait Implementations§
Source§impl Clone for StateCheckpoint
impl Clone for StateCheckpoint
Source§fn clone(&self) -> StateCheckpoint
fn clone(&self) -> StateCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StateCheckpoint
impl RefUnwindSafe for StateCheckpoint
impl Send for StateCheckpoint
impl Sync for StateCheckpoint
impl Unpin for StateCheckpoint
impl UnsafeUnpin for StateCheckpoint
impl UnwindSafe for StateCheckpoint
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