Skip to content

Commit

Permalink
Use ITensorMPS
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed May 9, 2024
1 parent 7de70b6 commit b9d5e09
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 188 deletions.
6 changes: 4 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name = "ITensorGaussianMPS"
uuid = "2be41995-7c9f-4653-b682-bfa4e7cebb93"
authors = ["Matthew Fishman <[email protected]> and contributors"]
version = "0.1.6"
version = "0.1.7"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[compat]
Compat = "3.40.0, 4"
ITensors = "0.3.58, 0.4, 0.5"
ITensorMPS = "0.1"
ITensors = "0.3.58, 0.4, 0.5, 0.6"
LinearAlgebra = "1.6"
julia = "1.6"
1 change: 1 addition & 0 deletions examples/Project.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[deps]
ITensorGaussianMPS = "2be41995-7c9f-4653-b682-bfa4e7cebb93"
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
84 changes: 0 additions & 84 deletions examples/broken/hubbard_1d_no_spin_conservation.jl

This file was deleted.

96 changes: 0 additions & 96 deletions examples/broken/hubbard_2d_no_spin_conservation.jl

This file was deleted.

3 changes: 2 additions & 1 deletion examples/hubbard_1d_spin_conservation.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ITensors
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra

# Electrons
Expand Down
3 changes: 2 additions & 1 deletion examples/hubbard_2d_spin_conservation.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ITensors
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra

# Electrons
Expand Down
3 changes: 2 additions & 1 deletion examples/mps_to_determinants.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ITensors
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra

# Half filling
Expand Down
3 changes: 2 additions & 1 deletion examples/spinless_fermion.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using ITensors
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra

# Half filling
Expand Down
5 changes: 3 additions & 2 deletions examples/spinless_fermion_pairing.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# This script shows a minimal example of the GMPS-MPS conversion
# of the ground state of quadratic fermionic Hamiltonian with pairing terms.
using LinearAlgebra
using ITensors
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra

ITensors.disable_contraction_sequence_optimization()
let
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1 change: 1 addition & 0 deletions test/electron.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra
using Test
Expand Down
1 change: 1 addition & 0 deletions test/gmera.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra
using Test
Expand Down
1 change: 1 addition & 0 deletions test/gmps.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ITensorGaussianMPS
using ITensorMPS
using ITensors
using LinearAlgebra
using Test
Expand Down

0 comments on commit b9d5e09

Please sign in to comment.