forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add max_trials parameter to VF2PostLayout. * Fix formatting. * Fix spacing. * Update release note based on review. * Revert vf2_layout.py.
- Loading branch information
1 parent
415191e
commit 8fb5baf
Showing
3 changed files
with
54 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
releasenotes/notes/vf2-post-layout-max-trials-98b1c736e2e33861.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,12 @@ | ||
--- | ||
features: | ||
- | | ||
Added a new parameter ``max_trials`` to pass :class:`~.VF2PostLayout` | ||
which, when specified, limits the number of layouts discovered and | ||
compared when searching for the best layout. | ||
This differs from existing parameters ``call_limit`` and ``time_limit`` | ||
(which are used to limit the number of state visits performed by the VF2 | ||
algorithm and the total time spent by pass :class:`~.VF2PostLayout`, | ||
respectively) in that it is used to place an upper bound on the time | ||
spent scoring potential layouts, which may be useful for larger | ||
devices. |
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