Skip to content

Backport the norm-network belief-propagation contraction fix to v0.10 - #183

Merged
mtfishman merged 1 commit into
release-0.10from
mf/backport-doubled-vertex-0.10
Sep 9, 2026
Merged

mtfishman merged 1 commit into
release-0.10from
mf/backport-doubled-vertex-0.10

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Backports #182 to the 0.10 release line, so belief-propagation message updates on a NormNetwork stop forming the doubled ket * conj(bra) tensor before absorbing a message.

…on operands (#182)

## Summary

Belief-propagation message updates on a `NormNetwork` handed the doubled
vertex `ket * conj(bra)` to `contract_network` as one operand, hiding
the physical index the layers share and forcing the doubled tensor every
sweep, χ^(2 * degree) not χ^(degree + 1). Passing the layers separately
lets the order interleave the messages.

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.83%. Comparing base (4cfaf02) to head (c4dcd5e).
⚠️ Report is 1 commits behind head on release-0.10.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-0.10     #183      +/-   ##
================================================
+ Coverage         85.79%   85.83%   +0.04%     
================================================
  Files                15       15              
  Lines               683      685       +2     
================================================
+ Hits                586      588       +2     
  Misses               97       97              
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@mtfishman
mtfishman merged commit 5f22fd3 into release-0.10 Sep 9, 2026
13 of 15 checks passed
@mtfishman
mtfishman deleted the mf/backport-doubled-vertex-0.10 branch September 9, 2026 21:29
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.

1 participant