pub struct Amplitude {
pub im: Float,
pub re: Float,
}
Expand description
An amplitude that makes up a Quantum State
Fields§
§im: Float
imaginary component
re: Float
real component
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Amplitude
impl Send for Amplitude
impl Sync for Amplitude
impl Unpin for Amplitude
impl UnwindSafe for Amplitude
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