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

Update QM driver to new acquisition and ChannelId #998

Merged
merged 13 commits into from
Aug 22, 2024
Merged

Conversation

stavros11
Copy link
Member

@stavros11 stavros11 commented Aug 20, 2024

These are the fixes required to make things work with #970. I based it on #994 since this queue of PRs is also ready. I am not sure if it is the best possible way to fix, but was tested to work with single shot routine and qw11qD.

Generally, I am not very happy with this change, I think that both the separate acquisition and ChannelId make things slightly more complicated. The acquisition part was expected, since it is not natively supported by QM (as far as I know), the ChannelId part requires casting to string several times. However, the difference is not that big and we can still live with it.

@stavros11 stavros11 requested a review from alecandido August 20, 2024 17:57
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

Attention: Patch coverage is 12.00000% with 44 lines in your changes missing coverage. Please review.

Project coverage is 42.74%. Comparing base (f310266) to head (1613268).

Files Patch % Lines
src/qibolab/instruments/qm/controller.py 11.76% 30 Missing ⚠️
src/qibolab/instruments/qm/program/sweepers.py 0.00% 8 Missing ⚠️
src/qibolab/instruments/qm/config/config.py 0.00% 3 Missing ⚠️
src/qibolab/instruments/qm/program/instructions.py 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           py3.12     #998      +/-   ##
==========================================
- Coverage   42.82%   42.74%   -0.08%     
==========================================
  Files          80       80              
  Lines        5551     5561      +10     
==========================================
  Hits         2377     2377              
- Misses       3174     3184      +10     
Flag Coverage Δ
unittests 42.74% <12.00%> (-0.08%) ⬇️

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.

@alecandido alecandido added this to the Qibolab 0.2.0 milestone Aug 20, 2024
@stavros11 stavros11 mentioned this pull request Aug 22, 2024
Base automatically changed from py3.12 to 0.2 August 22, 2024 16:30
@alecandido alecandido merged commit e8abaa5 into 0.2 Aug 22, 2024
39 of 40 checks passed
@alecandido alecandido deleted the qm-acquisition branch August 22, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants