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 a work_wires attribute to GroverOperator #6591

Open
isaacdevlugt opened this issue Nov 15, 2024 · 0 comments
Open

Add a work_wires attribute to GroverOperator #6591

isaacdevlugt opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement ✨ New feature or request

Comments

@isaacdevlugt
Copy link
Contributor

Feature details

Add an attribute to GroverOperator that outputs its work_wires. Similar to MultiControlledX:

🍞 op = qml.MultiControlledX(wires=[0, 1, 2 ,3], work_wires=[4, 5])
🍞 op.work_wires
Wires([4, 5])

Implementation

🦗

How important would you say this feature is?

1: Not important. Would be nice to have.

Additional information

No response

@isaacdevlugt isaacdevlugt added the enhancement ✨ New feature or request label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant