You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [dominating set](https://psychic-meme-f4d866f8.pages.github.io/dev/tutorials/DominatingSet.html) problem.
7
-
In the constructor, `weights` are associated with vertices.
8
-
`optimizer` and `simplifier` are for tensor network optimization, check [`optimize_code`](@ref) for details.
9
+
10
+
Positional arguments
11
+
-------------------------------
12
+
* `graph` is the problem graph.
13
+
14
+
Keyword arguments
15
+
-------------------------------
16
+
* `weights` are associated with the vertices of the `graph`.
17
+
* `optimizer` and `simplifier` are for tensor network optimization, check [`optimize_code`](@ref) for details.
18
+
* `fixedvertices` is a dict to specify the values of degree of freedoms on vertices, where a value can be `0` (absent in the set) or `1` (present in the set).
19
+
* `openvertices` is a tuple of labels to specify the output tensor. Theses degree of freedoms will not be contracted.
The [independent set problem](https://psychic-meme-f4d866f8.pages.github.io/dev/tutorials/IndependentSet.html) in graph theory.
7
-
In the constructor, `weights` are the weights of vertices.
8
-
`openvertices` specifies labels for the output tensor.
9
-
`optimizer` and `simplifier` are for tensor network optimization, check [`optimize_code`](@ref) for details.
9
+
10
+
Positional arguments
11
+
-------------------------------
12
+
* `graph` is the problem graph.
13
+
14
+
Keyword arguments
15
+
-------------------------------
16
+
* `weights` are associated with the vertices of the `graph`.
17
+
* `optimizer` and `simplifier` are for tensor network optimization, check [`optimize_code`](@ref) for details.
18
+
* `fixedvertices` is a dict to specify the values of degree of freedoms on vertices, where a value can be `0` (absent in the set) or `1` (present in the set).
19
+
* `openvertices` is a tuple of labels to specify the output tensor. Theses degree of freedoms will not be contracted.
The [cutting](https://psychic-meme-f4d866f8.pages.github.io/dev/tutorials/MaxCut.html) problem (or spin glass problem).
7
-
In the constructor, `weights` are the weights of edges.
8
-
`optimizer` and `simplifier` are for tensor network optimization, check [`optimize_code`](@ref) for details.
9
+
10
+
Positional arguments
11
+
-------------------------------
12
+
* `graph` is the problem graph.
13
+
14
+
Keyword arguments
15
+
-------------------------------
16
+
* `weights` are associated with the edges of the `graph`.
17
+
* `optimizer` and `simplifier` are for tensor network optimization, check [`optimize_code`](@ref) for details.
18
+
* `fixedvertices` is a dict to specify the values of degree of freedoms, where a value can be `0` (in one side of the cut) or `1` (in the other side of the cut).
19
+
* `openvertices` is a tuple of labels to specify the output tensor. Theses degree of freedoms will not be contracted.
0 commit comments