Skip to content

Conversation

@albi3ro
Copy link
Contributor

@albi3ro albi3ro commented Dec 9, 2025

Context:

Catalyst follow on from: PennyLaneAI/pennylane#8736

Making it so that qml.vjp can be captured and lowered with program capture.

Description of the Change:

Just translates and adds a lowering for the to-be-added vjp primitive.

Benefits:

qml.vjp works with program capture.

Possible Drawbacks:

Related GitHub Issues:

[sc-101549]

@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.31%. Comparing base (cdd8200) to head (9268881).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2279      +/-   ##
==========================================
- Coverage   97.31%   97.31%   -0.01%     
==========================================
  Files         107      107              
  Lines       12946    12974      +28     
  Branches     1074     1076       +2     
==========================================
+ Hits        12598    12625      +27     
  Misses        288      288              
- Partials       60       61       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@albi3ro albi3ro requested a review from mudit2812 January 22, 2026 22:19
Copy link
Contributor

@mudit2812 mudit2812 left a comment

Choose a reason for hiding this comment

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

Non-blocking question

Copy link
Contributor

@dime10 dime10 left a comment

Choose a reason for hiding this comment

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

Thanks @albi3ro !

@albi3ro albi3ro merged commit 5720dce into main Jan 27, 2026
42 checks passed
@albi3ro albi3ro deleted the capture-vjp-lowering branch January 27, 2026 15:14
albi3ro added a commit to PennyLaneAI/pennylane that referenced this pull request Jan 28, 2026
**Context:**

PennyLaneAI/catalyst#2279 changed the behaviour
of argnums in `qml.vjp` with catalyst.

**Description of the Change:**

**Benefits:**

**Possible Drawbacks:**

**Related GitHub Issues:**
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.

4 participants