Hello everyone,
I was initially running an example of the QNN explained in the link below,
The Quantum Convolution Neural Network - Qiskit Machine Learning 0.7.2
However, after the introduction of EstimatorV2, I have been unable to run it in the IBM instance. When I define the estimator in the EstimatorQNN constructor, an error that states "EstimatorV2 needs two parameters instead of four parameters", occurs. Do you have any idea how to modify this part of the QNN? #AI and DS Skills, #Global AI and Data Science
qnn = EstimatorQNN(
circuit=circuit.decompose(),
observables=observable,
estimator=EstimatorV2(backend=backend),
input_params=feature_map.parameters,
weight_params=ansatz.parameters,
)
------------------------------
Alokanand Sharma
------------------------------