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

Fix ControlledQubitUnitary consistency with program capture #6719

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

andrijapau
Copy link
Contributor

Context:

Description of the Change:

Benefits:

Code is now behaving consistently when qml.capture is enabled or disabled.

Possible Drawbacks: None identified.

Related GitHub Issues: Fixes #6675

[sc-79808]

Copy link
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

Attention: Patch coverage is 65.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 99.37%. Comparing base (a0ecd9a) to head (5ab830d).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
pennylane/ops/op_math/controlled_ops.py 65.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6719      +/-   ##
==========================================
- Coverage   99.61%   99.37%   -0.24%     
==========================================
  Files         471      474       +3     
  Lines       44255    44983     +728     
==========================================
+ Hits        44086    44704     +618     
- Misses        169      279     +110     

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

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.

[BUG] ControlledQubitUnitary as incorrect wires when using with qml.capture.enable()
1 participant