From 58f8d24471a0cf33ffde56a4c87b857f252195c2 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 28 Nov 2023 16:29:54 -0500 Subject: [PATCH] Prepare 0.45.1 release (#11331) * Prepare 0.45.1 release This commit prepares the 0.45.1 release, this consists of bumping the version number to 0.25.3 in all the appropriate files. It also adds a prelude release note to provide a brief introduction to the release. When this commit merges it should be tagged as the 0.45.1 release. * Update release notes * Update Version.txt too --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- docs/conf.py | 2 +- qiskit/VERSION.txt | 2 +- qiskit_pkg/setup.py | 4 ++-- .../notes/add-py312-support-7077426af34ac5da.yaml | 3 ++- ...g-visualization-after-layout-42d3e643b923d8bc.yaml | 11 ++++++----- ...x-schedule-qpy-use-symengine-05ae1dfab73e3ff8.yaml | 4 +++- .../notes/fix_sim_backend-f3971b1ed4d0c4e6.yaml | 6 ------ .../notes/prepare-0.45.1-d30b63803378ae7c.yaml | 6 ++++++ setup.py | 2 +- 11 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 releasenotes/notes/fix_sim_backend-f3971b1ed4d0c4e6.yaml create mode 100644 releasenotes/notes/prepare-0.45.1-d30b63803378ae7c.yaml diff --git a/Cargo.lock b/Cargo.lock index 866c920c7ab6..961d5fbbb90a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -393,7 +393,7 @@ dependencies = [ [[package]] name = "qiskit-qasm2" -version = "0.45.0" +version = "0.45.1" dependencies = [ "hashbrown 0.14.0", "pyo3", @@ -401,7 +401,7 @@ dependencies = [ [[package]] name = "qiskit_accelerate" -version = "0.45.0" +version = "0.45.1" dependencies = [ "ahash", "hashbrown 0.14.0", diff --git a/Cargo.toml b/Cargo.toml index 1f3b4f7c344f..a13839950674 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = ["crates/*"] [workspace.package] -version = "0.45.0" +version = "0.45.1" edition = "2021" rust-version = "1.64" # 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 3ade77aec4ae..1c941eef575d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,7 +29,7 @@ # The short X.Y version version = "0.45" # The full version, including alpha/beta/rc tags -release = "0.45.0" +release = "0.45.1" language = "en" diff --git a/qiskit/VERSION.txt b/qiskit/VERSION.txt index bcce5d06b8a0..ff12df2fbb04 100644 --- a/qiskit/VERSION.txt +++ b/qiskit/VERSION.txt @@ -1 +1 @@ -0.45.0 +0.45.1 diff --git a/qiskit_pkg/setup.py b/qiskit_pkg/setup.py index 0ac3d053b490..45771333aaac 100644 --- a/qiskit_pkg/setup.py +++ b/qiskit_pkg/setup.py @@ -26,11 +26,11 @@ with open(README_PATH) as readme_file: README = readme_file.read() -requirements = ["qiskit-terra==0.45.0"] +requirements = ["qiskit-terra==0.45.1"] setup( name="qiskit", - version="0.45.0", + version="0.45.1", description="Software for developing quantum computing programs", long_description=README, long_description_content_type="text/markdown", diff --git a/releasenotes/notes/add-py312-support-7077426af34ac5da.yaml b/releasenotes/notes/add-py312-support-7077426af34ac5da.yaml index 4e2be1e92983..dd567ce1cb13 100644 --- a/releasenotes/notes/add-py312-support-7077426af34ac5da.yaml +++ b/releasenotes/notes/add-py312-support-7077426af34ac5da.yaml @@ -1,4 +1,5 @@ --- features: - | - Added support for using Qiskit with Python 3.12. + Added support for using Qiskit with Python 3.12. As of this release Qiskit + supports running with Python versions 3.8, 3.9, 3.10, 3.11, and 3.12. diff --git a/releasenotes/notes/fix-qreg-visualization-after-layout-42d3e643b923d8bc.yaml b/releasenotes/notes/fix-qreg-visualization-after-layout-42d3e643b923d8bc.yaml index 8e887846e432..f11dc1639ee7 100644 --- a/releasenotes/notes/fix-qreg-visualization-after-layout-42d3e643b923d8bc.yaml +++ b/releasenotes/notes/fix-qreg-visualization-after-layout-42d3e643b923d8bc.yaml @@ -1,8 +1,9 @@ --- fixes: - | - Fixed a bug in :class:`~.SabreLayout` where it would fail to add the layout - register information to the property set. This affected circuit visualization, as - ``circuit.draw()`` after transpilation with certain optimization levels would show - the full ``Qubit[register]`` label rather than the expected register name - (e.g. ``q0``). + Fixed a bug in :class:`~.SabreLayout` where it would fail to add the register + information to the :class:`.Layout` object used for :attr:`.TranspileLayout.initial_layout`. + This affected circuit visualization with :meth:`.QuantumCircuit.draw` and :func:`.circuit_drawer` + after transpilation which would show a virtual qubit label of the form ``Qubit[QuantumRegister(6, 'q', 0)]`` + rather than the expected virtual qubit label using the register name (e.g. ``q0``). + Fixed `#11038 `__ diff --git a/releasenotes/notes/fix-schedule-qpy-use-symengine-05ae1dfab73e3ff8.yaml b/releasenotes/notes/fix-schedule-qpy-use-symengine-05ae1dfab73e3ff8.yaml index 3fe71509ea7d..946dd56bdbb2 100644 --- a/releasenotes/notes/fix-schedule-qpy-use-symengine-05ae1dfab73e3ff8.yaml +++ b/releasenotes/notes/fix-schedule-qpy-use-symengine-05ae1dfab73e3ff8.yaml @@ -3,4 +3,6 @@ fixes: - | Fixed an issue with :func:`.qpy.dump` which would cause the function to potentially ignore the value of ``use_symengine`` when serializing a - :class:`.ScheduleBlock` object. + :class:`.ScheduleBlock` object. This would result in an invalid QPY + payload being generated as it would report it was using symengine for + symbolic expressions but actually contain sympy serialized data. diff --git a/releasenotes/notes/fix_sim_backend-f3971b1ed4d0c4e6.yaml b/releasenotes/notes/fix_sim_backend-f3971b1ed4d0c4e6.yaml deleted file mode 100644 index 5abfdc2d00cc..000000000000 --- a/releasenotes/notes/fix_sim_backend-f3971b1ed4d0c4e6.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -fixes: - - | - Fix `backend_utils.py` for simulator backends with BackendV2. - `is_simulator_backend` and `is_local_backend` returns `True` - if backend name that contains `simulator`. diff --git a/releasenotes/notes/prepare-0.45.1-d30b63803378ae7c.yaml b/releasenotes/notes/prepare-0.45.1-d30b63803378ae7c.yaml new file mode 100644 index 000000000000..234791ed8022 --- /dev/null +++ b/releasenotes/notes/prepare-0.45.1-d30b63803378ae7c.yaml @@ -0,0 +1,6 @@ +--- +prelude: > + Qiskit Terra 0.45.1 is a small patch release, fixing several bugs found in + the 0.45 release series. It is also the first release to have official support + for Python 3.12. The 0.45.1 release supports Python 3.8, 3.9, 3.10, 3.11, and + 3.12. diff --git a/setup.py b/setup.py index 898255891ceb..f8b25b5f4f02 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ setup( name="qiskit-terra", - version="0.45.0", + version="0.45.1", description="Software for developing quantum computing programs", long_description=README, long_description_content_type="text/markdown",