-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix docstring * import * exposing additional plugin arguments * tests * lint * release notes
- Loading branch information
1 parent
497603b
commit cedf030
Showing
5 changed files
with
233 additions
and
7 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
21 changes: 21 additions & 0 deletions
21
releasenotes/notes/add-linear-plugin-options-b8a0ffe70dfe1676.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,21 @@ | ||
--- | ||
features: | ||
- | | ||
The :class:`.KMSSynthesisLinearFunction` plugin for synthesizing | ||
:class:`~qiskit.circuit.library.LinearFunction` objects now accepts | ||
two additional options ``use_inverted`` and ``use_transposed``. | ||
These option modify the matrix on which the underlying synthesis algorithm runs | ||
by possibly inverting and/or transposing it, and then suitably adjust | ||
the synthesized circuit. By varying these options, we generally get different | ||
synthesized circuits, and in cases may obtain better results than for | ||
their default values. | ||
- | | ||
The :class:`.PMHSynthesisLinearFunction` plugin for synthesizing | ||
:class:`~qiskit.circuit.library.LinearFunction` objects now accepts | ||
several additional options. The option ``section_size`` is passed to the underlying | ||
synthesis method. The options ``use_inverted`` and ``use_transposed`` | ||
modify the matrix on which the underlying synthesis algorithm runs | ||
by possibly inverting and/or transposing it, and then suitably adjust | ||
the synthesized circuit. By varying these options, we generally get different | ||
synthesized circuits, and in cases may obtain better results than for | ||
their default values. |
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