2022 Developer Survey is open! Take survey.

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
27 views

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 ...
user avatar
0 votes
0 answers
44 views

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 ...
user avatar
0 votes
0 answers
32 views

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 https://qiskit.org/documentation/machine-learning/tutorials/03_quantum_kernel.html. On my local machine (MacOS) the script runs fine. On a ...
user avatar
1 vote
1 answer
65 views

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 ...
user avatar
  • 11
1 vote
1 answer
178 views

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 ...
user avatar
  • 147
6 votes
1 answer
245 views

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 ...
user avatar
  • 129
1 vote
1 answer
103 views

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 ...
user avatar