-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated BIPMapping pass (#10526)
* Remove deprecated BIPMapping pass This commit removes the deprecated BIPMapping pass. It was deprecated in qiskit-terra 0.24.0 and the minimum deprecation period has elapsed for the Qiskit 0.45.0 release. This pass has been moved to an external plugin that can be installed separately and integrated into the transpiler more cleanly than a single pass and also separates the optional dependency on the proprietary CPLEX into a separate package. * Apply suggestions from code review Co-authored-by: Kevin Hartman <kevin@hart.mn> * Remove additional uses of BIPMapping There were still two locations where the BIPMapping pass was being used. First the dedicated unit tests, and then also import redirects for the docs and easier access. This commit removes these locations so nothing left is using the BIPMapping pass. * Update optionals documentation * Update install commands --------- Co-authored-by: Kevin Hartman <kevin@hart.mn>
- Loading branch information
1 parent
884cfe6
commit 2ab1e54
Showing
7 changed files
with
21 additions
and
1,156 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
497 changes: 0 additions & 497 deletions
497
qiskit/transpiler/passes/routing/algorithms/bip_model.py
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
15 changes: 15 additions & 0 deletions
15
releasenotes/notes/remove-deprecated-bip-mapper-e1206c8f905502dd.yaml
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,15 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The deprecated transpiler routing pass, ``BIPMapping`` has been removed. | ||
It was marked as deprecated in the Qiskit 0.43.0 release. It has been | ||
replaced by an external plugin package: ``qiskit-bip-mapper``. Details for | ||
this new package can be found at the package's github repository: | ||
https://github.com/qiskit-community/qiskit-bip-mapper | ||
The pass was made into a separate plugin package for two reasons, first | ||
the dependency on CPLEX makes it harder to use and secondly the plugin | ||
package more cleanly integrates with :func:`~.transpile`. The optional | ||
extra ``bip-mapper`` to install the ``cplex`` and ``docplex`` to support | ||
this pass has been removed as nothing in Qiskit optionally requires it anymore. |
Oops, something went wrong.