Skip to content

Move decompose-and-act-on strategy to act_on file and reuse it in all ActOn*Args #3874

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

Closed
wants to merge 3 commits into from

Conversation

smitsanghavi
Copy link
Collaborator

This change allows new gates to just define their decompositions and expect to be supported on relevant simulators. For e.g. CliffordSimulator now supports ISWAP without explicitly having to define _act_on_ for it since ISWAP has a decomposition to Clifford gates specified.

…in all ActOn*Args. Allows ISWAP to be run to CliffordSim without explicit act_on implementation
@smitsanghavi smitsanghavi requested review from cduck, vtomole and a team as code owners March 3, 2021 08:06
@google-cla google-cla bot added the cla: yes Makes googlebot stop complaining. label Mar 3, 2021
@smitsanghavi
Copy link
Collaborator Author

#2423

@smitsanghavi smitsanghavi changed the title Move decompose-and-act-on strategy act_on file and reuse it in all ActOn*Args Move decompose-and-act-on strategy to act_on file and reuse it in all ActOn*Args Mar 3, 2021
@smitsanghavi smitsanghavi marked this pull request as draft March 3, 2021 08:50
@daxfohl
Copy link
Collaborator

daxfohl commented Mar 3, 2021

This is already done in #3841

@smitsanghavi
Copy link
Collaborator Author

This is already done in #3841

Thanks! I'll close this one then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants