max_cut_exact#
- iqm.applications.maxcut.max_cut_exact(problem)[source]#
Runs an exact solver for the (weighted) maxcut problem, using branch-and-bound.
- Parameters:
problem (MaxCutInstance | WeightedMaxCutInstance) – The (weighted) problem instance to be solved.
- Returns:
A set containing all of the bitstrings strings that minimize the energy of the problem.
- Return type: