-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results collection #964
Results collection #964
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 0.2 #964 +/- ##
==========================================
+ Coverage 51.45% 51.63% +0.17%
==========================================
Files 57 57
Lines 2740 2750 +10
==========================================
+ Hits 1410 1420 +10
Misses 1330 1330
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Most of the work was of course done in #940, but here I'd like to discuss another possible breaking change, i.e. qibolab/src/qibolab/platform/platform.py Lines 317 to 321 in adee9c4
we are now creating lists for each pulse, but in principle pulses may be unique, and we could just keep the results flatter (replacing the dict[PulseId, list[Result]] with dict[PulseId, Result] ).
Of course, this is only relevant for unrolling, since in all the other cases there is a single pulse with the given id, and if there are many results associated (e.g. as in sweepers) the structure is internal to the The drawback of the proposed scenario is that we lift to the user the burden of generating unique acquisition pulses (of course, we can validate the sequence to check for duplicates) making copies while generating the sequences (instead of reusing the same pulse - but a |
4abda92
to
1359be6
Compare
adee9c4
to
19d32e7
Compare
bfaae97
to
88df829
Compare
19d32e7
to
10ac057
Compare
10ac057
to
d305930
Compare
87c4cfd
to
d2f06f3
Compare
9ac2d23
to
f9d4daf
Compare
d2f06f3
to
678ad36
Compare
f9d4daf
to
2171caa
Compare
678ad36
to
abbfd11
Compare
Mostly redundant, it should be replaced with a test on the exact type returned by Platform.execute, in #964
Mostly redundant, it should be replaced with a test on the exact type returned by Platform.execute, in #964
abbfd11
to
26dbfd3
Compare
Mostly redundant, it should be replaced with a test on the exact type returned by Platform.execute, in #964
I would say this solution is acceptable. We just need to validate in |
Then, I will rebase, provide the check (and a couple of tests), and then ask for a review. |
26dbfd3
to
8d28dce
Compare
@stavros11 now this PR should be feature-complete, I'm just missing suitable tests (and fixing the other ones), and we are done. |
Not channels' ones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @alecandido, looks good to me. I also tested the single shot routine with and without unrolling and some quick circuit executions and they all seem to work.
Since it has already been approved, I'll merge as soon as the CI passes |
Closes #809