-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
01_vqe.ipy and 01_qaoq.ipy execution fail #1095
Comments
Both logs have
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. |
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 Qiskit/qiskit-ibm-provider#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 |
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
The text was updated successfully, but these errors were encountered: