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

Deprecate MultiControlPauli #1492

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

anurudhp
Copy link
Contributor

@anurudhp anurudhp commented Nov 10, 2024

All users now use the derived MultiControlX or MultiControlZ instead. I've kept the class around as it has a simpler interface (list of control bits instead of a CtrlSpec), and also supports zero controls (#679).

Fixes #914

@anurudhp anurudhp force-pushed the 2024/11/09-deprecate-mcpauli branch 4 times, most recently from 8d8b9c6 to 51013cf Compare November 11, 2024 18:13
@anurudhp
Copy link
Contributor Author

@mpharrigan ptal

@mpharrigan
Copy link
Collaborator

usually, we'd keep the name as-is and use the warnings.warn(..., DeprecationWarning) thing to show that it's deprecated

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.

MultiControlPauli improvements
3 participants