Skip to content

[CQT-355] Add support for asm declarations#496

Merged
elenbaasc merged 7 commits intodevelopfrom
CQT-355-Add-support-for-asm-declarations
Apr 11, 2025
Merged

[CQT-355] Add support for asm declarations#496
elenbaasc merged 7 commits intodevelopfrom
CQT-355-Add-support-for-asm-declarations

Conversation

@elenbaasc
Copy link
Collaborator

  • Implement asm declaration (as statement in IR).
  • Integrate in Parser, CircuitBuilder, Writer.
  • Add check in SingleQubitGatesMerger (to not merge across asm declarations).
  • Add tests.
  • Add entry in Changelog.

Add initial pickup asm declaration in Parser.
Add tests.
Add entry in Changelog.
@elenbaasc elenbaasc requested a review from juanboschero April 1, 2025 10:46
@elenbaasc elenbaasc requested a review from juanboschero April 9, 2025 13:27
Move AsmDeclaration class to follow Statement class.
@elenbaasc elenbaasc dismissed juanboschero’s stale review April 11, 2025 07:39

Changes were made in accordance with the request.

Dismissed the review, so that someone else can approve the PR.

@elenbaasc elenbaasc requested a review from rares1609 April 11, 2025 07:40
Copy link
Contributor

@rares1609 rares1609 left a comment

Choose a reason for hiding this comment

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

This issue looks good! The necessary additions have been made to circuit_builder.py and ir.py, and the AsmDeclaration class has the 2 attributes mentioned in the ticket. Furthermore, new tests have been added for this feature.

The only thing that seems to be missing is the test_rydberg_backend that should be added to test_integration.py (according to the jira ticket).

Copy link
Contributor

@rares1609 rares1609 left a comment

Choose a reason for hiding this comment

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

Looks good to go!

@elenbaasc elenbaasc merged commit 4ec83ea into develop Apr 11, 2025
15 checks passed
@elenbaasc elenbaasc deleted the CQT-355-Add-support-for-asm-declarations branch April 11, 2025 12:16
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.

3 participants