Skip to content

Make compatible with ITensors 0.9#221

Merged
mtfishman merged 26 commits intoITensor:mainfrom
JoeyT1994:upITensors
Apr 3, 2025
Merged

Make compatible with ITensors 0.9#221
mtfishman merged 26 commits intoITensor:mainfrom
JoeyT1994:upITensors

Conversation

@JoeyT1994
Copy link
Copy Markdown
Collaborator

The latest version of ITensors (v0.9) contained some breaking changes due to the use of TensorOperations in optimal_contraction_sequence. This PR updates ITensorNetworks.jl to be compatible with those changes, with belief propagation and apply directly making use of optimal_sequence finding.

Comment thread src/apply.jl Outdated
Co-authored-by: Matt Fishman <mtfishman@users.noreply.github.com>
Comment thread src/caches/abstractbeliefpropagationcache.jl Outdated
Comment thread src/apply.jl Outdated
Comment thread src/caches/beliefpropagationcache.jl Outdated
Comment thread src/caches/beliefpropagationcache.jl Outdated
@mtfishman
Copy link
Copy Markdown
Member

@JoeyT1994 it looks like you'll need to resolve conflicts caused by the removal of ITensorMPS.jl as a dependency.

@lkdvos
Copy link
Copy Markdown

lkdvos commented Apr 3, 2025

It looks like something is blocking the update of StridedViews to v0.4. This doesn't really change functionality, but it (massively) cuts down the compilation times of TensorOperations. It might pay off to see what is holding that back.

@mtfishman
Copy link
Copy Markdown
Member

It looks like something is blocking the update of StridedViews to v0.4. This doesn't really change functionality, but it (massively) cuts down the compilation times of TensorOperations. It might pay off to see what is holding that back.

Thanks for the heads up, I need to update the compat entry for StridedViews in NDTensors, looking into that now.

@mtfishman
Copy link
Copy Markdown
Member

Should be fixed once ITensor/ITensors.jl#1633 is merged and registered.

@mtfishman mtfishman merged commit 9dc6362 into ITensor:main Apr 3, 2025
13 of 19 checks passed
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