Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions 01-structural-imbalance-overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"\n",
"$J_{i,j} s_i s_j=\n",
"\\begin{cases} \n",
" -1 & \\text{friends in same set (} s_i=s_j \\text{) or enemies in different sets ($s_i \\ne s_j$)} \\\\\n",
" +1 & \\text{friends in different sets ($s_i \\ne s_j$) or enemies in same set ($s_i=s_j$)} \n",
" -1 & \\text{friends in same set (} s_i=s_j \\text{) or enemies in different sets (} s_i \\ne s_j) \\\\\n",
" +1 & \\text{friends in different sets (} s_i \\ne s_j \\text{) or enemies in same set (} s_i=s_j) \n",
"\\end{cases}\n",
"$\n",
"\n",
Expand Down Expand Up @@ -158,9 +158,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Display the solution using a `draw` function that represents friendly interactions as green lines, hostile interactions as red lines, and frustration as dashed lines.\n",
"\n",
"<div class=\"alert alert-warning\" role=\"alert\" style=\"margin: 10px\">Note: The code cell below imports from <code>helpers</code>, a folder colocated with this Jupyter Notebook. Users running it in <a href=\"https://cloud.dwavesys.com/leap\">Leap</a> can see helper functions by selecting <i>Jupyter File Explorer View</i> on the <i>Online Learning</i> page.</div>"
"Display the solution using a `draw` function that represents friendly interactions as green lines, hostile interactions as red lines, and frustration as dashed lines."
]
},
{
Expand Down