Open Siddharthgolecha opened 2 weeks ago
Hi @Siddharthgolecha, thank you for your feedback. The support for V2 primitives and the consequences for hardware compliance are aspects we are currently working on: https://github.com/qiskit-community/qiskit-machine-learning/issues/742 and (somewhat related) https://github.com/qiskit-community/qiskit-machine-learning/issues/786.
Nevertheless, it would still be very valuable for the community if you could describe your fix for EstimatorV2
in detail in this thread!
What should we add?
Currently, the
EstimatorQNN
usesEstimator
fromqiskit.primitives
as the default and the only way to run circuits over the hardware. I would like to add a condition that checks if its an EstimatorV2 from theibm-qiskit-runtime
and runs the circuit using that. I already have the implementation ready and I would like to propose that change to the EstimatorQNN.