-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecates Opflow and
QuantumInstance
(#499)
* reduce deprecation warnings of opflow * update * update * update * suppress opflow deprecation of a legacy test * suppress opflow deprecations in tests * Update qiskit_optimization/translators/ising.py Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com> * update test_ising and add reno --------- Co-authored-by: Steve Wood <40241007+woodsp-ibm@users.noreply.github.com>
- Loading branch information
1 parent
fc9a86a
commit 75d9898
Showing
13 changed files
with
273 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
deprecations: | ||
- | | ||
The ``quantum_instance`` argument of :class:`~qiskit_optimization.algorithms.GroverOptimizer`'s constructor | ||
and :meth:`~qiskit_optimization.algorithms.GroverOptimizer.quantum_instance` property have been deprecated | ||
and will be removed in a future release. | ||
Using ``QuantumInstance`` is superseded by ``Sampler``. | ||
See `QuantumInstance Migration <https://qisk.it/qi_migration>`__. | ||
- | | ||
The ``qubit_op`` argument of :func:`~qiskit_optimization.translators.from_ising` | ||
can currently accept Opflow operators. | ||
But they have been deprecated in Qiskit Terra 0.24.0 and will be removed in a future release. | ||
See `Opflow Migration <https://qisk.it/opflow_migration>`__. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.