Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
leburgel committed Jun 23, 2022
1 parent 76b7f6b commit 6d44adf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions python/chapter3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,7 @@
"\n",
"def expValMpo(O, Ac, Fl, Fr):\n",
" \"\"\"\n",
" Gives the MPO tensor corresponding to the partition function of the 2d \n",
" classical Ising model at a given temperature and coupling, obtained by\n",
" distributing the Boltzmann weights evenly over all vertices.\n",
" Gives the expectation value of a local operator O.\n",
" \n",
" Parameters\n",
" ----------\n",
Expand Down
6 changes: 2 additions & 4 deletions python/chapter3Solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### 3.2 The two-dimensional classical Ising model\n",
"### 3.3 The two-dimensional classical Ising model\n",
"\n",
"Next we apply the VUMPS algorithm for MPOs to the two-dimensional classical Ising model. To this end, consider classical spins $s_i = \\pm 1$ placed on the sites of an infinite square lattice which interact according to the nearest-neighbor Hamiltonian\n",
"\n",
Expand Down Expand Up @@ -641,9 +641,7 @@
"\n",
"def expValMpo(O, Ac, Fl, Fr):\n",
" \"\"\"\n",
" Gives the MPO tensor corresponding to the partition function of the 2d \n",
" classical Ising model at a given temperature and coupling, obtained by\n",
" distributing the Boltzmann weights evenly over all vertices.\n",
" Gives the expectation value of a local operator O.\n",
" \n",
" Parameters\n",
" ----------\n",
Expand Down

0 comments on commit 6d44adf

Please sign in to comment.