Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Docs: cirq/tutorials/educators/chemistry #5251

Merged
merged 4 commits into from
Apr 16, 2022
Merged
Changes from 2 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
13 changes: 2 additions & 11 deletions docs/tutorials/educators/chemistry.ipynb
Original file line number Diff line number Diff line change
@@ -538,9 +538,7 @@
"- Stores the Hermitian matrix $M_{pq}$ and antisymmetric matrix $\\Delta_{pq}$ describing a general quadratic Hamiltonian\n",
"\n",
"$$\n",
"\\sum_{p, q} M_{pq} a^\\dagger_p a_q\n",
"+ \\frac12 \\sum_{p, q}\n",
" (\\Delta_{pq} a^\\dagger_p a^\\dagger_q + \\text{h.c.})\n",
"\\sum_{p, q} M_{pq} a^\\dagger_p a_q + \\frac12 \\sum_{p, q} (\\Delta_{pq} a^\\dagger_p a^\\dagger_q + \\text{h.c.})\n",
"$$\n",
"\n",
"- Routines included for efficient diagonalization (can handle thousands of fermionic modes)\n",
@@ -814,14 +812,7 @@
"- The BCS mean-field d-wave model of superconductivity has the Hamiltonian\n",
"\n",
"$$\n",
"H = - t \\sum_{\\langle i,j \\rangle} \\sum_\\sigma\n",
" (a^\\dagger_{i, \\sigma} a_{j, \\sigma} +\n",
" a^\\dagger_{j, \\sigma} a_{i, \\sigma})\n",
" - \\sum_{\\langle i,j \\rangle} \\Delta_{ij}\n",
" (a^\\dagger_{i, \\uparrow} a^\\dagger_{j, \\downarrow} -\n",
" a^\\dagger_{i, \\downarrow} a^\\dagger_{j, \\uparrow} +\n",
" a_{j, \\downarrow} a_{i, \\uparrow} -\n",
" a_{j, \\uparrow} a_{i, \\downarrow})\n",
"H = - t \\sum_{\\langle i,j \\rangle} \\sum_\\sigma (a^\\dagger_{i, \\sigma} a_{j, \\sigma} + a^\\dagger_{j, \\sigma} a_{i, \\sigma}) - \\sum_{\\langle i,j \\rangle} \\Delta_{ij} (a^\\dagger_{i, \\uparrow} a^\\dagger_{j, \\downarrow} - a^\\dagger_{i, \\downarrow} a^\\dagger_{j, \\uparrow} + a_{j, \\downarrow} a_{i, \\uparrow} - a_{j, \\uparrow} a_{i, \\downarrow})\n",
"$$\n",
"\n",
"Use the `mean_field_dwave` function to generate an instance of this model with dimensions 10x10.\n",