Questions tagged [kernel-methods]

Kernel methods are a class of machine learning algorithms for pattern analysis (e.g. SVMs). Any linear model can be turned into a non-linear model by applying the kernel trick to the model, i.e. replacing its features with a kernel function. Quantum computers are expected to improve existing classical kernel-based ML methods through their ability to efficiently access and manipulate data in large quantum feature spaces, which is classically intractable.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Quantum Kernel Method: If the input is the QK provided by the variable qiskit, is it still true?

The puzzle is from Case 1: Case 2:
2 votes
2 answers

Quantum SVM with large feature set

I am trying to practice QSVM from the following tutorial Introduction into Quantum Support Vector Machines The author has used 2 feature_dimension with 2 component PCA ...
0 votes
0 answers

Quantum Kernel Machine Learning loss function and the plot of kernel?

When I was doing quantum machine learning, after building the quantum kernel, I drew the graph of the loss function changing with the iteration function and the graph of the quantum kernel, but I ...
0 votes
0 answers

ValueError: setting an array element with a sequence for qiskit

I am trying to implement Quantum Kernel Ridge Regression (replacing the classical kernel with quantum kernel) in qiskit. The shape of my input x is (7165 x 529) and due to reshaping errors, I added an ...
0 votes
0 answers

Simulator job stuck when running QuantumKernel. Can not get job id, Resubmit the qobj to get job id. Terra job error

I have a script estimating a quantum kernel which follows On my local machine (MacOS) the script runs fine. On a ...
1 vote
1 answer

How does the ZZ Feature Map influence the measurement?

I've been look at this Notebook from qiskit and trying to understand whats happening, but can't quite figure it out. From my understanding, rotations around the Z ...
1 vote
1 answer

Kernel ridge regression with qiskit's FeatureMap shows nonlinear patterns outside [0,1] range

I'm implementing a kernel ridge regressor using qiskit's FeatureMap and QuantumKernel to compute the alpha parameters of the solution. If I try to fit my model with non-normalized features I obtain ...
6 votes
1 answer

Is a "kernel" just the quantum equivalent of classical SVMs?

I'm confused about the relationship between kernel methods and SVM methods used in quantum machine learning. Sometimes the two seem to be used interchangeably, but often I'll see them both in the same ...