Skip to content

Commit

Permalink
fix doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Aug 8, 2024
1 parent 59179c6 commit eeb263e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/tutorial/custom-hamiltonians.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"\n",
"## The Hubbard Model\n",
"\n",
"In the following example, we implement a custom Hamiltonian for the Hubbard model. In the standard implementation, the on-site term was represented as ``cdCD``. Here we instead introduce a single letter ``N`` for the ``cdCD`` term. For each letter in ``cdCDN`` (representing elementary operators), we define its matrix representation in the local basis in ``site_ops``. The quantum number and number of states in each quantum number at each site (which defines the local Hilbert space) is set in ``site_basis``.\n",
"In the following example, we implement a custom Hamiltonian for the Hubbard model. In the standard implementation, the on-site term was represented as ``cdCD``. Here we instead introduce a single letter ``N`` for the ``cdCD`` term. For each letter in ``cdCDN`` (representing elementary operators), we define its matrix representation in the local basis in ``site_ops``. The quantum number and number of states in each quantum number at each site (which defines the local Hilbert space) are set in ``site_basis``.\n",
"\n"
]
},
Expand Down Expand Up @@ -497,7 +497,7 @@
" + \\frac{U}{2} \\sum_i n_i (n_i - 1) - \\mu \\sum_i n_i\n",
"$$\n",
"\n",
"In the following script, we consider a 1D chain including $L= 10$ sites with open boundary condition, $t = 1, U = 0.1$ and $\\mu = 0$. The total number of boson is set to 10, and the maximal number of boson is 5."
"In the following script, we consider a 1D chain including $L= 10$ sites with open boundary condition, $t = 1, U = 0.1$ and $\\mu = 0$. The total number of boson in the many-body state is set to 10, and the maximal number of boson per site is 5."
]
},
{
Expand Down

0 comments on commit eeb263e

Please sign in to comment.