Skip to content

Commit

Permalink
docs: fix coeff
Browse files Browse the repository at this point in the history
  • Loading branch information
hczhai committed Oct 21, 2024
1 parent d30f11d commit 7c7e352
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/tutorial/custom-hamiltonians.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -914,13 +914,13 @@
"Second, we need to transform the local operators so that they have well defined quantum numbers in the $U(1) \\times Z_2$ symmetry group. We first write each operator in the above $|0\\rangle, |1\\rangle, |2\\rangle, |3\\rangle$ basis. Since now each big site has four states, we have two $\\hat{S}^+$ operators denoted as $\\hat{S}^+_L$ and $\\hat{S}^+_R$, acting on the site from the left-half-chain and the right-half-chain, respectively (for example, when $L=8$, in the first big site, $\\hat{S}^+_L = \\hat{S}^+_0$ and $\\hat{S}^+_R = \\hat{S}^+_7$). We have\n",
"\n",
"$$\n",
"\\hat{S}_L^+ = \\begin{pmatrix} 0 & 1 & -1 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 0 \\\\\\end{pmatrix}\n",
"\\hat{S}_L^+ = \\frac{1}{\\sqrt{2}}\\begin{pmatrix} 0 & 1 & -1 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 0 \\\\\\end{pmatrix}\n",
"$$\n",
"\n",
"As $\\hat{S}_L^+$ do not commute or anticommute with $\\hat{R} = \\mathrm{diag}(1, 1, -1, 1)$, we split it into the odd and even parts:\n",
"$$\n",
"\\hat{S}^+_{L,\\mathrm{odd}} = \\begin{pmatrix} 0 & 0 & -1 & 0 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 0 \\\\\\end{pmatrix},\\quad\n",
"\\hat{S}^+_{L,\\mathrm{even}} = \\begin{pmatrix} 0 & 1 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\\\\\end{pmatrix}\n",
"\\hat{S}^+_{L,\\mathrm{odd}} = \\frac{1}{\\sqrt{2}}\\begin{pmatrix} 0 & 0 & -1 & 0 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 0 \\\\\\end{pmatrix},\\quad\n",
"\\hat{S}^+_{L,\\mathrm{even}} = \\frac{1}{\\sqrt{2}}\\begin{pmatrix} 0 & 1 & 0 & 0 \\\\ 0 & 0 & 0 & 1 \\\\ 0 & 0 & 0 & 0 \\\\ 0 & 0 & 0 & 0 \\\\\\end{pmatrix}\n",
"$$\n",
"\n",
"such that $[\\hat{S}^+_{L,\\mathrm{odd}}, \\hat{R}]_+ = 0$ and $[\\hat{S}^+_{L,\\mathrm{even}}, \\hat{R}]_- = 0$.\n",
Expand Down

0 comments on commit 7c7e352

Please sign in to comment.