[][src]Struct q1tsim::gates::I

pub struct I {}

The identity gate

The identity gate leaves the qubits on which it acts unchanged.

Methods

impl I[src]

pub fn new() -> Self[src]

Create a new identity gate.

Trait Implementations

impl Gate for I[src]

impl CQasm for I[src]

impl Latex for I[src]

impl OpenQasm for I[src]

Auto Trait Implementations

impl Send for I

impl Unpin for I

impl Sync for I

impl UnwindSafe for I

impl RefUnwindSafe for I

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>,