Closed akihikokuroda closed 7 months ago
Both logs have
DeprecationWarning: The
qiskit.opflow
module is deprecated as of qiskit-terra 0.24.0.
Is it better replacing these with something else?
also fails for me, with same errors.
I wonder if this is another case of a new version of a library causing a break... if so, maybe we should reopen #806 as a short-term solution until we have a better dependency management solution in place?
Based on our discussion in the other issue, I'd vote for dropping these notebooks or moving them to one of the applications repos.
VQE and QAOA are not applications, they are just examples of algorithms. We should have at least VQE in our docs for sure as it is the most popular quantum algorithm
OK. I can work to fix them.
Both logs have
DeprecationWarning: The
qiskit.opflow
module is deprecated as of qiskit-terra 0.24.0.Is it better replacing these with something else?
Luciano linked to a migration guide in the above issue: https://qisk.it/opflow_migration
I've looked at this issue for a week. I finally found that this is caused by a qiskit/ParameterVector serialization issue. The issue will be fixed in https://github.com/Qiskit/qiskit-ibm-provider/pull/736 which is still open though.
I verified that picking up changes between line 217-240 in qiskit_ibm_provider/qpy/binary_io/value.py fix this issue.
These both run successfully for me now against main
... should we close this?
Steps to reproduce the problem
Execute 01_vqe.ipy and 01_qaoq.ipy in the Jupyter notebook
What is the current behavior?
The execution fails and there is no result
What is the expected behavior?
Execution completes successfully and generates results.
Logs output of 01_vqe
logs output of 02_qaoa