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 symbolic support to Bloqs that expect control values as cvs: Tuple[int, ...] #786

Open
tanujkhattar opened this issue Mar 13, 2024 · 5 comments
Labels
Milestone

Comments

@tanujkhattar
Copy link
Collaborator

Many bloqs (like MultiAnd, MultiControlPauli etc.) currently expect a control values object as a Tuple[int, ...]. This has a consequence that we cannot instantiate these objects symbolically.

We should replace cvs: Tuple[int, ...] with CtrlSpec object that can be instantiated symbolically as well.

@mpharrigan
Copy link
Collaborator

Would we want some sort of CtrlSpec that takes a parameter n for the number of controls and doesn't fully specify what the control values actually are? Usually during costing the difference between a positive and negative control is negligible

@tanujkhattar
Copy link
Collaborator Author

Yes, that's the idea.

@mpharrigan
Copy link
Collaborator

xref #716

sounds useful to me

@mpharrigan
Copy link
Collaborator

The newly-added Shaped symbolic utility #867 would be good here

@mpharrigan
Copy link
Collaborator

Is there a list of high priority bloqs that need this

@mpharrigan mpharrigan added this to the After v1.0 milestone Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants