Skip to content

Commit

Permalink
Updated deps (#35)
Browse files Browse the repository at this point in the history
* add mwe

* clean up mwe

* updated dependencies for new release

---------

Co-authored-by: annamariadziubyna <[email protected]>
  • Loading branch information
tomsmierz and annamariadziubyna authored Nov 15, 2024
1 parent 42b2a0d commit 6113ae8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ MKL = "0.4.3"
NNlib = "0.9.14"
ProgressMeter = "1.10"
SpinGlassExhaustive = "1.0.0"
SpinGlassNetworks = "1.3.0"
SpinGlassTensors = "1.1.3"
SpinGlassNetworks = "1.3.1"
SpinGlassTensors = "1.2.0"
Statistics = "1.7.0"
TensorCast = "0.4"
TensorOperations = "4"
Expand Down
7 changes: 1 addition & 6 deletions test/mwe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ m, n, t = 3, 4, 1
bond_dim = 8
mstates = 10
instance = "$(@__DIR__)/instances/pathological/pegasus_3_4_1.txt"
RESULTS_FOLDER="$(@__DIR__)/instances/pathological"
inst="001"
iter = 2
δp = 0.0
cs=2^0
MAX_SWEEPS = 0
VAR_TOL = 1E-16
TOL_SVD = 1E-16
Expand All @@ -21,19 +18,17 @@ METHOD = :psvd_sparse
Strategy = Zipper
Sparsity = Sparse
Layout = GaugesEnergy
onGPU = true
onGPU = false
transform = all_lattice_transformations[1]
ig = ising_graph(instance)
potts_h = potts_hamiltonian(
ig,
spectrum = full_spectrum,
cluster_assignment_rule = pegasus_lattice((m, n, t)),
)
potts_h = truncate_potts_hamiltonian(potts_h, β, cs, RESULTS_FOLDER, inst; tol=1e-6, iter=iter)

Gauge = NoUpdate
for T in [Float64, Float32]
println("=========")
println("type ", T)
energies = Vector{T}[]
params = MpsParameters{T}(;
Expand Down

0 comments on commit 6113ae8

Please sign in to comment.