[][src]Struct dqcsim::common::converter::UMatrixConverter

pub struct UMatrixConverter { /* fields omitted */ }

Matrix converter object for any matrix of a certain size - simply has the matrix itself as its parameter type.

Implementations

impl UMatrixConverter[src]

pub fn new(num_qubits: Option<usize>) -> UMatrixConverter[src]

Trait Implementations

impl MatrixConverter for UMatrixConverter[src]

type Parameters = Matrix

For parameterized matrices, this is the type of the parameters needed for construction/returned by detection. FromArb and ToArb must typically be defined for it Read more

Auto Trait Implementations

impl RefUnwindSafe for UMatrixConverter

impl Send for UMatrixConverter

impl Sync for UMatrixConverter

impl Unpin for UMatrixConverter

impl UnwindSafe for UMatrixConverter

Blanket Implementations

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

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

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,