Skip to content

Conversation

@astralcai
Copy link
Contributor

Context:
Adds a minimize_work_wires to the decompose transform that minimizes the number of dynamically allocated wires in the circuit. Follow up to #8729

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:
[sc-105223]

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

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.

@JerryChen97 JerryChen97 self-requested a review December 4, 2025 21:22
Base automatically changed from decomp-graph-work-wires to master December 4, 2025 21:52
Copy link
Contributor

@comp-phys-marc comp-phys-marc left a comment

Choose a reason for hiding this comment

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

A very simple change and a nice demonstrative test.

@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.43%. Comparing base (768083a) to head (1b33d3c).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8734   +/-   ##
=======================================
  Coverage   99.43%   99.43%           
=======================================
  Files         588      588           
  Lines       62727    62731    +4     
=======================================
+ Hits        62373    62377    +4     
  Misses        354      354           

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

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