Closed lillian542 closed 4 weeks ago
[sc-60186]
Hello. You may have forgotten to update the changelog!
Please edit doc/changelog.md
on your branch with:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.96%. Comparing base (
5612227
) to head (3a7aa23
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Edit: wrong story ID [sc-60187]
[sc-60188]
Did we add the flag to lightning as well? :)
Did we add the flag to lightning as well? :)
Yes!
Context: State-based simulators can generally get the values for non-commuting observables together on a single execution. Hardware and some simulators require non-commuting observables to be separated into different executions.
Description of the Change: We add a
non_commuting_observables
flag to the TOML file. IfTrue
, the device can deal with non-commuting observables.We check the
non_commuting_observables_flag
indevice.preprocess
, and add thesplit_non_commuting
transform to the transform_program if it'sFalse
.