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

Add an OnEveryBit Bloq? #814

Closed
fdmalone opened this issue Mar 21, 2024 · 3 comments
Closed

Add an OnEveryBit Bloq? #814

fdmalone opened this issue Mar 21, 2024 · 3 comments

Comments

@fdmalone
Copy link
Collaborator

fdmalone commented Mar 21, 2024

We have OnEach which hides the splits / joins necessary to apply n single qubit gates to an n-qubit register. We could also add an OnEveryBit bloq to add a collection of single qubit gates (or maybe n-qubit gates in a more general form) to a bigger register. An example is applying a sequence of rotations which each have a different angle, which currently requires a split/join in the decomposition.

@fdmalone
Copy link
Collaborator Author

Hmm, maybe we just want something for rotations specifically, as I admit it's a bit specific, but it could also be helpful for say a tower of CNOTs.

@mpharrigan
Copy link
Collaborator

One approach would be to implement these cases "manually" and make a note or keep a list of the places where they crop up as empirical evidence of what sort of abstractions would see widespread use

@fdmalone
Copy link
Collaborator Author

Not important.

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

No branches or pull requests

2 participants