Skip to content

qp.estimate uses Catalyst's estimate_decomps CompileOption - #10572

Merged
kipawaa merged 2 commits into
mainfrom
rp/estimate-uses-estimate-decomps
Nov 20, 2026
Merged

kipawaa merged 2 commits into
mainfrom
rp/estimate-uses-estimate-decomps

Conversation

@kipawaa

@kipawaa kipawaa commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Context:
Catalyst recently introduced the estimate_decomps CompileOption, which greatly improves compilation speed when decomposition rule bodies are not needed.

Description of the Change:
Changes qp.estimate functionality to use the new compile option.

Benefits:
Significantly faster (2-4x) qp.estimate results.

Possible Drawbacks:

Related GitHub Issues:

[sc-137536]

@github-actions

Copy link
Copy Markdown
Contributor

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.rst 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.

@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.39%. Comparing base (58a3d98) to head (f2ba090).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10572   +/-   ##
=======================================
  Coverage   99.38%   99.39%           
=======================================
  Files         614      614           
  Lines       67703    67705    +2     
=======================================
+ Hits        67290    67293    +3     
+ Misses        413      412    -1     

☔ View full report in Codecov by Harness.
📢 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.

Comment thread pennylane/resource/mlir_specs.py Resolved

@albi3ro albi3ro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Realized that's just a nitpick. All good.

@kipawaa
kipawaa added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit eff16d9 Nov 20, 2026
54 checks passed
@kipawaa
kipawaa deleted the rp/estimate-uses-estimate-decomps branch November 20, 2026 19:13
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.

2 participants