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!: Program now has a gate_definitions property that stores all DEFGATEs in a program. These instructions will no longer appear in body_instructions. #306

Merged

Conversation

MarquessV
Copy link
Contributor

@MarquessV MarquessV commented Oct 31, 2023

closes #288, tested here and through rigetti/pyquil#1688

…FGATEs in a program. These instructions will no longer appear in body_instructions.
@MarquessV MarquessV linked an issue Oct 31, 2023 that may be closed by this pull request
Copy link
Contributor

@kalzoo kalzoo 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!

quil-py/quil/program/__init__.pyi Outdated Show resolved Hide resolved
Co-authored-by: Michael Bryant <[email protected]>
@MarquessV MarquessV merged commit 82a4ec5 into main Nov 1, 2023
8 checks passed
@MarquessV MarquessV deleted the 288-gate-definitions-should-be-treated-like-other-definitions branch November 1, 2023 15:50
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.

Gate definitions should be treated like other definitions
3 participants