Skip to content

Commit

Permalink
Start using ITensorMPS (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored May 10, 2024
1 parent fb3bd7c commit 6159b75
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@ authors = ["Ben Corbett and contributors"]
version = "0.1.0"

[deps]
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Memoize = "c03570c3-d221-55d1-a50c-7939bbd78826"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"

[compat]
ITensorMPS = "0.1"
ITensors = "0.3, 0.4, 0.5, 0.6"
LinearAlgebra = "1.10"
Memoize = "0.4"
SparseArrays = "1.10"
TimerOutputs = "0.5"
julia = "1.10"

Expand Down
1 change: 1 addition & 0 deletions examples/electronic-structure.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorMPOConstruction
using ITensorMPS
using ITensors

function electronic_structure(
Expand Down
1 change: 1 addition & 0 deletions examples/fermi-hubbard.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorMPOConstruction
using ITensorMPS
using ITensors

function Fermi_Hubbard_real_space(
Expand Down
1 change: 1 addition & 0 deletions examples/haldane-shastry.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorMPOConstruction
using ITensorMPS
using ITensors

function halden_shastry_mpo_from_OpSum(N::Int, J::Real; useITensorsAlg::Bool=false)::MPO
Expand Down
1 change: 1 addition & 0 deletions examples/intro.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorMPOConstruction
using ITensorMPS
using ITensors

function foo(N::Int; useITensorsAlg::Bool=false)::MPO
Expand Down
1 change: 1 addition & 0 deletions src/ITensorMPOConstruction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module ITensorMPOConstruction
#####################################
# External packages
#
using ITensorMPS
using ITensors
using LinearAlgebra
using SparseArrays
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorMPOConstruction
using ITensorMPS
using ITensors
using Test

Expand Down

0 comments on commit 6159b75

Please sign in to comment.