Skip to content

Commit

Permalink
Prepare Qiskit 1.2.2 (#13196)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman authored Sep 20, 2024
1 parent 01b4cc7 commit 078d5a0
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 18 deletions.
10 changes: 5 additions & 5 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.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"
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion qiskit/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.2.2
Original file line number Diff line number Diff line change
@@ -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).
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/Qiskit/qiskit/issues/13144>`__
running :class:`.ElidePermutations` if ``routing_method="none"`` is set.
Fixed `#13144 <https://github.com/Qiskit/qiskit/issues/13144>`__.
3 changes: 3 additions & 0 deletions releasenotes/notes/1.2/prepare-1.2.2-661b5fc156945e84.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
prelude: >
Qiskit 1.2.2 is a minor bugfix release for the 1.2 series.

0 comments on commit 078d5a0

Please sign in to comment.