Skip to content

Support ITensorBase v0.13#154

Merged
mtfishman merged 1 commit into
mainfrom
mf/itensorbase-inputnames
Jul 21, 2026
Merged

Support ITensorBase v0.13#154
mtfishman merged 1 commit into
mainfrom
mf/itensorbase-inputnames

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Builds ITensorNetworksNext against ITensorBase v0.13 (ITensor/ITensorBase.jl#222), which reworks NamedTensorOperator around an output/input name pairing. Renames the domainnames accessor to inputnames in the belief-propagation apply path.

The Ising-network generator inserted each bond matrix with apply on an operator whose shared leg was its output. The reworked apply preserves a state's names and only contracts an operator's input, so it now rejects that usage. The old apply had degraded to a plain contraction in that case anyway, so this replaces it with the direct named contraction it was really doing, leaving the generated network and the Ising free-energy checks unchanged.

## Summary

Builds ITensorNetworksNext against ITensorBase v0.13 (ITensor/ITensorBase.jl#222), which reworks `NamedTensorOperator` around an output/input name pairing. Renames the `domainnames` accessor to `inputnames` in the belief-propagation apply path.

The Ising-network generator inserted each bond matrix with `apply` on an operator whose shared leg was its output. The reworked `apply` preserves a state's names and only contracts an operator's input, so it now rejects that usage. The old `apply` had degraded to a plain contraction in that case anyway, so this replaces it with the direct named contraction it was really doing, leaving the generated network and the Ising free-energy checks unchanged.
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.89%. Comparing base (841f15e) to head (5656563).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #154   +/-   ##
=======================================
  Coverage   84.89%   84.89%           
=======================================
  Files          15       15           
  Lines         662      662           
=======================================
  Hits          562      562           
  Misses        100      100           
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 fd57853 into main Jul 21, 2026
18 checks passed
@mtfishman
mtfishman deleted the mf/itensorbase-inputnames branch July 21, 2026 19:28
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