-
Number Partitioning
- There are N numbers. We want to divide this into two parts so that the sum of each part is the same.
- s is a +1/-1 value indicating which group
- Expect the contents of the parentheses to be zero.
- In addition, just to be clear, if you expand
- Therefore, J is .
-
Graph Partitioning
-
creek
-
How to reduce spin to log(N)
-
4.1 Exact Cover
- Given a set V of subsets of a set U of some size n, is there a subset of V such that any two elements are disjoint and if all are unions, then U?
- Alpha runs the apex of the U.
- The second sum βadds up xi for i such that Vi contains the vertex Ξ±β
- In other words, up to (1-sum)^2 expresses βonly one selected (xi=1) Vi that contains the vertex Ξ±β.
-
4.2 Set Packing
- How do I increase the size of a subset of V under the condition that it is disjoint?
- maximal independent set (MIS)
- Adiabatic Quantum Algorithms for the NP-Complete Maximum-Weight Independent Set, Exact Cover and 3SAT Problems Defined in
- The highlighted V(G) must be an S mistake.
- Return the subset S of V(G) that has the largest sum of weights among those with no edges between opposite vertices i, j in S
- Set Packing
- Suppose there is an edge (i, j) in the edge set E when Vi and Vj are not disjoint
- It is not good if there is an edge between the chosen Vi (xi=1) and Vj
- In addition to this, put in effects that should increase in number.
- Can be interpreted as a case of βall length points have a weight of 1β in MIS
-
4.3 Vertex Cover
- Given a graph
- Paint the minimum number of vertices with color, so that every edge is painted with the color of at least one of the vertices
- This is a 2-vertex or
-
4.4 Satisfiability
- Any SAT can be written in 3 SATs.
- 3SAT can be attributed to MIS.
-
For each clause Ci, we add 3 nodes to the graph, and connect each node to the other 3.
- I think it should be βthe other 2β, but, well, it means to make a triangle with 3 vertices.
- Hamiltonian will be 3 terms or if you include Vertex Coverβs.
- Then wouldnβt it be strange to write βcan be attributed to MISβ?
- But the original paper does indeed say itβs attributed to MIS.
-
Since the graph is made up of m connected triangles, the only way to color m vertices if each vertex is in a distinct triangle, so there must be an element of each clause Ci which is true
- I have no idea how to explain this place.
- Isnβt it a 1-in-3 SAT?
- (x1, x2, x3) is equivalent to (not(x1), a, b), (x2, b, c), (not(x3), c, d) plus 1-in-3SAT.
- This can be seen by writing down the 8 ways, since the contradiction occurs only when (x1, x2, x3) = (0, 0, 0)
This page is auto-translated from [/nishio/Ising formulations of many NP problems](https://scrapbox.io/nishio/Ising formulations of many NP problems) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iβm very happy to spread my thought to non-Japanese readers.