Skip to content

Commit ca90988

Browse files
bnayahuclaude
andcommitted
Add release note for ConstrainedReschedule Rust port bug fixes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f0d35a1 commit ca90988

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
fixes:
3+
- |
4+
Fixed three bugs in the Rust port of :class:`.ConstrainedReschedule`
5+
that caused incorrect ``node_start_time`` values when a :class:`.Target` was
6+
provided. First, the :class:`.Delay` duration was read from the target
7+
gate table (where it is absent) instead of the instruction parameter,
8+
producing a zero duration and corrupting successor start times via unsigned
9+
integer underflow. Second, the ``pulse_align`` and ``acquire_align``
10+
arguments were passed in the wrong order to the inner scheduling function,
11+
so :class:`.Measure` and :class:`.Reset` operations were never shifted to
12+
the correct acquire-alignment boundary. Third, the qubit- and clbit-overlap
13+
calculations used plain subtraction on unsigned integers, which wrapped to a
14+
large value when there was no real overlap; changed to saturating subtraction.

0 commit comments

Comments
 (0)