qiskit-machine-learning
qiskit-machine-learning copied to clipboard
How to effectively make use of qiskit_aer_gpu in qiskit machine learning workflows
I'm trying to run QSVM on GPU using qiskit_aer_gpu. I'm using SamplerV2 but not able to find what options to pass for it to recognise the GPU backend.
In the qiskit_aer_gpu docs, it is given how to pass "GPU" option to the AerSimulator but we don't specifically define AerSimulator while using SamplerV2 with ComputeUncompute. Instead it is used by default and we can change it using backend_options. So what I'm trying to learn is, what exactly to pass in SamplerV2 definition as options for this to work.
Or in the following tutorial what do we change to make it run on gpu: https://qiskit-community.github.io/qiskit-machine-learning/tutorials/03_quantum_kernel.html
It would be a huge help if anyone can help me with this!