Qiskit Optimization 0.5.0
Changelog
New Features
- The MinimumEigenOptimizer class takes the primitives-based algorithms (qiskit.algorithms.minimum_eigensolvers.SamplingMinimumEigensolver and qiskit.algorithms.minimum_eigensolvers.NumPyMinimumEigensolver) as min_eigen_solver argument. The former algorithm qiskit.algorithms.MinimumEigensolver is pending deprecation and will be deprecated and subsequently removed in future releases. Note that qiskit.algorithms.minimum_eigensolvers.SamplingVQE supersedes qiskit.algorithms.VQE for MinimumEigenOptimizer. qiskit.algorithms.minimum_eigensolvers.NumPyMinimumEigensolver also supersedes qiskit.algorithms.NumPyMinimumEigensolver.
- The WarmStartQAOAOptimizer class takes the primitives-based QAOA (qiskit.algorithms.minimum_eigensolvers.QAOA) as qaoa argument. The former algorithm qiskit.algorithms.QAOA is pending deprecation and will be deprecated and subsequently removed in future releases.
- The GroverOptimizer class has a new keyword argument, sampler which is used to run the algorithm using an instance of the qiskit.primitives.BaseSampler interface to calculate the results. This new argument supersedes the the quantum_instance argument and accordingly, quantum_instance is pending deprecation and will be deprecated and subsequently removed in future releases.
Upgrade Notices
- The previously deprecated VQEProgram and QAOAProgram classes have been removed. They were originally deprecated in the Qiskit Optimization 0.3.0 release.
Bug Fixes
- Fixed an issue that parse_tsplib_format() did not parse TSPLIB files correctly in all cases; in particular if extra whitespace existed around keywords or if an EOF keyword was present.