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

Q1ASM parse and generation #868

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Q1ASM parse and generation #868

wants to merge 19 commits into from

Conversation

alecandido
Copy link
Member

@alecandido alecandido commented Apr 4, 2024

Attempting a complete parser and reconstructor for Q1ASM.

  • grammar to parse Q1ASM
  • transform to native classes
  • reconstruct Q1ASM
  • add instructions documentation
  • add Q1 execution time
    • the case of conditional jumps can't be fully worked out statically
  • parse & dump register to int
    • remove/add initial R
  • add references (parse & dump)
    • as special immediates
    • remove/add initial @
  • format with labels
  • format comments

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

Attention: Patch coverage is 90.27778% with 21 lines in your changes missing coverage. Please review.

Project coverage is 54.69%. Comparing base (4128ac7) to head (6758d75).

Files with missing lines Patch % Lines
src/qibolab/_core/instruments/qblox/ast_.py 89.23% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #868      +/-   ##
==========================================
+ Coverage   51.95%   54.69%   +2.73%     
==========================================
  Files          63       66       +3     
  Lines        2808     3024     +216     
==========================================
+ Hits         1459     1654     +195     
- Misses       1349     1370      +21     
Flag Coverage Δ
unittests 54.69% <90.27%> (+2.73%) ⬆️

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.

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.

1 participant