[][src]Enum dqcsim::common::protocol::PipelinedGatestreamDown

pub enum PipelinedGatestreamDown {
    Allocate(usizeVec<ArbCmd>),
    Free(Vec<QubitRef>),
    Gate(Gate),
    Advance(Cycles),
}

Enumeration of pipelined gatestream messages.

Variants

Allocate(usizeVec<ArbCmd>)

Requests allocation of a number of qubits.

The ArbCmd vector allows commands to be associated with a qubit register. This can for instance be used to customize error parameters for a specific qubit or qubit register.

Free(Vec<QubitRef>)

Requests that one or more qubits be freed.

Gate(Gate)

Requests execution of a gate.

Advance(Cycles)

Advances the simulation by the specified number of cycles.

Trait Implementations

impl PartialEq<PipelinedGatestreamDown> for PipelinedGatestreamDown[src]

impl Debug for PipelinedGatestreamDown[src]

impl Serialize for PipelinedGatestreamDown[src]

impl<'de> Deserialize<'de> for PipelinedGatestreamDown[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]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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