Skip to content

Commit b1fcc87

Browse files
ITensorMPS update (#4)
1 parent 4f16348 commit b1fcc87

File tree

8 files changed

+10
-0
lines changed

8 files changed

+10
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Manifest.toml

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
88
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
99
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
1010
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
11+
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
1112
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
1213
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1314
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
@@ -20,6 +21,7 @@ AbstractTrees = "0.4"
2021
Compat = "3.40.0, 4"
2122
GeometryBasics = "0.4.1"
2223
Graphs = "1.4.1"
24+
ITensorMPS = "0.1"
2325
ITensors = "0.2.12, 0.3, 0.4, 0.5, 0.6"
2426
MetaGraphs = "0.7.1"
2527
NetworkLayout = "0.4.3"

examples/ex_qn_mps.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using ITensors
2+
using ITensorMPS
23
using ITensorVisualizationBase
34

45
s = siteinds("S=1/2", 5; conserve_qns=true)

examples/ex_quantum_circuit.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using ITensors
2+
using ITensorMPS
23
using ITensorVisualizationBase
34
using LayeredLayouts
45
using Graphs

examples/notest_ex_2d_circuit.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using ITensors
2+
using ITensorMPS
23
using ITensorVisualizationBase
34
using Graphs
45
using LayeredLayouts

examples/notest_ex_qft_circuit.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using ITensors
2+
using ITensorMPS
23
using ITensorVisualizationBase
34
using Graphs
45
using LayeredLayouts

src/visualize.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using ITensorMPS: MPS
2+
13
#
24
# Contraction sequence
35
#

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[deps]
22
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
33
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
4+
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
45
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
56
LayeredLayouts = "f4a74d36-062a-4d48-97cd-1356bad1de4e"
67
NetworkLayout = "46757867-2c16-5918-afeb-47bfcb05e46a"

0 commit comments

Comments
 (0)