Skip to content

Commit 69fdda1

Browse files
LABS MAXCUT, not spin glass
1 parent 1af404e commit 69fdda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/labs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ def generate_labs_qubo(N, lam=10.0):
8383
G_m, labels = generate_labs_qubo(n_nodes)
8484
best_bitstring, best_cut_value, best_cut, best_energy = spin_glass_solver(G_m, quality=quality, is_spin_glass=False)
8585

86-
print(f"Ground State Energy: {best_energy}")
86+
print(f"Best cut: {best_cut_value}")
8787
print(f"Length {n_nodes} solution: {best_bitstring}")
8888
print(f"Labels: {labels}")

0 commit comments

Comments
 (0)