Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Evaluate eigenvalues in MinEigenOptimizer more efficiently #1045

Merged
merged 10 commits into from
Jun 16, 2020

Conversation

Cryoris
Copy link
Contributor

@Cryoris Cryoris commented Jun 15, 2020

Summary

The evaluate_at_bitstr function used in the MinimumEigenOptimizer used a statevector simulation to compute eigenvalues of an operator. Instead of evaluating the operator we can directly evaluate the underlying QUBO which is much more efficient.

@woodsp-ibm
Copy link
Member

Since the application modules today generate legacy operators, i.e. the converters, ising apps etc, until such time all these are changed too, to output opflow natively, I would have thought this use should preserved and not deprecated. We should make the change so everything is consistent and using opflow at the same time and not in bits. As it is the tests are now emitting deprecated warnings and presumably any other code using optimization would too.

@Cryoris
Copy link
Contributor Author

Cryoris commented Jun 15, 2020

I removed the warning in 285b3c0 👍

@Cryoris Cryoris changed the title Evaluate eigenvalues in MinEigenOptimizer more efficiently, if possible Evaluate eigenvalues in MinEigenOptimizer more efficiently Jun 16, 2020
stefan-woerner
stefan-woerner previously approved these changes Jun 16, 2020
woodsp-ibm
woodsp-ibm previously approved these changes Jun 16, 2020
@Cryoris Cryoris dismissed stale reviews from woodsp-ibm and stefan-woerner via b30ee70 June 16, 2020 13:46
@Cryoris Cryoris merged commit e5e8f4f into qiskit-community:master Jun 16, 2020
@Cryoris Cryoris deleted the eval-at-bitstr branch June 16, 2020 15:01
pbark pushed a commit to pbark/qiskit-aqua that referenced this pull request Sep 16, 2020
…mmunity#1045)

* compute eigenvalues more efficiently, if possible

* remove note

* fix spell

* use qubo to compute eigenvalue, not operator

* remove deprecation warning

* remove eval_operator_at_bitstring

* Update qiskit/optimization/algorithms/minimum_eigen_optimizer.py
manoelmarques pushed a commit to qiskit-community/qiskit-optimization that referenced this pull request Jan 14, 2021
…mmunity/qiskit-aqua#1045)

* compute eigenvalues more efficiently, if possible

* remove note

* fix spell

* use qubo to compute eigenvalue, not operator

* remove deprecation warning

* remove eval_operator_at_bitstring

* Update qiskit/optimization/algorithms/minimum_eigen_optimizer.py
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants