-
Notifications
You must be signed in to change notification settings - Fork 49
Add ENR JC Chain to v4 & v5 tutorials #106
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks max, its looking good. i have a few minor comments.
for the enr_ptrace, yeah would be better if we can incorporate this into the normal ptrace itself, support data layer, etc. but we can do that later, alongside those additional enr functions, and with some help from eric
btw, the tests are failing for some broken link in another notebook, boxi and rushi were maybe gonna fix it
tutorials-v5/miscellaneous/excitation-number-restricted-states-jc-chain.md
Show resolved
Hide resolved
tutorials-v5/miscellaneous/excitation-number-restricted-states-jc-chain.md
Show resolved
Hide resolved
tutorials-v5/miscellaneous/excitation-number-restricted-states-jc-chain.md
Outdated
Show resolved
Hide resolved
tutorials-v5/miscellaneous/excitation-number-restricted-states-jc-chain.md
Outdated
Show resolved
Hide resolved
tutorials-v5/miscellaneous/excitation-number-restricted-states-jc-chain.md
Outdated
Show resolved
Hide resolved
tutorials-v5/miscellaneous/excitation-number-restricted-states-jc-chain.md
Show resolved
Hide resolved
It all looks good to me! Not much we can do about the failing tests, I will just merge. |
decided to get the tests working before merging, we can update the branch and hopefully just check the pep8 checks and the tests work |
- Added old enr state notebook from _qutip-notebooks_ and did changes as listed below - Rewrote description to add details about the physics - Fixed errors that came from the new version - Cleared up code - Added Markdown structure
- removed regular notebook file
- and me as an author (:
- added notebook - fixed errors that resulted from version change
- removed unused packages and variables - fixed typos and incorrect formatting of md
- added examples that commutation is no preserved - v5 test more concise
20f3a75
to
c377071
Compare
- replaced %time with qutip internal time measurement - shortened many lines - fixed typos
Adds the Excitation Number Restricted (ENR) example to the tutorials for v4 and v5. The original notebook can be found here. It was previously not mentioned on the webiste.
Note: @nwlambert wanted to take a second look at the partial trace function. Its implementation in the notebook can probably be improved.