Skip to content

Commit

Permalink
fix the bug in rmf
Browse files Browse the repository at this point in the history
  • Loading branch information
annamariadziubyna committed Nov 22, 2023
1 parent 69a9e9e commit f9eb427
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/random_markov_field.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
β = 1.0
bond_dim = 8
δp = 1E-4
num_states = 10
num_states = 64
cl_h = clustered_hamiltonian(instance_dir)
Nx, Ny = get_prop(cl_h, :Nx), get_prop(cl_h, Ny)
Nx, Ny = get_prop(cl_h, :Nx), get_prop(cl_h, :Ny)
params = MpsParameters(bond_dim, 1E-8, 10)
search_params = SearchParameters(num_states, δp)
Gauge = NoUpdate
Expand All @@ -20,5 +20,5 @@
ctr = MpsContractor{Strategy, Gauge}(net, [β/8, β/4, β/2, β], graduate_truncation, params; onGPU=onGPU)
# sol_peps, s = low_energy_spectrum(ctr, search_params, merge_branches(ctr))
sol_peps, s = low_energy_spectrum(ctr, search_params, merge_branches(ctr, :nofit, SingleLayerDroplets(100.0, 100, :hamming, :RMF)))
# println(sol_peps.energies[begin])
println(sol_peps.energies[begin])
end

0 comments on commit f9eb427

Please sign in to comment.