Skip to content

Commit c2de7e9

Browse files
committed
Reword release note
1 parent 4d2998b commit c2de7e9

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
---
22
fixes:
33
- |
4-
Fixed an issue in the :func:`.qpy.load` function when reading QPY payloads using
5-
QPY format versions >=13 that contained a circuit which contained :class:`.Delay`
6-
instructions that had an integer duration value with a duration unit of ``"dt"``
7-
were incorrectly loaded through a :class:`.ParameterExpression` as part of the
8-
deserialization process. This typically wasn't visible through Python as the
9-
:class:`.ParameterExpression` was coerced into an integer when it was accessed
10-
from Python. But for code acting on the instruction internally via Rust this could
11-
cause issues as it was diverging from underlying expectations around
12-
:class:`.Delay` instructions. One concrete example of this is if you passed a
13-
circuit loaded via :func:`.qpy.load` to the :func:`.qasm3.dumps_experimental`
14-
function this would cause an internal error. This has been fixed so now an integer
15-
object is correctly created directly for the duration.
4+
Fixed :func:`.qpy.load` for QPY versions >=13, where :class:`.Delay` instructions with integer
5+
durations could deserialize to incorrect types. This could cause later code to raise errors,
6+
such as :func:`.qasm3.dumps_experimental` returning an error saying "Failed to parse parameter
7+
value". See `#16076 <https://github.com/Qiskit/qiskit/pull/16076>`__ for more detail.

0 commit comments

Comments
 (0)