[][src]Enum q1tsim::error::ExportError

pub enum ExportError {
    ExportPeekInvalid(&'static str),
    NoClassicalRegister,
    IncompleteConditionRegister,
    InvalidConditionalOp(String),
    NotImplemented(&'static strString),
    CantCloseLoop,
    RangeAlreadyOpen,
}

Enumeration for errors relating to the export of circuits

Variants

ExportPeekInvalid(&'static str)

Trying to export a peek into the quantum state

NoClassicalRegister

Classical registers not available in c-Qasm

IncompleteConditionRegister

Not using a full condition register in OpenQasm export

InvalidConditionalOp(String)

Unable to create condition operation in c-Qasm

NotImplemented(&'static strString)

Trying to export in a format for which no export function was written

CantCloseLoop

Trying to close a loop where none is open in LaTeX export

RangeAlreadyOpen

Trying to reserve range in LaTeX export, but previous reservation is open

Trait Implementations

impl PartialEq<ExportError> for ExportError[src]

impl From<ExportError> for Error[src]

impl Debug for ExportError[src]

impl Display for ExportError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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>,