Skip to content

Commit 913f891

Browse files
authored
Prepare Qiskit 2.3.1 (#15803)
1 parent 13d4ef7 commit 913f891

8 files changed

Lines changed: 25 additions & 29 deletions

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "2.3.0"
6+
version = "2.3.1"
77
edition = "2024"
88
rust-version = "1.85" # Keep in sync with README.md, rust-toolchain.toml, and tools/install_rust_msrv.sh
99
license = "Apache-2.0"

crates/cext/include/qiskit/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
#define QISKIT_VERSION_MAJOR 2
2222
#define QISKIT_VERSION_MINOR 3
23-
#define QISKIT_VERSION_PATCH 0
23+
#define QISKIT_VERSION_PATCH 1
2424
#define QISKIT_RELEASE_LEVEL QISKIT_RELEASE_LEVEL_FINAL
2525
// For the final release, set the below to 0.
2626
#define QISKIT_RELEASE_SERIAL 0
2727

28-
#define QISKIT_VERSION "2.3.0"
28+
#define QISKIT_VERSION "2.3.1"
2929

3030
#define QISKIT_GET_VERSION_HEX(major, minor, patch, level, serial) \
3131
(((major) & 0xff) << 24 | ((minor) & 0xff) << 16 | ((patch) & 0xff) << 8 | \

qiskit/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.3.1
Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
---
22
fixes:
33
- |
4-
Fixed a bug in :meth:`~qiskit.circuit.ParameterExpression.sympify()` where reverse power
5-
operations (RPOW) were incorrectly converting to sympy expressions with swapped operands.
6-
Previously, expressions like ``a ** (b - 2)`` would incorrectly convert to ``(b - 2)**a``
7-
instead of ``a ** (b - 2)``. The fix adds proper handling for reverse operations (RPOW,
8-
RDIV, RSUB) to correctly swap operands before applying the operation, matching the Rust
9-
implementation behavior.
10-
4+
Fixed a bug in :meth:`.ParameterExpression.sympify` where asymmetric arithmetic operations (such
5+
as `**` or `-`) could have the operands reversed with certain combinations of :class:`.Parameter`,
6+
:class:`.ParameterExpression` and numeric values. See `#15642 <https://github.com/Qiskit/qiskit/pull/15642>`__.

releasenotes/notes/fix-qsphere-anchor-b46ad3451ac89fc3.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22
fixes:
33
- |
44
Fixed a visualization artifact in :func:`~qiskit.visualization.plot_state_qsphere` where
5-
symmetric entangled states (e.g., Bell states) were arbitrarily rotated due to floating-point
6-
noise. Previously, microscopic noise introduced by the internal eigensolver could cause the
7-
visualization to select the wrong basis state as the global phase anchor (Phase 0). A rounding
8-
step has been added to filter this noise, ensuring stable and canonical orientation for
9-
symmetric states.
10-
5+
symmetric entangled states (such as Bell states) were arbitrarily rotated due to floating-point
6+
noise.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
fixes:
33
- |
4-
The rust ``is_control_flow`` method now returns ``false`` on :class:`.ContinueLoopOp` and :class:`.BreakLoopOp` constructs
5-
as is expected by the parts of the code that use it. Fixed `#15579 <https://github.com/Qiskit/qiskit/issues/15579>`__.
4+
Fixed :class:`.BreakLoopOp` and :class:`.ContinueLoopOp` being falsely considered control-flow
5+
operations in certain transpiler passes, which could manifest as an :exc:`AttributeError` being raised.
6+
See `#15579 <https://github.com/Qiskit/qiskit/issues/15579>`__.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
prelude: >
3+
Qiskit v2.3.1 fixes several bugs identified since the release of Qiskit v2.3.0.

0 commit comments

Comments
 (0)