pub enum PqkEmbedding {
Angle,
ZzFeatureMap {
reps: usize,
},
}Expand description
How a data vector is embedded into a quantum state before its local observables are read out.
Variants§
Angle
Angle embedding: Ry(x_i) on qubit i.
ZzFeatureMap
ZZ feature map (Havlíček 2019) with the given number of repetitions.
Trait Implementations§
Source§impl Clone for PqkEmbedding
impl Clone for PqkEmbedding
Source§fn clone(&self) -> PqkEmbedding
fn clone(&self) -> PqkEmbedding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PqkEmbedding
Source§impl Debug for PqkEmbedding
impl Debug for PqkEmbedding
impl Eq for PqkEmbedding
Source§impl PartialEq for PqkEmbedding
impl PartialEq for PqkEmbedding
Source§fn eq(&self, other: &PqkEmbedding) -> bool
fn eq(&self, other: &PqkEmbedding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PqkEmbedding
Auto Trait Implementations§
impl Freeze for PqkEmbedding
impl RefUnwindSafe for PqkEmbedding
impl Send for PqkEmbedding
impl Sync for PqkEmbedding
impl Unpin for PqkEmbedding
impl UnsafeUnpin for PqkEmbedding
impl UnwindSafe for PqkEmbedding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more