Struct lay_simulator_gk::GottesmanKnillSimulator [−][src]
Implementations
impl GottesmanKnillSimulator<DefaultRng>
[src]
impl<Rng: RngCore> GottesmanKnillSimulator<Rng>
[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 = ()
fn send(&mut self, ops: &[OpArgs<Self>])
[src]
fn receive(&mut self, buf: &mut BitArray)
[src]
fn send_receive(&mut self, ops: &[OpArgs<Self>], buf: &mut BitArray)
[src]
fn make_buffer(&self) -> Self::Buffer
[src]
pub fn opsvec(&self) -> OpsVec<Self>
[src]
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]
Rng: RefUnwindSafe,
impl<Rng> Send for GottesmanKnillSimulator<Rng> where
Rng: Send,
[src]
Rng: Send,
impl<Rng> Sync for GottesmanKnillSimulator<Rng> where
Rng: Sync,
[src]
Rng: Sync,
impl<Rng> Unpin for GottesmanKnillSimulator<Rng> where
Rng: Unpin,
[src]
Rng: Unpin,
impl<Rng> UnwindSafe for GottesmanKnillSimulator<Rng> where
Rng: UnwindSafe,
[src]
Rng: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,