Comments (5)
Hi, the issue should come from the potential issue fixed by c92b777. (The created Operator is not valid)
do you mind checking that does QAOA encounter this issue after this commit?
Thanks.
from qiskit-aqua.
Hi, the issue should come from the potential issue fixed by c92b777. (The created Operator is not valid)
do you mind checking that does QAOA encounter this issue after this commit?
Thanks.
I tried it with QAOA and VQE and it gave the same error message as before.
Also, I tried different minimizer functions form scipy, such as TNC, and got the same error message as before.
from qiskit-aqua.
What version of qiskit are you using? With the latest Aqua master, that it seems you are using, the latest qiskit master is reqd. With the above fix, using the logic you provided, I can run ExactEigensolver and VQE to completion. QAOA also runs, but at size 10 I encounter a performance problem, it runs at smaller graph sizes ok and I do not see any of the issues you reported above.
from qiskit-aqua.
I tried this on a different computer, using only qiskit and qiskit_aqua files directly from the Github repository, and it did work for ExactEigensolver, VQE, and QAOA. Although I had to use QAOA.Variational in place of QAOA. And given that I didn't optimize the number of steps, the results weren't accurate, but I didn't encounter the error. Thanks!
As an aside, what is the difference between QAOA.Variational and QAOA?
from qiskit-aqua.
We renamed and re-organized algorithms since the last official release. What we then called QAOA became QAOA.Variational as it uses a variational approach but its the same algorithm. As things are now working for you I will close this issue.
from qiskit-aqua.
Related Issues (20)
- QAOA with ideal noise returns wrong result HOT 5
- One of the ML link is not working
- No module named 'qiskit.aqua.components.qfts' HOT 2
- CI fails to install cryptography 3.4.1 HOT 2
- Docplex 2.20 does not work without cplex HOT 1
- astroid2.5 causes lint errors HOT 2
- Pylint 2.6.1 stops by error HOT 4
- test_weighted_pauli_operator fails HOT 2
- QGAN fails with default generator when snapshot_dir is enabled HOT 4
- Revert #1440 i.e. remove PauliSumOp
- Pin dependent versions for the final deprecated release.
- Deprecate Aqua HOT 2
- TypeError: result() got an unexpected keyword argument 'wait' - bug in `QuantumInstance` HOT 2
- stable_set.get_operator() HOT 16
- Error in installing qiskit-aqua from source HOT 1
- TypeError: result() got an unexpected keyword argument 'wait' HOT 3
- Error in import of qiskit.aqua operator HOT 4
- QAOA for TSP on QISKIT HOT 12
- Bug in nakanishi_fujii_todo HOT 2
- QSVM with train+test data returns second matrix of wrong size HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiskit-aqua.