[][src]Struct q1tsim::gates::CU1

pub struct CU1 { /* fields omitted */ }

Controlled U1 gate.

Methods

impl CU1[src]

pub fn new<T>(lambda: T) -> Self where
    T: Clone,
    Parameter: From<T>, 
[src]

pub fn cost() -> f64[src]

Trait Implementations

impl Gate for CU1[src]

impl CQasm for CU1[src]

impl Latex for CU1[src]

impl OpenQasm for CU1[src]

Auto Trait Implementations

impl !Send for CU1

impl Unpin for CU1

impl !Sync for CU1

impl !UnwindSafe for CU1

impl !RefUnwindSafe for CU1

Blanket Implementations

impl<G> CircuitGate for G where
    G: Gate + CQasm + Latex + OpenQasm
[src]

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

impl<T> From<T> for 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,