E is the set of edges with nonnegative edge weights wij=wji
Partition the set of vertices of a graph into two categories by setting values
If vertex i belong to Sˉ, then s(i)=−1
If vertex i belong to S, then s(i)=1
Therefore
A cut occurs if two vertices of an edge disagrees, the edge is a cut s(i)s(j)=−1.
if two vertices belong to the same category, the edge is not a cut s(i)s(j)=1
1.1.1. Cost function
The corresponding Max-Cut Hamiltonian then reads:
H^C=211≤i<j≤n∑wij(1−sisj)
The goal is to find a classification that allows the maximum number of cuts to be made
maximize211≤i<j≤n∑wij(1−sisj)
The eigenstate to this Hamiltonian H^C with the highest eigenvalue corresponds to the maximum cut. The formulation H^C is also called 'Cost function'
C==⟨ij⟩∑C⟨ij⟩211≤i<j≤n∑wij(1−sisj)
Because
if two vertices belong to Sˉ, then s(i)=s(j)=−1
C⟨ij⟩===21wij(1−sisj)21wij(1−(−1)(−1))0
if two vertices belong to S, then s(i)=s(j)=1
C⟨ij⟩===21wij(1−sisj)21wij(1−1×1))0
if two vertices belong to different categories
C⟨ij⟩===21wij(1−sisj)21wij(1−(−1)×1)wij
Therefore. the Cost function C is the sum of weights of cutting edge.
1.1.2. State
In this section, we will use a example of 4 vertices graph to show how to present states of system by Dirac notation.
The ket denote states of system ∣ABCD⟩
If vortex A belong to category S, the place of A in ket denote 0, that is ∣0BCD⟩
If vortex A belong to category Sˉ, the place of A in ket denote 1, that is ∣1BCD⟩
All possible cuts of this 4 vertices graph are
We can find the Max-Cut state are ∣0110⟩ and ∣1001⟩ and max-cut number is 4.