diff --git a/Cargo.lock b/Cargo.lock index 4ea5f80d2efd..ba2e0d579380 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1161,7 +1161,7 @@ dependencies = [ [[package]] name = "qiskit-accelerate" -version = "1.2.1" +version = "1.2.2" dependencies = [ "ahash 0.8.11", "approx", @@ -1189,7 +1189,7 @@ dependencies = [ [[package]] name = "qiskit-circuit" -version = "1.2.1" +version = "1.2.2" dependencies = [ "bytemuck", "hashbrown 0.14.5", @@ -1203,7 +1203,7 @@ dependencies = [ [[package]] name = "qiskit-pyext" -version = "1.2.1" +version = "1.2.2" dependencies = [ "pyo3", "qiskit-accelerate", @@ -1214,7 +1214,7 @@ dependencies = [ [[package]] name = "qiskit-qasm2" -version = "1.2.1" +version = "1.2.2" dependencies = [ "hashbrown 0.14.5", "num-bigint", @@ -1224,7 +1224,7 @@ dependencies = [ [[package]] name = "qiskit-qasm3" -version = "1.2.1" +version = "1.2.2" dependencies = [ "hashbrown 0.14.5", "indexmap", diff --git a/Cargo.toml b/Cargo.toml index 81d550d63503..e1ced58c9862 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "1.2.1" +version = "1.2.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 757cfd955052..572e125d3614 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -32,7 +32,7 @@ # The short X.Y version version = "1.2" # The full version, including alpha/beta/rc tags -release = "1.2.1" +release = "1.2.2" language = "en" diff --git a/qiskit/VERSION.txt b/qiskit/VERSION.txt index 6085e946503a..23aa8390630c 100644 --- a/qiskit/VERSION.txt +++ b/qiskit/VERSION.txt @@ -1 +1 @@ -1.2.1 +1.2.2 diff --git a/releasenotes/notes/fix-elide-permutations-1b9e1d10c3abb2a4.yaml b/releasenotes/notes/1.2/fix-elide-permutations-1b9e1d10c3abb2a4.yaml similarity index 100% rename from releasenotes/notes/fix-elide-permutations-1b9e1d10c3abb2a4.yaml rename to releasenotes/notes/1.2/fix-elide-permutations-1b9e1d10c3abb2a4.yaml diff --git a/releasenotes/notes/fix-potential-non-determinism-dense-layout-da66de0217121146.yaml b/releasenotes/notes/1.2/fix-potential-non-determinism-dense-layout-da66de0217121146.yaml similarity index 100% rename from releasenotes/notes/fix-potential-non-determinism-dense-layout-da66de0217121146.yaml rename to releasenotes/notes/1.2/fix-potential-non-determinism-dense-layout-da66de0217121146.yaml diff --git a/releasenotes/notes/fix-qft-plugins-7106029d33c44b96.yaml b/releasenotes/notes/1.2/fix-qft-plugins-7106029d33c44b96.yaml similarity index 74% rename from releasenotes/notes/fix-qft-plugins-7106029d33c44b96.yaml rename to releasenotes/notes/1.2/fix-qft-plugins-7106029d33c44b96.yaml index 3024432af714..258fa204e24a 100644 --- a/releasenotes/notes/fix-qft-plugins-7106029d33c44b96.yaml +++ b/releasenotes/notes/1.2/fix-qft-plugins-7106029d33c44b96.yaml @@ -1,9 +1,7 @@ --- fixes: - | - The ``HighLevelSynthesis`` transpiler pass no longer raises an exception when + The :class:`.HighLevelSynthesis` transpiler pass no longer raises an exception when encountering a custom gate that is called "qft" but is not an instance of :class:`~qiskit.circuit.library.QFTGate`. Instead, the synthesis plugins for QFT gates ignore such a gate, and the gate's definition is used (if provided). - - diff --git a/releasenotes/notes/fix-textdrawer-idle-layer-91e6c3c6d7656e98.yaml b/releasenotes/notes/1.2/fix-textdrawer-idle-layer-91e6c3c6d7656e98.yaml similarity index 100% rename from releasenotes/notes/fix-textdrawer-idle-layer-91e6c3c6d7656e98.yaml rename to releasenotes/notes/1.2/fix-textdrawer-idle-layer-91e6c3c6d7656e98.yaml diff --git a/releasenotes/notes/no-elide-routing-none-7c1bebf1283d48c0.yaml b/releasenotes/notes/1.2/no-elide-routing-none-7c1bebf1283d48c0.yaml similarity index 53% rename from releasenotes/notes/no-elide-routing-none-7c1bebf1283d48c0.yaml rename to releasenotes/notes/1.2/no-elide-routing-none-7c1bebf1283d48c0.yaml index cc749f62775c..3124433d4fdb 100644 --- a/releasenotes/notes/no-elide-routing-none-7c1bebf1283d48c0.yaml +++ b/releasenotes/notes/1.2/no-elide-routing-none-7c1bebf1283d48c0.yaml @@ -1,16 +1,16 @@ --- fixes: - | - Fixed an issue when running :func:`.transpile` or - :meth:`~.StagedPassManager.run` on a pass manager generated by - :func:`.generate_preset_pass_manager` using ``optimization_level`` 2 or 3 + Fixed an issue when calling :func:`.transpile` or + the method :meth:`.StagedPassManager.run` of a pass manager generated by + :func:`.generate_preset_pass_manager`, using ``optimization_level`` 2 or 3 when the ``routing_method`` argument is set to ``"none"`` to explicitly disable routing. Previously under these conditions the transpiler would run - the :class:`.ElidePermutation` pass as part of the init stage as under normal + the :class:`.ElidePermutations` pass as part of the init stage, as under normal conditions this is a useful optimization to remove :class:`.SwapGate` and :class:`.PermutationGate` instances from the circuit. But when ``routing_method="none"`` this optimization wasn't expected as it permutes - the circuit in a similar manner to routing which shouldn't be performed + the circuit in a similar manner to routing, which shouldn't be performed when ``routing_method="none"``. This has been fixed by no longer - running :class:`.ElidePermutation` if ``routing_method="none"`` is set. - Fixed `#13144 `__ + running :class:`.ElidePermutations` if ``routing_method="none"`` is set. + Fixed `#13144 `__. diff --git a/releasenotes/notes/1.2/prepare-1.2.2-661b5fc156945e84.yaml b/releasenotes/notes/1.2/prepare-1.2.2-661b5fc156945e84.yaml new file mode 100644 index 000000000000..fe0c15fdf660 --- /dev/null +++ b/releasenotes/notes/1.2/prepare-1.2.2-661b5fc156945e84.yaml @@ -0,0 +1,3 @@ +--- +prelude: > + Qiskit 1.2.2 is a minor bugfix release for the 1.2 series. diff --git a/releasenotes/notes/qasm3-includes-ceb56f49b8c190ff.yaml b/releasenotes/notes/1.2/qasm3-includes-ceb56f49b8c190ff.yaml similarity index 100% rename from releasenotes/notes/qasm3-includes-ceb56f49b8c190ff.yaml rename to releasenotes/notes/1.2/qasm3-includes-ceb56f49b8c190ff.yaml