Skip to main content

projected_kernel

Function projected_kernel 

Source
pub fn projected_kernel(
    x: &[f32],
    y: &[f32],
    cfg: &ProjectedKernelConfig,
) -> QuantumResult<f32>
Expand description

Compute the projected quantum kernel value k_PQK(x, y).

§Errors

Returns QuantumError::DimensionMismatch if x and y differ in length, or propagates embedding errors.