[][src]Enum qip::pipeline::StateModifierType

pub enum StateModifierType {
    UnitaryOp(QubitOp),
    MeasureState(u64Vec<u64>, f64),
    StochasticMeasureState(u64Vec<u64>, f64),
    SideChannelModifiers(Vec<MeasurementHandle>, Box<SideChannelModifierFn>),
}

The set of ways to modify a QuantumState

Variants

UnitaryOp(QubitOp)

Ops such as matrices, swaps, and conditions

MeasureState(u64Vec<u64>, f64)

Measurements of the quantum state

StochasticMeasureState(u64Vec<u64>, f64)

Stochastic measurements which don't affect the state.

SideChannelModifiers(Vec<MeasurementHandle>, Box<SideChannelModifierFn>)

Subsections of the circuit which depend on measured values.

Trait Implementations

impl Debug for StateModifierType[src]

Auto Trait Implementations

Blanket Implementations

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