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

fix: rescale QM pulse amplitude to [-1, 1] #1010

Merged
merged 1 commit into from
Aug 28, 2024
Merged

fix: rescale QM pulse amplitude to [-1, 1] #1010

merged 1 commit into from
Aug 28, 2024

Conversation

stavros11
Copy link
Member

Fixes #1006 for QM by multiplying all waveforms with the maximum voltage output (0.5 V), which essentially rescales the meaning of pulse.amplitude to [-1, 1].

I think this closes the issue for now, we just need to be consistent as we are adding more drivers. Regarding the flux pulse - qubit frequency mapping, it sounds more of a calibration feature, so I am not sure if we should add in qibolab, but this won't happen for 0.2(.0) in any case.

@stavros11 stavros11 added this to the Qibolab 0.2.0 milestone Aug 28, 2024
@stavros11 stavros11 requested a review from alecandido August 28, 2024 11:37
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 42.81%. Comparing base (d91498e) to head (ccd94f8).

Files Patch % Lines
src/qibolab/instruments/qm/config/pulses.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              0.2    #1010      +/-   ##
==========================================
+ Coverage   42.80%   42.81%   +0.01%     
==========================================
  Files          80       80              
  Lines        5642     5645       +3     
==========================================
+ Hits         2415     2417       +2     
- Misses       3227     3228       +1     
Flag Coverage Δ
unittests 42.81% <60.00%> (+0.01%) ⬆️

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 linked an issue Aug 28, 2024 that may be closed by this pull request
@stavros11 stavros11 merged commit 7bc3797 into 0.2 Aug 28, 2024
42 checks passed
@stavros11 stavros11 deleted the qm-amplitude branch August 28, 2024 12:11
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.

Standardize pulse amplitude meaning
2 participants