quantum computing - How to use qiskit-machine-learning with real IBM backends? - Stack Overflow

admin2025-05-02  2

I am using EstimatorQNN and NeuralNetworkClassifier from qiskit-machine-learning library for image recognition on quantum computers, following the tutorial the tutorial here. I am trying to find a way to run this setup on a real IBM backend (not locally on a simulator). However, after spending several hours, I haven't found a clear solution.

My question is: Is there a way to use this approach on a real backend? If so, how can I pass training data to the backend, given that it runs in the cloud and not on my local machine?

From what I understand, I could transpile the circuit, but then I face issues with passing training data into the circuit (so I’m not even sure if it will run on the backend). Additionally, I have read that it might be possible to send multiple jobs to the backend, but this approach doesn’t seem to support backpropagation.

转载请注明原文地址:http://www.anycun.com/QandA/1746121987a91976.html