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

feat: Add methods for identifying Quil-T instructions and filtering instructions from Programs #323

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

MarquessV
Copy link
Contributor

Closes #322

I think the Instruction.is_quil_t method is the most key addition in these changes. The filtering methods border on being too simple of a wrapper to keep. I think they are convenient shortcuts for a common task, but I'd be open to removing them if we think they aren't worth it.

Copy link

github-actions bot commented Dec 14, 2023

PR Preview Action v1.4.4
🚀 Deployed preview to https://rigetti.github.io/quil-rs/pr-preview/pr-323/
on branch quil-py-docs at 2023-12-14 20:46 UTC

Copy link
Contributor

@notmgsk notmgsk left a comment

Choose a reason for hiding this comment

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

LGTM!

Co-authored-by: Mark Skilbeck <mark.skilbeck@rigetti.com>
@MarquessV MarquessV merged commit 556da96 into main Dec 14, 2023
14 checks passed
@MarquessV MarquessV deleted the 322-add-is-quil-t-method-and-filtering branch December 14, 2023 21:14
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 method for identifying Quil-T instructions and a utility for filtering programs.
2 participants