Closed stavros11 closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.10%. Comparing base (
e93ec84
) to head (c645237
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix Shor example, which is outdated since #1039, as reported in #1432.
The measurement in the end is needed because it is no longer possible to execute circuits that contain only collapse measurements using state vectors.
Specifying
nshots=1
is needed because a defaultnshots=1000
was introduced in #1039 compared to theNone
being used before. This was also causing the performance issue reported in #1432, because during the repeated execution it was executing the circuit 1000 times instead of one that we need.Checklist: