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.
Make DenseLayout transpiler pass target aware
This commit updates the dense layout pass target aware so that at its instantiation a Target object can be specified to define the target device for compilation. When specified this target will be used for all device aware operations in the pass. When a target is specified the error matrix used is the average of all 1q and 2q operations while before the matrix was composed of just cx and readout error rates. Part of Qiskit#7113
- Loading branch information
Showing
8 changed files
with
118 additions
and
28 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
13 changes: 13 additions & 0 deletions
13
releasenotes/notes/dense-layout-target-aware-2b330ccee948d31a.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,13 @@ | ||
--- | ||
features: | ||
- | | ||
The :class:`~qiskit.transpiler.DenseLayout` pass has a new keyword argument | ||
on it's constructor, ``target``. This argument is used to specify a | ||
:class:`~qiskit.transpiler.Target` object representing the compilation target | ||
for the pass. If it is specified it superscedes the other arguments, | ||
``coupling_map`` and ``backend_prop``. | ||
- | | ||
The :class:`~qiskit.transpiler.Target` class has a new method, | ||
:meth:`~qiskit.transpiler.Target.operation_names_from_qargs`. This method is | ||
used to get the operation names (i.e. lookup key in the target) for the operations | ||
on a given qargs tuple. |
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