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

Add implementation for sizeof in openqasm #146

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

TheGupta2012
Copy link
Collaborator

@TheGupta2012 TheGupta2012 commented Aug 23, 2024

Fixes #143

Summary of changes

  • An initial implementation of the sizeof operator is added
  • The sizeof operator is confined to array in openqasm
  • Reference example

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@ryanhill1 ryanhill1 merged commit 2534304 into main Aug 26, 2024
8 checks passed
@ryanhill1 ryanhill1 deleted the sizeof-operator branch October 18, 2024 23:42
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.

Add support for the sizeof operator in arrays
2 participants