Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lpawela committed Jul 20, 2024
1 parent d09dcf4 commit d76c8ea
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/pegasus.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function bench(instance::String, β::Real, bond_dim::Integer, num_states::Intege
cluster_assignment_rule = pegasus_lattice((m, n, t)),
)

params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, 1E-16)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, ts=1E-16)
search_params = SearchParameters(; max_states=num_states, cut_off_prob=δp)
Strategy = Zipper
Sparsity = Sparse
Expand Down
2 changes: 1 addition & 1 deletion test/experimental/squarestar_double_node_zephyr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ cl_h = clustered_hamiltonian(
iter = iter,
)

params = MpsParameters{Float64}(bond_dim, 1E-8, 10, 1E-16)
params = MpsParameters{Float64}(; bd=bond_dim, ϵ=1E-8, sw=10, ts=1E-16)
search_params = SearchParameters(num_states, δp)

# Solve using PEPS search
Expand Down
2 changes: 1 addition & 1 deletion test/search_chimera_droplets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function bench(instance::String)
spectrum = my_brute_force,
cluster_assignment_rule = super_square_lattice((m, n, t)),
)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, 1E-16)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, ts=1E-16)
search_params = SearchParameters(; max_states=num_states, cut_off_prob=δp)

energies = Vector{Float64}[]
Expand Down
2 changes: 1 addition & 1 deletion test/search_chimera_full.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function bench(instance::String)
spectrum = full_spectrum,
cluster_assignment_rule = super_square_lattice((m, n, t)),
)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, 1E-16)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, ts=1E-16)
search_params = SearchParameters(; max_states=num_states, cut_off_prob=δp)

energies = Vector{Float64}[]
Expand Down
2 changes: 1 addition & 1 deletion test/search_pegasus_droplets.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function bench(instance::String)
spectrum = my_brute_force,
cluster_assignment_rule = pegasus_lattice((m, n, t)),
)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, 1E-16)
params = MpsParameters{Float64}(;bd=bond_dim, ϵ=1E-8, sw=4, ts=1E-16)
search_params = SearchParameters(; max_states=num_states, cut_off_prob=δp)

energies = Vector{Float64}[]
Expand Down

0 comments on commit d76c8ea

Please sign in to comment.