pub struct ProjectedKernelConfig {
pub gamma: f32,
pub embedding: PqkEmbedding,
}Expand description
Configuration for a projected quantum kernel.
Fields§
§gamma: f32RBF bandwidth γ > 0.
embedding: PqkEmbeddingEmbedding used to map classical data into quantum states.
Implementations§
Source§impl ProjectedKernelConfig
impl ProjectedKernelConfig
Sourcepub fn new(gamma: f32, embedding: PqkEmbedding) -> QuantumResult<Self>
pub fn new(gamma: f32, embedding: PqkEmbedding) -> QuantumResult<Self>
Trait Implementations§
Source§impl Clone for ProjectedKernelConfig
impl Clone for ProjectedKernelConfig
Source§fn clone(&self) -> ProjectedKernelConfig
fn clone(&self) -> ProjectedKernelConfig
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 moreAuto Trait Implementations§
impl Freeze for ProjectedKernelConfig
impl RefUnwindSafe for ProjectedKernelConfig
impl Send for ProjectedKernelConfig
impl Sync for ProjectedKernelConfig
impl Unpin for ProjectedKernelConfig
impl UnsafeUnpin for ProjectedKernelConfig
impl UnwindSafe for ProjectedKernelConfig
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