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

Support controlled gates in PyQVM #1277

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

notmgsk
Copy link
Contributor

@notmgsk notmgsk commented Nov 20, 2020

Really this hands off matrix calculation to
pyquil.simulation.tools.lifted_gate() which has better support for
the various gate modifiers.

Description

Insert your PR description here. Thanks for contributing to pyQuil! 🙂

Checklist

  • The above description motivates these changes.
  • There is a unit test that covers these changes.
  • All new and existing tests pass locally and on Travis CI.
  • Parameters and return values have type hints with PEP 484 syntax.
  • Functions and classes have useful Sphinx-style docstrings.
  • All code follows Black style and obeys flake8 conventions.
  • (New Feature) The docs have been updated accordingly.
  • (Bugfix) The associated issue is referenced above using auto-close keywords.
  • The changelog is updated, including author and PR number (@username, gh-xxx).

Really this hands off matrix calculation to
`pyquil.simulation.tools.lifted_gate()` which has better support for
the various gate modifiers.
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.

1 participant