You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preserve max moment of control key while appending to circuit (#7626)
Control operations sharing the same control key could be assigned an
earlier moment index, causing later measurements to appear before
earlier controls.
This change updates `ckey_indices` to keep the maximum moment index seen
so far, preventing reordering of classical controls and measurements.
Fixes#7622, fixes#7623
---------
Co-authored-by: Pavol Juhas <juhas@google.com>
0 commit comments