[][src]Struct kvantti::ket::Ket

pub struct Ket { /* fields omitted */ }

A ket is a two-dimensional vector. It has two components, "first" and "second". These components, individually, are complex numbers. The value of each component can also be called an amplitude.

Trait Implementations

impl ValidQuantumState for Ket[src]

impl Clone for Ket[src]

impl Copy for Ket[src]

impl Eq for Ket[src]

impl PartialEq<Ket> for Ket[src]

impl Debug for Ket[src]

impl Add<Ket> for Ket[src]

type Output = Self

The resulting type after applying the + operator.

impl Mul<Complex<f64>> for Ket[src]

type Output = Ket

The resulting type after applying the * operator.

impl Mul<Ket> for Complex64[src]

type Output = Ket

The resulting type after applying the * operator.

Auto Trait Implementations

impl Send for Ket

impl Sync for Ket

impl Unpin for Ket

impl UnwindSafe for Ket

impl RefUnwindSafe for Ket

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]