Fix several typos in tutorials#1422
Merged
Merged
Conversation
Fixes several small typos in the OpenFermion tutorials. The docs builder cannot handle inline latex that is split across several lines, so these were combined to a single line.
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates several tutorial notebooks to fix typos, improve grammar, add hyperlinks to arXiv references, and reformat equations. A review comment points out that the Bose-Hubbard Hamiltonian formula in bosonic_operators.ipynb contains mathematical and physical errors in its summation indices and hopping terms, and provides a corrected version matching the codebase implementation.
The equation for the Bose-Hubbard Hamiltonian was incorrect due to some sum bounds. 'V' was also used as both the dipole interaction strength and the set of nodes in the model. These are both corrected here.
The previous equation that was broken into multiple lines got interpreted as a code block because the -/+ signs at the start of the lines turned it into a markdown list. Moving these to the end of the previous line fixes the problem.
mhucka
approved these changes
Jul 16, 2026
mhucka
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for fixing these.
mhucka
enabled auto-merge
July 16, 2026 22:48
mhucka
disabled auto-merge
July 17, 2026 01:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes several small typos in the OpenFermion tutorials. There were a couple issues parsing latex that were fixed: