quantum_launcher.problems.problem_initialization.maxcut#
This module contains the MaxCut class.
Summary#
Classes:
Class for MaxCut Problem. |
Reference#
- class quantum_launcher.problems.problem_initialization.maxcut.MaxCut(instance: Graph, instance_name='unnamed')[source]#
Bases:
Problem
Class for MaxCut Problem.
This class represents MaxCut Problem which is a combinatorial optimization problem that involves partitioning the vertices of a graph into two sets such that the number of edges between the two sets is maximized. The class contains an instance of the problem, so it can be passed into Quantum Launcher.
- instance#
The graph instance representing the problem.
- Type:
nx.Graph
- property setup: dict#