Struct lay_simulator_gk::GottesmanKnillSimulator[][src]

pub struct GottesmanKnillSimulator<Rng> { /* fields omitted */ }

Implementations

impl GottesmanKnillSimulator<DefaultRng>[src]

pub fn from_seed(n: u32, seed: u64) -> Self[src]

impl<Rng: RngCore> GottesmanKnillSimulator<Rng>[src]

pub fn from_rng(n: u32, rng: Rng) -> Self[src]

impl<Rng> GottesmanKnillSimulator<Rng>[src]

pub fn dump_print(&self)[src]

pub fn n_qubits(&self) -> u32[src]

Trait Implementations

impl<Rng: RngCore + Debug> CXGate for GottesmanKnillSimulator<Rng>[src]

impl<Rng: Debug> Debug for GottesmanKnillSimulator<Rng>[src]

impl<Rng: RngCore + Debug> HGate for GottesmanKnillSimulator<Rng>[src]

impl<Rng: RngCore + Debug> Layer for GottesmanKnillSimulator<Rng>[src]

type Operation = OpArgs<Self>

type Qubit = u32

type Slot = u32

type Buffer = BitArray

type Requested = ()

type Response = ()

impl<Rng: RngCore + Debug> PauliGate for GottesmanKnillSimulator<Rng>[src]

impl<Rng: RngCore + Debug> SGate for GottesmanKnillSimulator<Rng>[src]

Auto Trait Implementations

impl<Rng> RefUnwindSafe for GottesmanKnillSimulator<Rng> where
    Rng: RefUnwindSafe
[src]

impl<Rng> Send for GottesmanKnillSimulator<Rng> where
    Rng: Send
[src]

impl<Rng> Sync for GottesmanKnillSimulator<Rng> where
    Rng: Sync
[src]

impl<Rng> Unpin for GottesmanKnillSimulator<Rng> where
    Rng: Unpin
[src]

impl<Rng> UnwindSafe for GottesmanKnillSimulator<Rng> where
    Rng: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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.