Skip to content

Commit c0217eb

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 8cf378d commit c0217eb

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
@@ -22,6 +22,10 @@ include("beliefpropagation/normnetwork.jl")
2222

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

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

2731
end

0 commit comments

Comments
 (0)