Skip to content

Commit 7809b5d

Browse files
mtfishmanclaude
andcommitted
Reorganize tree-DMRG sources top-down
Move `dmrg` to the top of `dmrg.jl` so the file reads entry-point first, matching `apply_operators.jl`. Split the generic pieces into their own files: `tensornetworkoperator.jl`, `quadraticformnetwork.jl`, `orthogonalize.jl`, and `nameddimsarrays_extensions.jl` (the temporary `VectorInterface` methods on `AbstractNamedDimsArray`). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 456c9f9 commit 7809b5d

6 files changed

Lines changed: 491 additions & 482 deletions

File tree

src/ITensorNetworksNext.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ include("beliefpropagation/normnetwork.jl")
2121

2222
include("apply/apply_operators.jl")
2323

24+
include("nameddimsarrays_extensions.jl")
25+
include("tensornetworkoperator.jl")
26+
include("quadraticformnetwork.jl")
27+
include("orthogonalize.jl")
2428
include("dmrg.jl")
2529

2630
end

0 commit comments

Comments
 (0)