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
Adjust Circuit.__add__ behavior to match Circuit.__iadd__ (#3364)
Fixes#3353. This is a breaking change: it modifies the moment structure produced by code of the form `circuit + gate`. Other circuit-addition protocols (e.g. `circuit + moment(s)` or `circuit + circuit`) are unaffected by this change.
The new test fails with the old `circuit + gate` behavior.
0 commit comments