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

Use native Gate.dagger() in Program.dagger() #887

Merged
merged 3 commits into from Jun 24, 2019

Conversation

notmgsk
Copy link
Contributor

@notmgsk notmgsk commented Apr 18, 2019

This removes a bunch of logic around creating inverse gates from
user-defined gates. If anyone thinks that stuff is useful, then I
would argue that it should be in some util function, not in
Program.dagger().

Kept kw args for backwards compat :(

pyquil/quil.py Outdated Show resolved Hide resolved
@karalekas
Copy link
Contributor

It looks like there are open review comments here.

pyquil/quil.py Outdated Show resolved Hide resolved
@ecpeterson
Copy link
Contributor

@notmgsk Semaphore seems upset only because this branch doesn't incorporate the parser change that tolerates quilc emitting tabs.

This removes a bunch of logic around creating inverse gates from
user-defined gates. If anyone thinks that stuff is useful, then I
would argue that it should be in some util function, not in
Program.dagger().

Kept kw args for backwards compat :(
@ecpeterson ecpeterson merged commit 4fcb9c0 into master Jun 24, 2019
@karalekas karalekas added this to the v2.9.0 milestone Jun 26, 2019
@karalekas karalekas deleted the fix/use-native-dagger branch July 19, 2019 15:56
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.

None yet

5 participants