Questions tagged [quantum-kernel]

7 questions
4
votes
1 answer

Why do Quantum Kernel Methods work when a large Hilbert space tends to make all samples orthogonal to each other?

I've been doing some exploratory work on quantum kernel methods (I'm a newcomer to the field), and I struggle to reconcile two facts. As I increase the number of qubits, the Hilbert space becomes so big that most samples tend to be orthogonal to…
4
votes
1 answer

Why is the quantum kernel $\kappa(x,x')=|\langle\phi(x)|\phi(x')\rangle|^2$ defined with a square?

I've always wondered why the quantum kernel method \begin{equation}\label{QKM1} \kappa (x,x')=|\langle \phi(x) |\phi(x') \rangle {{|}^{2}} \end{equation} must be a square. After reading “Supervised learning with quantum-enhanced feature spaces" by…
Ren-Xin Zhao
  • 558
  • 3
  • 12
1
vote
0 answers

Is there any QML algorithm that performs better than a classical one in practice?

As of today, is there any QML algorithm that performs better than a classical one in practice? I have been looking for quantum neural networks, quantum kernels and quantum CNN, but none so far have come up with a better-performing model than it's…
1
vote
1 answer

Use quantum feauture map different from ZZFeatureMap

I'm following this tutorial to try and implement a QSVC on the Iris dataset. The tutorial uses ZZFeatureMap to create the kernel with FidelityQuantumKernel, but I want to try and use different feature maps (such as the ones described in Section III…
ZFC
  • 11
  • 1
1
vote
0 answers

How can I pass multiple embeddings in my function?

I have a problem with my code. I would like to try multiple embeddings in my kernel (I'm using the adjoint method). My idea is to pass them to the function and use them depending on what I pass. Unfortunately, it doesn't work as I think, or I can't…
0
votes
0 answers

QuantumKernel command has been changed and construct_circuit is no more useful. What can I use instead?

Basically old qiskit-machine learning had QuantumKernel a class that did all the work.(feature_map, traning_parameters, construct_circuit, evalute etc.). However, it's been seperated and changed as BaseKernel, FidelityQuantumKernel, TrainableKernel,…
Ege Tunç
  • 19
  • 1
0
votes
0 answers

Discarding a Quantum register to extract kernel matrix in practical quantum computer

Question: How to extract a kernel matrix from a quantum state on a real quantum computer through discarding a register? I am trying to understand the paper "Quantum Support Vector Machine for Big Data Classification" by Rebentrost et al. (2014).…