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