Skip to content

Commit

Permalink
Prepare 1.0.2 (#11968)
Browse files Browse the repository at this point in the history
* Update version number.

* Fix-up release notes.

* Add prelude.
  • Loading branch information
kevinhartman authored Mar 7, 2024
1 parent 810ea44 commit 30a22e4
Show file tree
Hide file tree
Showing 12 changed files with 29 additions and 24 deletions.
6 changes: 3 additions & 3 deletions 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
Expand Up @@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"

[workspace.package]
version = "1.0.1"
version = "1.0.2"
edition = "2021"
rust-version = "1.70" # Keep in sync with README.md and rust-toolchain.toml.
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The short X.Y version
version = "1.0"
# The full version, including alpha/beta/rc tags
release = "1.0.1"
release = "1.0.2"

language = "en"

Expand Down
2 changes: 1 addition & 1 deletion qiskit/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
fixes:
- |
Fixed an issue with the :func:`.convert_to_target` where the converter
Fixed an issue with :func:`.convert_to_target` where the converter
would incorrectly ignore control flow instructions if they were specified
in the :attr:`.BackendConfiguration.supported_instructions` attribute which
in the :attr:`.BackendConfiguration.supported_instructions` attribute, which
is the typical location that control flow instructions are specified in a
:class:`.BackendConfiguration` object.
Fixed `#11872 <https://github.com/Qiskit/qiskit/issues/11872>`__.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
fixes:
- |
The :class:`.EvolvedOperatorAnsatz` now correctly handles the case where the
`operators` argument is an empty list. Previously, this would result in an
``operators`` argument is an empty list. Previously, this would result in an
error.
- |
From now on, :class:`.EvolvedOperatorAnsatz` will not have any `qregs` when
thera are zero qubits, instead of having a :class:`.QuantumRegister` instance
with zero qubits. This behavior aligns more consistently with its superclass
Fixed a consistency issue with :class:`.EvolvedOperatorAnsatz` instances with
zero qubits. Previously, such instances would contain a single :class:`.QuantumRegister`
in :attr:`~.EvolvedOperatorAnsatz.qregs` with zero qubits, but now no registers
are created. This behavior aligns more consistently with its superclass
:class:`.QuantumCircuit`.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
fixes:
- |
A bug that crashes the :func:`.convert_to_target` function when qubit properties
(either T1, T2 or frequency) are missing was fixed.
The missing property values in :class:`.QubitProperties` are filled with ``None``.
Fixed a crash in :func:`.convert_to_target` which would occur
when qubit properties (either T1, T2 or frequency) were missing.
The missing property values in :class:`.QubitProperties` are now
filled with ``None``.
8 changes: 4 additions & 4 deletions releasenotes/notes/fix-pub-coerce-5d13700e15126421.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

fixes:
- |
Fixed a bug where ``qiskit.primitives.containers.estimator_pub.EstimatorPub.coerce()`` and
``qiskit.primitives.containers.sampler_pub.SamplerPub.coerce()``
improperly handle the case where the parameter values are a ``BindingsArray`` instance, giving
rise to a ``ValueError`` whenever it is attempted.
Fixed a bug where :meth:`.EstimatorPub.coerce` and
:meth:`.SamplerPub.coerce` improperly handled a parameter
of type :class:`.BindingsArray`. Previously a ``ValueError``
exception was falsely raised.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
fixes:
- |
The preset pass managers of :func:`.transpile` will no longer fail on circuits
with control flow, if no hardware target or basis-gate set is specified. They
The preset pass managers used by :func:`.transpile` will no longer fail on circuits
with control flow when no hardware target or basis-gate set is specified. They
will now treat such abstract targets as permitting all control-flow operations.
Fixed `#11906 <https://github.com/Qiskit/qiskit/issues/11906>`__.
4 changes: 2 additions & 2 deletions releasenotes/notes/obs-array-coerce-0d-28b192fb3d004d4a.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
fixes:
- |
Fixed `qiskit.primitives.containers.observables_array.ObservablesArray.coerce()`
Fixed :meth:`~.ObservablesArray.coerce()`
so that it returns a 0-d array when the input is a single, unnested observable.
Previously, it erroneously upgraded to a single dimension, with shape `(1,)`.
Previously, it erroneously upgraded to a single dimension, with shape ``(1,)``.
2 changes: 1 addition & 1 deletion releasenotes/notes/parameter-hash-eq-645f9de55aa78d02.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ fixes:
- |
:class:`.Parameter` was updated so that instances that compare equal always
have the same hash. Previously, only the :attr:`.Parameter.uuid` was
compared, so :class:`.Paramemter` instances with different names could
compared, so :class:`.Parameter` instances with different names could
compare equal if they had been constructed using a common value for the
``uuid`` parameter (which is usually not passed explicitly).
3 changes: 3 additions & 0 deletions releasenotes/notes/prepare-1.0.2-361507ac0e50f6af.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
prelude: >
Qiskit 1.0.2 is a minor bugfix release for the 1.0 series.

0 comments on commit 30a22e4

Please sign in to comment.