Skip to content
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

ToF routine for qblox #728

Merged
merged 5 commits into from
Feb 1, 2024
Merged

ToF routine for qblox #728

merged 5 commits into from
Feb 1, 2024

Conversation

PiergiorgioButtarini
Copy link
Contributor

@PiergiorgioButtarini PiergiorgioButtarini commented Dec 26, 2023

This PR introduce the possibility of retrieving AcquisitionType.RAW results for Qblox.
This type acquisition was used to produce the following ToF routine (using qibocal branch qiboteam/qibocal#679): http://login.qrccluster.com:9000/whJVmwwASf2x5tnTU534Dw==

Note:

  • To be more precise, at the moment these results are automatically (by the module itself) averaged on the nshot dimension.
    So for example the raw plot made with nshots=1000 will be the average of the 1000 different raw plots.

  • Since this averaging is happening automatically (there is only one memory for scope_acquisition, but maybe this can be changed assigning different sequencers other than the default one) is not possible to retrieve raw results for more than one measurement process per channel.
    In fact two measurement in series (one after the other) will be stored and at the and averaged together, producing meaningless results.

Checklist:

  • Reviewers confirm new code works as expected.
  • Tests are passing.
  • Coverage does not decrease.
  • Documentation is updated.

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (e11f5c8) 64.00% compared to head (9e3d1d7) 64.03%.

Files Patch % Lines
src/qibolab/instruments/qblox/controller.py 0.00% 9 Missing ⚠️
src/qibolab/instruments/qblox/acquisition.py 66.66% 3 Missing ⚠️
src/qibolab/instruments/qblox/cluster_qrm_rf.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #728      +/-   ##
==========================================
+ Coverage   64.00%   64.03%   +0.03%     
==========================================
  Files          49       49              
  Lines        5778     5778              
==========================================
+ Hits         3698     3700       +2     
+ Misses       2080     2078       -2     
Flag Coverage Δ
unittests 64.03% <31.57%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PiergiorgioButtarini PiergiorgioButtarini linked an issue Dec 26, 2023 that may be closed by this pull request
@PiergiorgioButtarini PiergiorgioButtarini marked this pull request as ready for review January 17, 2024 09:08
Copy link
Member

@stavros11 stavros11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @PiergiorgioButtarini. If you can merge main and fix the conflicts and the comments above, we can probably merge this.

@PiergiorgioButtarini PiergiorgioButtarini merged commit 13bdcb4 into main Feb 1, 2024
23 of 24 checks passed
@PiergiorgioButtarini PiergiorgioButtarini deleted the tof_qblox branch February 1, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AcquisitionType.RAW Qblox driver
3 participants