[][src]Enum q1tsim::stabilizer::PauliOp

pub enum PauliOp {
    I,
    Z,
    X,
    Y,
}

Enumeration for the Pauli spin operations

Variants

I

Identity

Z

Pauli Z

X

Pauli X

Y

Pauli Y

Methods

impl PauliOp[src]

pub fn from_bits(bits: u64) -> Self[src]

Create a new PauliOp from its bit representation

pub fn to_bits(self) -> u64[src]

Convert a PauliOp to its bit representation

Trait Implementations

impl Clone for PauliOp[src]

impl PartialEq<PauliOp> for PauliOp[src]

impl Copy for PauliOp[src]

impl Debug for PauliOp[src]

impl Display for PauliOp[src]

Auto Trait Implementations

impl Send for PauliOp

impl Unpin for PauliOp

impl Sync for PauliOp

impl UnwindSafe for PauliOp

impl RefUnwindSafe for PauliOp

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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