Skip to content

Commit

Permalink
Prepare 0.17.2 release (#6354)
Browse files Browse the repository at this point in the history
* Prepare 0.17.2 release

This commit prepares for the 0.17.2 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.1
release.

* Update release notes
  • Loading branch information
mtreinish authored May 5, 2021
1 parent 497d5a4 commit 1f5e3cb
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 27 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.1'
release = '0.17.2'

# -- 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.1
0.17.2
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
fixes:
- |
Fixed an issue with :class:`~qiskit.transpiler.passes.BasisTranslator` where in some
cases it would translate gates already in the target basis.
Fixed an issue with the :class:`~qiskit.transpiler.passes.BasisTranslator`
transpiler pass which in some cases would translate gates already in the
target basis. This would potentially result in both longer execution time
and less optimal results.
Fixed `#6085 <https://github.com/Qiskit/qiskit-terra/issues/6085>`__
6 changes: 3 additions & 3 deletions releasenotes/notes/bugfix-spsa-callback-24f7200814f16895.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
fixes:
- |
Fixed an issue in :class:`~qiskit.algorithms.optimisers.SPSA` where
providing a callback function caused an error. Also updated callback
function parameter documentation to match code.
Fixed an issue in the :class:`~qiskit.algorithms.optimisers.SPSA` when
the optimizer was initialized with a callback function via the ``callback``
kwarg would potentially cause an error to be raised.
10 changes: 6 additions & 4 deletions releasenotes/notes/fix-expval-pauli-qargs-183843993ca83f71.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
fixes:
- |
Fixes bug in :meth:`qiskit.quantum_info.Statevector.expectation_value`
and :meth:`qiskit.quantum_info.DensityMatrix.expectation_value` where
the ``qargs`` kwarg was ignored if the operator was a
Fixed an issue in the
:meth:`qiskit.quantum_info.Statevector.expectation_value`
and :meth:`qiskit.quantum_info.DensityMatrix.expectation_value`methods
where the ``qargs`` kwarg was ignored if the operator was a
:class:`~qiskit.quantum_info.Pauli` or
:class:`~qiskit.quantum_info.SparsePauliOp` operator.
:class:`~qiskit.quantum_info.SparsePauliOp` operator object.
Fixed `#6303 <https://github.com/Qiskit/qiskit-terra/issues/6303>`__
7 changes: 5 additions & 2 deletions releasenotes/notes/fix-pauli-evolve-c6653853962885cd.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
fixes:
- |
Fixes a bug in :meth:`qiskit.quantum_info.Pauli.evolve` which could
result in the incorrect Pauli when evolving by a CZ, CY, or Swap gate.
Fixed an issue in the :meth:`qiskit.quantum_info.Pauli.evolve` method
which could have resulted in the incorrect Pauli being returned when
evolving by a :class:`~qiskit.circuit.library.CZGate`,
:class:`~qiskit.circuit.library.CYGate`, or a
:class:`~qiskit.circuit.library.SwapGate` gate.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
---
fixes:
- |
Fix the :meth:`qiskit.opflow.SparseVectorStateFn.to_dict_fn` method, which
previously had at most one entry for the all zero state due to an index error.
Fixed an issue in the :meth:`qiskit.opflow.SparseVectorStateFn.to_dict_fn`
method, which previously had at most one entry for the all zero state due
to an index error.
- |
Fix the :meth:`qiskit.opflow.SparseVectorStateFn.equals` method to return
`True` or `False` instead of a sparse vector comparison of the single elements.
Fixed an issue in the :meth:`qiskit.opflow.SparseVectorStateFn.equals`
method so that is properly returning ``True`` or ``False`` instead of a
sparse vector comparison of the single elements.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
fixes:
- |
Fixes a bug in :class:`~qiskit.quantum_info.Statevector` and
Fixes an issue in the :class:`~qiskit.quantum_info.Statevector` and
:class:`~qiskit.quantum_info.DensityMatrix` probability methods
:meth:`~qiskit.quantum_info.Statevector.probabilities`,
:meth:`~qiskit.quantum_info.Statevector.probabilities_dict`,
:meth:`~qiskit.quantum_info.DensityMatrix.probabilities`,
:meth:`~qiskit.quantum_info.DensityMatrix.probabilities_dict`
:meth:`qiskit.quantum_info.Statevector.probabilities`,
:meth:`qiskit.quantum_info.Statevector.probabilities_dict`,
:meth:`qiskit.quantum_info.DensityMatrix.probabilities`,
:meth:`qiskit.quantum_info.DensityMatrix.probabilities_dict`
where the returned probabilities could have incorrect ordering
for certain values of the ``qargs`` kwarg.
Fixed `#6320 <https://github.com/Qiskit/qiskit-terra/issues/6320>`__
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
fixes:
- |
Fixes the bug where :class:`~qiskit.opflow.TaperedPauliSumOp`
did not support the multiplication by
:class:`~qiskit.circuit.ParameterExpression` and
:meth:`~qiskit.opflow.TaperedPauliSumOp.assign_parameters`.
Fixed an issue where the :class:`~qiskit.opflow.TaperedPauliSumOp` class
did not support the multiplication with
:class:`~qiskit.circuit.ParameterExpression` object and also did not have
a necessary :meth:`~qiskit.opflow.TaperedPauliSumOp.assign_parameters`
method for working with :class:`~qiskit.circuit.ParameterExpression`
objects.
Fixed `#6127 <https://github.com/Qiskit/qiskit-terra/issues/6127>`__
15 changes: 15 additions & 0 deletions releasenotes/notes/prep-0.17.2-20da26503826bf27.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
prelude: >
This is a bugfix release that fixes several issues from the 0.17.1 release.
Most importantly this release fixes compatibility for the
:class:`~qiskit.utils.QuantumInstance` class when running on backends
that are based on the :class:`~qiskit.providers.BackendV1` abstract class.
This fixes all the algorithms and applications built on
:mod:`qiskit.algorithms` or :mod:`qiskit.opflow` when running on newer
backends.
fixes:
- |
Fixed compatibility for the :class:`~qiskit.utils.QuantumInstance` class
when running on backends that are based on the
:class:`~qiskit.providers.BackendV1` abstract class.
Fixed `#6280 <https://github.com/Qiskit/qiskit-terra/issues/6280>`__
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.1",
version="0.17.2",
description="Software for developing quantum computing programs",
long_description=README,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 1f5e3cb

Please sign in to comment.