Giter VIP home page Giter VIP logo

Comments (4)

OuCheng-Fu avatar OuCheng-Fu commented on August 19, 2024

I have tried it again on the example of 4 vertices with the same code,

qaoa_result_red = qaoa.solve(qubo_red)
print(qaoa_result_red)

it worked on my Windows 10 computer as the picture
QAOA HCP 4 Vertex TSP new suggestion succeed
However, when I try the same code on 6-vertex graph on a larger computer with 1.47TB memory, it ran for 15 hours (see picture below)
Kernel QAOA HCP 6 vertex list index out of range
and resulted in error message "list index out of range", like the following pictures
Kernel QAOA HCP SOLVE list index out of range
Kernel QAOA HCP SOLVE list index out of range 2
Kernel QAOA HCP SOLVE list index out of range 3
How can I solve this problem? (By the way, it failed on my Windows 10 computer because it takes too much memory:)
QAOA HCP 6 Vertex TSP new suggestion newtest memory error
ζˆͺεœ– 2023-06-16 上午12 51 56

from qiskit-tutorials.

woodsp-ibm avatar woodsp-ibm commented on August 19, 2024

You should raise this as an issue on qiskit-optimization where the eigenoptimizer and tutorial are maintained. This repo is just for the set of tutorials for Qiskit around circuits and algorithms, i.e the set you can see here in this repo and any issues related to the applications e.g. optimization, nature, machine-learning and their respective tutorials should be raised in their repo.

from qiskit-tutorials.

OuCheng-Fu avatar OuCheng-Fu commented on August 19, 2024

You should raise this as an issue on qiskit-optimization where the eigenoptimizer and tutorial are maintained. This repo is just for the set of tutorials for Qiskit around circuits and algorithms, i.e the set you can see here in this repo and any issues related to the applications e.g. optimization, nature, machine-learning and their respective tutorials should be raised in their repo.

Thank you. I opened a new issue here: qiskit-community/qiskit-optimization#532

from qiskit-tutorials.

woodsp-ibm avatar woodsp-ibm commented on August 19, 2024

Thanks. I'll close this one here - I used to be able to transfer the issues from here but the application repos were recently moved from Qiskit to qiskit-community organization and I can no longer do that.

from qiskit-tutorials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.