From 0ab44e3864ff54bbcd60da50a13f9912bd38313a Mon Sep 17 00:00:00 2001 From: Hunter Kemeny <43501602+hunterkemeny@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:57:12 -0500 Subject: [PATCH] Prepare release 0.45.2 (#11590) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Prepare release 0.45.2 * Update release notes * Update release notes * Update release notes * Update releasenotes/notes/fix-blueprintcircuit-phase-7102043cf2e47e33.yaml --------- Co-authored-by: Elena Peña Tapia <57907331+ElePT@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- docs/conf.py | 2 +- qiskit/VERSION.txt | 2 +- qiskit_pkg/setup.py | 4 ++-- .../notes/fix-blueprintcircuit-phase-7102043cf2e47e33.yaml | 2 +- .../fix-optimize-swap-before-measure-67e8896da2215d49.yaml | 4 ++-- releasenotes/notes/prepare-0.45.2-bcf335ea060b8212.yaml | 5 +++++ setup.py | 2 +- 9 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 releasenotes/notes/prepare-0.45.2-bcf335ea060b8212.yaml diff --git a/Cargo.lock b/Cargo.lock index 961d5fbbb90a..0a86b482100c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -393,7 +393,7 @@ dependencies = [ [[package]] name = "qiskit-qasm2" -version = "0.45.1" +version = "0.45.2" dependencies = [ "hashbrown 0.14.0", "pyo3", @@ -401,7 +401,7 @@ dependencies = [ [[package]] name = "qiskit_accelerate" -version = "0.45.1" +version = "0.45.2" dependencies = [ "ahash", "hashbrown 0.14.0", diff --git a/Cargo.toml b/Cargo.toml index a13839950674..57c3985a7707 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ members = ["crates/*"] [workspace.package] -version = "0.45.1" +version = "0.45.2" 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 6151b8014c24..b2de18956bb0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ # The short X.Y version version = "0.45" # The full version, including alpha/beta/rc tags -release = "0.45.1" +release = "0.45.2" language = "en" diff --git a/qiskit/VERSION.txt b/qiskit/VERSION.txt index ff12df2fbb04..9f3a7d7492f7 100644 --- a/qiskit/VERSION.txt +++ b/qiskit/VERSION.txt @@ -1 +1 @@ -0.45.1 +0.45.2 diff --git a/qiskit_pkg/setup.py b/qiskit_pkg/setup.py index 45771333aaac..1c47a0b04d08 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.1"] +requirements = ["qiskit-terra==0.45.2"] setup( name="qiskit", - version="0.45.1", + version="0.45.2", description="Software for developing quantum computing programs", long_description=README, long_description_content_type="text/markdown", diff --git a/releasenotes/notes/fix-blueprintcircuit-phase-7102043cf2e47e33.yaml b/releasenotes/notes/fix-blueprintcircuit-phase-7102043cf2e47e33.yaml index f835d8a97477..01602cc31a47 100644 --- a/releasenotes/notes/fix-blueprintcircuit-phase-7102043cf2e47e33.yaml +++ b/releasenotes/notes/fix-blueprintcircuit-phase-7102043cf2e47e33.yaml @@ -2,5 +2,5 @@ fixes: - | Calling :meth:`~.QuantumCircuit.copy` or :meth:`~.QuantumCircuit.copy_empty_like` on a - :class:¬.BlueprintCircuit` will now correctly propagate the + :class:`.BlueprintCircuit` will now correctly propagate the :attr:`~.QuantumCircuit.global_phase` to the copy. Previously, the global phase would always be zero after the copy. diff --git a/releasenotes/notes/fix-optimize-swap-before-measure-67e8896da2215d49.yaml b/releasenotes/notes/fix-optimize-swap-before-measure-67e8896da2215d49.yaml index 9c743062c6d3..c765b68a92b9 100644 --- a/releasenotes/notes/fix-optimize-swap-before-measure-67e8896da2215d49.yaml +++ b/releasenotes/notes/fix-optimize-swap-before-measure-67e8896da2215d49.yaml @@ -3,8 +3,8 @@ fixes: - | Fixed an issue with the :class:`~.OptimizeSwapBeforeMeasure` pass where it would incorrectly optimize circuits involving swap and measure - instructions. This commit fixes the bug by changing `DAGCircuit.successors` - to `DAGCircuit.descendants`. Also, added a couple of extra tests to ensure + instructions. This commit fixes the bug by changing :meth:`.DAGCircuit.successors` + to :meth:`.DAGCircuit.descendants`. Also, added a couple of extra tests to ensure that the bug is fixed. For example:: from qiskit import QuantumCircuit diff --git a/releasenotes/notes/prepare-0.45.2-bcf335ea060b8212.yaml b/releasenotes/notes/prepare-0.45.2-bcf335ea060b8212.yaml new file mode 100644 index 000000000000..c962c9f252f5 --- /dev/null +++ b/releasenotes/notes/prepare-0.45.2-bcf335ea060b8212.yaml @@ -0,0 +1,5 @@ +--- +prelude: > + Qiskit 0.45.2 is a small patch release, fixing several bugs found in the 0.45 release series. + + diff --git a/setup.py b/setup.py index f8b25b5f4f02..02ce87dc2809 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ setup( name="qiskit-terra", - version="0.45.1", + version="0.45.2", description="Software for developing quantum computing programs", long_description=README, long_description_content_type="text/markdown",