Comments (5)
This is related to : #1434
from qiskit-aqua.
In the above notebook just changing from SLSQP() to COBYLA(), I got the correct results.
from qiskit-aqua.
Thank you for the hint @manoelmarques !
I have 3 tests for the same scenario in 3 projects. The test I created in qiskit-aqua worked with COBYLA.
Using
quantum_instance = QuantumInstance(QasmSimulator(method='automatic', noise_model=NoiseModel()),
seed_simulator=aqua_globals.random_seed,
seed_transpiler=aqua_globals.random_seed,
shots=1024)
I get a solution sample containing multiple values and value 0.
Using
BasicAer.get_backend('qasm_simulator')
In the Jupyter Notebook the solution is not found in the samples at all. It returns a huge amount of samples, but not the right one even if I choose COBYLA.
The same issue into the third project:
Any idea why?
from qiskit-aqua.
@manoelmarques when I set the initial point, as you said in email, I didn't get the random result anymore and the result is correct so far.
Thank you!
from qiskit-aqua.
Closing as solved according to above discussion.
from qiskit-aqua.
Related Issues (20)
- CPLEX cannot be installed in Python 3.8 HOT 1
- 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
- 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.