Skip to content

Consume the lazy and symbolic ITensor layer from ITensorBase#124

Merged
mtfishman merged 3 commits into
mainfrom
mf/use-itensorbase-lazyitensors
Jun 22, 2026
Merged

Consume the lazy and symbolic ITensor layer from ITensorBase#124
mtfishman merged 3 commits into
mainfrom
mf/use-itensorbase-lazyitensors

Conversation

@mtfishman

@mtfishman mtfishman commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

Switches ITensorNetworksNext to use the lazy and symbolic ITensor layer from ITensorBase instead of its own copy. The LazyITensors submodule is removed, and its lazy and symbolic types and contraction-order machinery are imported directly from ITensorBase, where the implementation moved in ITensor/ITensorBase.jl#182.

Also drops the now-redundant ITensorNetworksNextTensorOperationsExt (the Optimal order via TensorOperations.optimaltree is provided by ITensorBase's own extension) and the AbstractTrees, TermInterface, and WrappedUnions dependencies that only the local copy used.

Remove the local `LazyITensors` submodule and import its types and
contraction-order machinery directly from `ITensorBase`, where the
implementation now lives. Drop the redundant `TensorOperations`
extension and the `AbstractTrees`, `TermInterface`, and `WrappedUnions`
dependencies that only the local copy used.
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.35%. Comparing base (0bf9e06) to head (7381a26).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
+ Coverage   74.30%   80.35%   +6.04%     
==========================================
  Files          23       13      -10     
  Lines        1082      738     -344     
==========================================
- Hits          804      593     -211     
+ Misses        278      145     -133     
Flag Coverage Δ
docs 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 changed the title [WIP] Consume the lazy and symbolic ITensor layer from ITensorBase Consume the lazy and symbolic ITensor layer from ITensorBase Jun 22, 2026
@mtfishman mtfishman marked this pull request as ready for review June 22, 2026 21:48
@mtfishman mtfishman merged commit dd886af into main Jun 22, 2026
18 checks passed
@mtfishman mtfishman deleted the mf/use-itensorbase-lazyitensors branch June 22, 2026 22:10
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