Skip to content

Conversation

@albi3ro
Copy link
Contributor

@albi3ro albi3ro commented Sep 9, 2025

Context:

Depends on PennyLaneAI/pennylane#8229

Once that PR is merged and new pennylane wheels are up, we can version bump catalyst.

Description of the Change:

Translates counts from plxpr to catalxpr.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

[sc-99071]

@dime10
Copy link
Contributor

dime10 commented Sep 10, 2025

Thanks Christina for adding this! let us know when it's ready for final review, but the changes look fine to me 👍

github-merge-queue bot pushed a commit to PennyLaneAI/pennylane that referenced this pull request Sep 11, 2025
**Context:**

Paired with catalyst PR:
PennyLaneAI/catalyst#2041

**Description of the Change:**

Just have `CountsMP._wires_primitive` return two abstract measurements,
one for the keys, and one for the values.

While this primitive will have no current implementation in PL, it can
still be nicely translated by catalyst.

**Benefits:**

Program capture can more easily serve as frontend for catalyst.

**Possible Drawbacks:**

**Related GitHub Issues:**

[sc-92900]
github-merge-queue bot pushed a commit to PennyLaneAI/pennylane that referenced this pull request Sep 12, 2025
**Context:**

Blocks PennyLaneAI/catalyst#2041

**Description of the Change:**

The capture `Device.setup_execution_config` was about the capabilities
of the capture execution pipeline, which is no longer maintained or
actively developed. While I'm not sure where will be the best place for
this logic in catalyst, we can leave that up to catalyst and no
determine it in program capture.

**Benefits:**

Unblocks catalyst unification work.

**Possible Drawbacks:**

**Related GitHub Issues:**

[sc-99193]

---------

Co-authored-by: Andrija Paurevic <[email protected]>
github-merge-queue bot pushed a commit to PennyLaneAI/pennylane that referenced this pull request Sep 12, 2025
**Context:**

Blocks PennyLaneAI/catalyst#2041

**Description of the Change:**

The capture `Device.setup_execution_config` was about the capabilities
of the capture execution pipeline, which is no longer maintained or
actively developed. While I'm not sure where will be the best place for
this logic in catalyst, we can leave that up to catalyst and no
determine it in program capture.

**Benefits:**

Unblocks catalyst unification work.

**Possible Drawbacks:**

**Related GitHub Issues:**

[sc-99193]

---------

Co-authored-by: Andrija Paurevic <[email protected]>
@codecov
Copy link

codecov bot commented Sep 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.41%. Comparing base (c2372e4) to head (62cae99).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2041      +/-   ##
==========================================
+ Coverage   97.37%   97.41%   +0.03%     
==========================================
  Files          88       88              
  Lines        9980    10095     +115     
  Branches      945      951       +6     
==========================================
+ Hits         9718     9834     +116     
  Misses        207      207              
+ Partials       55       54       -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.

Copy link
Member

@paul0403 paul0403 left a comment

Choose a reason for hiding this comment

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

Nice and easy 💯

@albi3ro albi3ro merged commit 9ea001f into main Sep 15, 2025
39 checks passed
@albi3ro albi3ro deleted the translate-counts branch September 15, 2025 15:47
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.

5 participants