Skip to content

[CQT-336] Add Rn gate to compiler#493

Merged
elenbaasc merged 4 commits intodevelopfrom
CQT-336-Add-Rn-gate-to-compiler
Mar 31, 2025
Merged

[CQT-336] Add Rn gate to compiler#493
elenbaasc merged 4 commits intodevelopfrom
CQT-336-Add-Rn-gate-to-compiler

Conversation

@elenbaasc
Copy link
Collaborator

  • Add Rn gate to codebase
  • Update _get_expanded_instruction_args in parser.py to accept lists of parameters
  • Add Rn gate to tests (including a new test module to test supported instructions, i.e., test_instructions.py)

Update get_gate_arguments to accept lists of parameters.
Add general test for all supported instructions.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks! If you have no comments or require any further changes you can always immediately 'Approve' 😄

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 great! The Rn gate was added to the IR of OpenSquirrel and other relevant files, and it seems to follow the characteristics mentioned in the documentation.

There is only one thing left to add: updating the changelog file :).

rares1609
rares1609 previously approved these changes Mar 31, 2025
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.

All good to go :).

@elenbaasc elenbaasc merged commit ffb32b0 into develop Mar 31, 2025
15 checks passed
@elenbaasc elenbaasc deleted the CQT-336-Add-Rn-gate-to-compiler branch March 31, 2025 13:47
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