Skip to content

Commit

Permalink
Prepare 0.17.1 release (#6232)
Browse files Browse the repository at this point in the history
* 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
mtreinish and 1ucian0 authored Apr 15, 2021
1 parent 98d0e1a commit 9946e99
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
# The short X.Y version
version = ''
# The full version, including alpha/beta/rc tags
release = '0.17.0'
release = '0.17.1'

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion qiskit/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.17.0
0.17.1
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>`__
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>`__
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

setup(
name="qiskit-terra",
version="0.17.0",
version="0.17.1",
description="Software for developing quantum computing programs",
long_description=README,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 9946e99

Please sign in to comment.