Skip to content

add support for OperatorOp with ResourceAnalysisPass#2993

Merged
albi3ro merged 9 commits into
mainfrom
specs-operator2
Jul 7, 2026
Merged

add support for OperatorOp with ResourceAnalysisPass#2993
albi3ro merged 9 commits into
mainfrom
specs-operator2

Conversation

@albi3ro

@albi3ro albi3ro commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Context:

Adds support for qref::OperatorOp and quantum::OperatorOp to qp.specs and the ResourceAnalysisPass.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

[sc-123822]

@albi3ro albi3ro requested a review from jzaia18 July 3, 2026 21:22
@albi3ro albi3ro marked this pull request as ready for review July 6, 2026 13:15
@jzaia18 jzaia18 requested a review from sengthai July 6, 2026 13:19
Comment thread mlir/lib/Catalyst/Analysis/ResourceAnalysis.cpp

@jzaia18 jzaia18 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.

Looks good, nice work, just 1 comment for now. I've tagged @sengthai to review as well since he was the original author of this pass.

And thanks for removing our old pytest.skips that we left in the code 🫣

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.96%. Comparing base (d99fa8e) to head (905dcd2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2993   +/-   ##
=======================================
  Coverage   96.96%   96.96%           
=======================================
  Files         167      167           
  Lines       19349    19349           
  Branches     1799     1799           
=======================================
  Hits        18761    18761           
  Misses        433      433           
  Partials      155      155           

☔ 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.

@sengthai sengthai 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.

Thanks @albi3ro! 💯

@albi3ro albi3ro merged commit ee894ef into main Jul 7, 2026
43 checks passed
@albi3ro albi3ro deleted the specs-operator2 branch July 7, 2026 19:56
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.

3 participants