-
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.
* Prepare 0.17.1 release This commit prepares for the 0.17.1 release by bumping the version strings to reflect the new version and updating the release notes. This is just a bugfix release that fixes bugs since the 0.17.0 release. * Update releasenotes/notes/bugfix-params-of-controlledgate-from-unitary-59bc6ae84b23b0f8.yaml Co-authored-by: Luciano Bello <[email protected]> Co-authored-by: Luciano Bello <[email protected]>
- Loading branch information
Showing
5 changed files
with
18 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.17.0 | ||
0.17.1 |
4 changes: 3 additions & 1 deletion
4
releasenotes/notes/bugfix-global-phase-unroller-d1ac1a248558c1d8.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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed an issue where :class:`~qiskit.transpiler.passes.Unroller` didn't | ||
Fixed an issue where the transpiler pass | ||
:class:`~qiskit.transpiler.passes.Unroller` didn't | ||
preserve global phase in case of nested instructions with one rule in | ||
their definition. | ||
Fixed `#6134 <https://github.com/Qiskit/qiskit-terra/issues/6134>`__ |
20 changes: 12 additions & 8 deletions
20
releasenotes/notes/bugfix-params-of-controlledgate-from-unitary-59bc6ae84b23b0f8.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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
--- | ||
fixes: | ||
- | | ||
Parameter attribute of :class:`~qiskit.circuit.ControlledGate` built from | ||
:class:`~qiskit.extensions.UnitaryGate` should be the unitary matrix of | ||
:class:`~qiskit.extensions.UnitaryGate`. Previously, | ||
:meth:`~qiskit.extensions.UnitaryGate.control` was building a | ||
:class:`~qiskit.circuit.ControlledGate` with parameter attribute set to the | ||
controlled version of :class:`~qiskit.extensions.UnitaryGate` matrix. | ||
This led to a modification of the parameter of base :class:`~qiskit.extensions.UnitaryGate` | ||
and subsequent call on :meth:`~qiskit.circuit.ControlledGate.inverse` was creating | ||
Fixed an issue where the :attr:`~qiskit.circuit.ControlledGate.parameter` | ||
attribute of a :class:`~qiskit.circuit.ControlledGate` object built from | ||
a :class:`~qiskit.extensions.UnitaryGate` was not being set to the | ||
unitary matrix of the :class:`~qiskit.extensions.UnitaryGate` object. | ||
Previously, :meth:`~qiskit.extensions.UnitaryGate.control` was building a | ||
:class:`~qiskit.circuit.ControlledGate` with the ``parameter`` attribute | ||
set to the controlled version of | ||
:class:`~qiskit.extensions.UnitaryGate` matrix. | ||
This would lead to a modification of the ``parameter`` of the base | ||
:class:`~qiskit.extensions.UnitaryGate` object and subsequent calls to | ||
:meth:`~qiskit.circuit.ControlledGate.inverse` was creating | ||
the inverse of a double-controlled :class:`~qiskit.extensions.UnitaryGate`. | ||
Fixed `#5750 <https://github.com/Qiskit/qiskit-terra/issues/5750>`__ |
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