Skip to content

Commit

Permalink
Merge pull request #14 from JoeyT1994/NameChanges
Browse files Browse the repository at this point in the history
Refactor for name change
  • Loading branch information
JoeyT1994 authored Apr 9, 2024
2 parents b587976 + a860793 commit 1f7ec43
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "TensorNetworkFunctionals"
name = "ITensorNumericalAnalysis"
uuid = "666f501e-685d-4e36-ab44-ece85df6022b"
authors = ["Joseph Tindall <[email protected]>", "Ryan Levy <[email protected]>"]
version = "0.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/2d_laplace_solver.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Test
using TensorNetworkFunctionals
using ITensorNumericalAnalysis

using Graphs: SimpleGraph, uniform_tree, binary_tree, random_regular_graph, is_tree
using NamedGraphs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module TensorNetworkFunctionals
module ITensorNumericalAnalysis

include("itensornetworksutils.jl")
include("bitmaps.jl")
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Test
using Glob
using ITensorNetworks
using TensorNetworkFunctionals
using ITensorNumericalAnalysis

# https://discourse.julialang.org/t/rdir-search-recursive-for-files-with-a-given-name-pattern/75605/12
@testset "test directory $root" for (root, dirs, files) in walkdir(
joinpath(pkgdir(TensorNetworkFunctionals), "test")
joinpath(pkgdir(ITensorNumericalAnalysis), "test")
)
test_files = filter!(f -> occursin(Glob.FilenameMatch("test_*.jl"), f), files)
@testset "Test file $test_file" for test_file in test_files
Expand Down
2 changes: 1 addition & 1 deletion test/test_bitmaps.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Test
using TensorNetworkFunctionals
using ITensorNumericalAnalysis

using NamedGraphs: named_grid, vertices
using ITensors: siteinds
Expand Down
2 changes: 1 addition & 1 deletion test/test_itensorfunction.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Test
using TensorNetworkFunctionals
using ITensorNumericalAnalysis

using Graphs: SimpleGraph, uniform_tree
using NamedGraphs: NamedGraph, named_grid, vertices, named_comb_tree, rename_vertices
Expand Down
4 changes: 2 additions & 2 deletions test/test_operators.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Test
using TensorNetworkFunctionals
using ITensorNumericalAnalysis

using ITensors: siteinds
using ITensorNetworks: maxlinkdim
using Graphs: SimpleGraph, uniform_tree
using NamedGraphs: named_grid, named_comb_tree, NamedGraph, nv, vertices
using TensorNetworkFunctionals: itensornetwork
using ITensorNumericalAnalysis: itensornetwork
using Dictionaries: Dictionary

@testset "test laplacian in 1D on MPS" begin
Expand Down

0 comments on commit 1f7ec43

Please sign in to comment.