feat!: Replace Subcircuit // take 3#1223
feat!: Replace Subcircuit // take 3#1223lmondada wants to merge 3 commits intoQuantinuum:lm/interval-prfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## lm/interval-pr #1223 +/- ##
==================================================
- Coverage 78.98% 78.08% -0.90%
==================================================
Files 154 155 +1
Lines 19244 19994 +750
Branches 18142 18892 +750
==================================================
+ Hits 15199 15612 +413
- Misses 3091 3419 +328
- Partials 954 963 +9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
61822af to
1eef17b
Compare
|
Hi, is there a specific reason why this was closed? Or maybe this was automatic with the deletion of the In any case, @doug-q are you able to re-open this PR (I can't)? Otherwise I'll create a new one :) |
Probably the latter. It isn't possible to reopen this PR because the target branch has gone. I suggest creating a new one! |
Hey Alan,
As promised, here is the subcircuit PR, rewritten to use CopyableExpr. This way subcircuits can be used to represent any valid SiblingSubgraph (indeed, a superset of SiblingSubgraph, as certain non-convex subgraphs are expressible too).
The convexity check will come in a separate PR.
BREAKING CHANGE: New API for Subcircuit, see docs. The Rewrite trait now takes a generic node argument.