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
… `QSystemOp::LazyMeasureReset` (#741)
Done in the process of addressing #740
BREAKING CHANGE: The signature of `QSystemOp::LazyMeasure` is changed to
consume its qubit.
We only rewrite
Tket2Op::Measure
.It happens that we rewrite
Tket2Op::Measure
=>TQsystemOp::Measure
before we lazify, so as is it's a no-op pass.I suggest we leave the pass ordering as is, and add cases to move to rewriting:
Tket2Op::Measure
Tket2Op::MeasureFree
QSystemOp::Measure
QSystemOp::MeasureReset
Let's simultaneously change
LowerTket2ToQSystemPass
to lower to lazy measures directly (sharing code obviously).The text was updated successfully, but these errors were encountered: