diff --git a/Cargo.lock b/Cargo.lock index de533650d792..34d002ee0936 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1104,7 +1104,7 @@ dependencies = [ [[package]] name = "qiskit-qasm2" -version = "1.0.1" +version = "1.0.2" dependencies = [ "hashbrown 0.14.3", "pyo3", @@ -1112,7 +1112,7 @@ dependencies = [ [[package]] name = "qiskit-qasm3" -version = "1.0.1" +version = "1.0.2" dependencies = [ "hashbrown 0.14.3", "indexmap 2.2.1", @@ -1122,7 +1122,7 @@ dependencies = [ [[package]] name = "qiskit_accelerate" -version = "1.0.1" +version = "1.0.2" dependencies = [ "ahash", "faer", diff --git a/Cargo.toml b/Cargo.toml index 32a74f24c506..b3501f5219a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/docs/conf.py b/docs/conf.py index 28227d76a95c..a6b87822a205 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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" diff --git a/qiskit/VERSION.txt b/qiskit/VERSION.txt index 7dea76edb3dc..6d7de6e6abef 100644 --- a/qiskit/VERSION.txt +++ b/qiskit/VERSION.txt @@ -1 +1 @@ -1.0.1 +1.0.2 diff --git a/releasenotes/notes/fix-control-flow-convert-to-target-ae838418a7ad2a20.yaml b/releasenotes/notes/fix-control-flow-convert-to-target-ae838418a7ad2a20.yaml index be29520fad89..cc9c24f9d329 100644 --- a/releasenotes/notes/fix-control-flow-convert-to-target-ae838418a7ad2a20.yaml +++ b/releasenotes/notes/fix-control-flow-convert-to-target-ae838418a7ad2a20.yaml @@ -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 `__. diff --git a/releasenotes/notes/fix-evolved-operator-ansatz-empty-ops-bf8ecfae8f1e1001.yaml b/releasenotes/notes/fix-evolved-operator-ansatz-empty-ops-bf8ecfae8f1e1001.yaml index 2f941d42a112..d88506e91ee6 100644 --- a/releasenotes/notes/fix-evolved-operator-ansatz-empty-ops-bf8ecfae8f1e1001.yaml +++ b/releasenotes/notes/fix-evolved-operator-ansatz-empty-ops-bf8ecfae8f1e1001.yaml @@ -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`. diff --git a/releasenotes/notes/fix-missing-qubit-properties-35137aa5250d9368.yaml b/releasenotes/notes/fix-missing-qubit-properties-35137aa5250d9368.yaml index e77d292f08dc..f35b2cd9409f 100644 --- a/releasenotes/notes/fix-missing-qubit-properties-35137aa5250d9368.yaml +++ b/releasenotes/notes/fix-missing-qubit-properties-35137aa5250d9368.yaml @@ -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``. diff --git a/releasenotes/notes/fix-pub-coerce-5d13700e15126421.yaml b/releasenotes/notes/fix-pub-coerce-5d13700e15126421.yaml index 0d7386b345e7..fd04425e0eb4 100644 --- a/releasenotes/notes/fix-pub-coerce-5d13700e15126421.yaml +++ b/releasenotes/notes/fix-pub-coerce-5d13700e15126421.yaml @@ -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. \ No newline at end of file + 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. diff --git a/releasenotes/notes/fix-transpile-control-flow-no-hardware-7c00ad733a569bb9.yaml b/releasenotes/notes/fix-transpile-control-flow-no-hardware-7c00ad733a569bb9.yaml index f306362c404b..516736964fc4 100644 --- a/releasenotes/notes/fix-transpile-control-flow-no-hardware-7c00ad733a569bb9.yaml +++ b/releasenotes/notes/fix-transpile-control-flow-no-hardware-7c00ad733a569bb9.yaml @@ -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 `__. diff --git a/releasenotes/notes/obs-array-coerce-0d-28b192fb3d004d4a.yaml b/releasenotes/notes/obs-array-coerce-0d-28b192fb3d004d4a.yaml index 987709d36e2a..e0dbe34e070c 100644 --- a/releasenotes/notes/obs-array-coerce-0d-28b192fb3d004d4a.yaml +++ b/releasenotes/notes/obs-array-coerce-0d-28b192fb3d004d4a.yaml @@ -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,)`. \ No newline at end of file + Previously, it erroneously upgraded to a single dimension, with shape ``(1,)``. diff --git a/releasenotes/notes/parameter-hash-eq-645f9de55aa78d02.yaml b/releasenotes/notes/parameter-hash-eq-645f9de55aa78d02.yaml index f134de5f00fa..6b345a9b976a 100644 --- a/releasenotes/notes/parameter-hash-eq-645f9de55aa78d02.yaml +++ b/releasenotes/notes/parameter-hash-eq-645f9de55aa78d02.yaml @@ -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). diff --git a/releasenotes/notes/prepare-1.0.2-361507ac0e50f6af.yaml b/releasenotes/notes/prepare-1.0.2-361507ac0e50f6af.yaml new file mode 100644 index 000000000000..bc4b4d361584 --- /dev/null +++ b/releasenotes/notes/prepare-1.0.2-361507ac0e50f6af.yaml @@ -0,0 +1,3 @@ +--- +prelude: > + Qiskit 1.0.2 is a minor bugfix release for the 1.0 series.