Skip to content

Commit

Permalink
change classical algo acceptance
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeisel committed Jun 1, 2023
1 parent 5316297 commit 9d639a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/warm_starting_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

# Classically approximating a graphs Maximum cut
def compute_initial_state_maxcut(request: InitialStateMaxCutRequest):
if request.classical_algorithm == "gw":
if request.classical_algorithm in ["gw", "goemans-williamson"]:
string, value = best_gw_cuts(request.graph, request.repetitions)
return InitialStateMaxCutResponse(string, value)
else:
Expand Down

0 comments on commit 9d639a5

Please # to comment.