Skip to content

Commit

Permalink
Merge branch 'main' into kmp5/debug/issue_1232
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT authored Nov 6, 2023
2 parents d6f274a + 2dd057b commit 69881ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions NDTensors/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
SplitApplyCombine = "03a91e81-4c3e-53e1-a0a4-9c0c8f19dd66"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67"
StridedViews = "4db3bf67-4bd7-4b4e-b153-31dc3fb37143"
TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f"
TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6"

Expand All @@ -46,12 +47,13 @@ Functors = "0.2, 0.3, 0.4"
HDF5 = "0.14, 0.15, 0.16, 0.17"
InlineStrings = "1"
LinearAlgebra = "1.6"
Requires = "1.1"
Random = "1.6"
Requires = "1.1"
SimpleTraits = "0.9.4"
SplitApplyCombine = "1.2.2"
StaticArrays = "0.12, 1.0"
Strided = "0.3, 1, 2"
Strided = "2"
StridedViews = "0.2"
TimerOutputs = "0.5.5"
TupleTools = "1.2.0"
julia = "1.6"
2 changes: 1 addition & 1 deletion NDTensors/src/Unwrap/src/Unwrap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Unwrap
using SimpleTraits
using LinearAlgebra
using Base: ReshapedArray
using Strided.StridedViews
using StridedViews

include("expose.jl")
include("iswrappedarray.jl")
Expand Down
4 changes: 2 additions & 2 deletions examples/dmrg/1d_heisenberg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let
# Create N spin-one degrees of freedom
sites = siteinds("S=1", N)
# Alternatively can make spin-half sites instead
#sites = siteinds("S=1/2",N)
#sites = siteinds("S=1/2", N)

# Input operator terms which define a Hamiltonian
os = OpSum()
Expand All @@ -23,7 +23,7 @@ let
H = MPO(os, sites)

# Create an initial random matrix product state
psi0 = randomMPS(sites, 10)
psi0 = randomMPS(sites; linkdims=10)

# Plan to do 5 DMRG sweeps:
nsweeps = 5
Expand Down

0 comments on commit 69881ef

Please sign in to comment.