[][src]Struct q1tsim::gates::V

pub struct V {}

The V gate

The V gate is the square root of the X gate. The associated matrix is

    ┌         ┐
1/2 │ 1+i 1-i │
    │ 1-i 1+i │
    └         ┘

Methods

impl V[src]

pub fn new() -> Self[src]

Create a new V gate.

Trait Implementations

impl Gate for V[src]

impl CQasm for V[src]

impl Latex for V[src]

impl OpenQasm for V[src]

Auto Trait Implementations

impl Send for V

impl Unpin for V

impl Sync for V

impl UnwindSafe for V

impl RefUnwindSafe for V

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