Skip to content

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

@anurudhp anurudhp force-pushed the 2024/11/09-deprecate-mcpauli branch from 51013cf to dab427a Compare November 11, 2024 22:32
@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

@mpharrigan mpharrigan merged commit d92730e into quantumlib:main Nov 27, 2024
8 checks passed
@anurudhp anurudhp deleted the 2024/11/09-deprecate-mcpauli branch November 27, 2024 18:11
NoureldinYosri pushed a commit to NoureldinYosri/Qualtran that referenced this pull request Jan 28, 2025
* make `MultiControlPauli` a hidden class, always use `MultiControlX` or `MultiControlZ` instead

* add `DeprecationWarning` instead of renaming bloq

---------

Co-authored-by: Tanuj Khattar <[email protected]>
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