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 work_wires property to GroverOperator #6738

Merged
merged 6 commits into from
Dec 20, 2024
Merged

Conversation

andrijapau
Copy link
Contributor

@andrijapau andrijapau commented Dec 20, 2024

Context:

qml.GroverOperator now has a work_wires property similar to MultiControlledX.

Benefits: Nice to have.

Possible Drawbacks: None identified.

Related GitHub Issues: Fixes #6591

[sc-78409]

This comment was marked as resolved.

Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.60%. Comparing base (8d33455) to head (0106aaf).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6738   +/-   ##
=======================================
  Coverage   99.60%   99.60%           
=======================================
  Files         475      475           
  Lines       45118    45121    +3     
=======================================
+ Hits        44941    44944    +3     
  Misses        177      177           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@isaacdevlugt isaacdevlugt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🚀

pennylane/templates/subroutines/grover.py Show resolved Hide resolved
doc/releases/changelog-dev.md Outdated Show resolved Hide resolved
@andrijapau andrijapau enabled auto-merge (squash) December 20, 2024 21:59
@andrijapau andrijapau merged commit 7d1b0e5 into master Dec 20, 2024
46 checks passed
@andrijapau andrijapau deleted the add-work-wires-attr branch December 20, 2024 22:14
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.

Add a work_wires attribute to GroverOperator
3 participants