Skip to content

Commit

Permalink
Prepare 0.21.2 release (#8593)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Treinish <[email protected]>
  • Loading branch information
jakelishman and mtreinish authored Aug 23, 2022
1 parent baaf104 commit fdb62be
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "qiskit-terra"
version = "0.21.1"
version = "0.21.2"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# The short X.Y version
version = "0.21"
# The full version, including alpha/beta/rc tags
release = "0.21.1"
release = "0.21.2"

extensions = [
"sphinx.ext.napoleon",
Expand Down
2 changes: 1 addition & 1 deletion qiskit/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.21.1
0.21.2
7 changes: 3 additions & 4 deletions releasenotes/notes/backend_name_fix-175e12b5cf902f99.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
fixes:
- |
'aer_simulator_statevector_gpu' was not recognized correctly as statevector
method in some function when using GPU on Qiskit Aer.
This fix recognizes both 'aer_simulator_statevector' and
'aer_simulator_statevector_gpu' the backend is statevector.
``aer_simulator_statevector_gpu`` will now be recognized correctly as statevector
method in some function when using Qiskit Aer's GPU simulators in :class:`.QuantumInstance`
and other algorithm runners.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
---
fixes:
- |
Fixes the :meth:`.UCGate.inverse` method which previously did not invert the
Fixed the :meth:`.UCGate.inverse` method which previously did not invert the
global phase.
- |
Fixes the global phase problem of the isometry decomposition. Refer to
`#4687 <https://github.com/Qiskit/qiskit-terra/issues/4687>` for more
details.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
fixes:
- |
Fix :meth:`~.EvolvedOp.to_instruction` which previously tried to create a
Fix :meth:`~.EvolvedOp.to_instruction` which previously tried to create a
:class:`~.UnitaryGate` without exponentiating the operator to evolve.
Since this operator is generally not unitary, this raised an error (and if
Since this operator is generally not unitary, this raised an error (and if
the operator would have been unitary by chance, it would not have been the expected result).
Now calling :meth:`~.EvolvedOp.to_instruction` correctly produces a gate
Now calling :meth:`~.EvolvedOp.to_instruction` correctly produces a gate
that implements the time evolution of the operator it holds::
>>> from qiskit.opflow import EvolvedOp, X
>>> op = EvolvedOp(0.5 * X)
>>> op.to_instruction()
Instruction(
name='unitary', num_qubits=1, num_clbits=0,
name='unitary', num_qubits=1, num_clbits=0,
params=[array([[0.87758256+0.j, 0.-0.47942554j], [0.-0.47942554j, 0.87758256+0.j]])]
)
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
fixes:
- |
Previously it was not possible to adjoint a :class:`.CircuitStateFn` that has been
constructed from a :class:`.VectorStateFn`. That's because the statevector has been
constructed from a :class:`.VectorStateFn`. That's because the statevector has been
converted to a circuit with the :class:`~qiskit.extensions.Initialize` instruction, which
is not unitary. This problem is now fixed by instead using the :class:`.StatePreparation`
instruction, which can be used since the state is assumed to start out in the all 0 state.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
fixes:
- |
Fix a bug in the :class:`~.Optimizer` classes where re-constructing a new optimizer instance
from a previously exisiting :attr:`~.Optimizer.settings` reset both the new and previous
from a previously exisiting :attr:`~.Optimizer.settings` reset both the new and previous
optimizer settings to the defaults. This notably led to a bug if :class:`~.Optimizer` objects
were send as input to Qiskit Runtime programs.
Expand Down
5 changes: 2 additions & 3 deletions releasenotes/notes/fix-paramexpr-isreal-8d20348b4ce6cbe7.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
fixes:
- |
Fix a bug where a bound :class:`.ParameterExpression` was not identified as real
Fixed a bug where a bound :class:`.ParameterExpression` was not identified as real
if ``symengine`` was installed and the bound expression was not a plain ``1j``.
For example::
from qiskit.circuit import Parameter
x = Parameter("x")
expr = 1j * x
bound = expr.bind({x: 2})
print(bound.is_real()) # used to be True, but is now False
4 changes: 4 additions & 0 deletions releasenotes/notes/prepare-0.21.2-71dd32f64f50e853.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
prelude: >
Qiskit Terra 0.21.2 is a primarily a bugfix release, and also comes with
several improved documentation pages.
9 changes: 4 additions & 5 deletions releasenotes/notes/taper-performance-6da355c04da5b648.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
fixes:
- |
Fixed :meth:`.Z2Symmetries.taper` support for running on larger problems
method. Previously, the :meth:`~.Z2Symmetries.taper` method would require
a large amount of memory which would typically cause failures for
larger problem. As a side effect of this fix the performance has
significantly improved.
Fixed support for running :meth:`.Z2Symmetries.taper` on larger problems.
Previously, the method would require a large amount of memory which would
typically cause failures for larger problem. As a side effect of this fix
the performance has significantly improved.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

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

0 comments on commit fdb62be

Please sign in to comment.