-
Notifications
You must be signed in to change notification settings - Fork 49
Add introductory tutorial on Jaynes-Cummings-Hubbard Model #130
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
base: main
Are you sure you want to change the base?
Conversation
Hi @Ericgig, I have opened this PR on possibility of adding a tutorial on Jaynes-Cummings-Hubbard model. Would love to have your feedback on it. |
Hi @Ericgig! This is my first contribution to the QuTiP tutorials, and I’ve added a new notebook titled The notebook:
It looks like the CI failed because of dead links in some unrelated files:
Since those aren’t touched by this PR, I believe the failure isn't caused by my changes. |
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.
This looks great! Thank you for your contribution. May I ask how you came up with creating this tutorial, and its contents? Is this a topic you are very familiar with?
Hi @pmenczel! Thanks for reviewing. I have been in talks with Eric to make some contribution as part of my GSoC application. I am a recent Master's graduate in physics from Cardiff University. There I worked on a project that focused on simulating features of Jaynes Cummings model using QuTiP. I also wanted to explore the Jaynes Cummings Hubbard model, but couldn't do it at the time due to time constraints. This tutorial is somewhat an extension of my previous work trying to simulate more rich models. https://github.com/Vanshaj0429/cavity-qed-simulations If you have any more questions or feedback. I am happy to answer :) |
Thank you for your replies! You have requested a review, but a few points are still open above (your name, |
@pmenczel and @nwlambert, I have made the necessary changes, I think it looks good to me now. Apologies for the delay on this PR. Can you have a look? |
Hi, thank you for the changes. One more thing - sorry, I missed it previously. The CI tests fail because of the PEP8 check, could you please fix the formatting? You can see the exact problems in the details of the failed tests, or by running |
Hi @pmenczel, I have fixed the formatting issues, I used |
There are still some errors |
Summary
This tutorial introduces the Jaynes-Cummings-Hubbard Model on a three-site cavity array, showcasing how to build and simulate light–matter interactions using QuTiP. It walks through Hamiltonian construction, ground state analysis, time evolution, and phase transition signatures, offering a compact, hands-on guide to exploring quantum dynamics in coupled cavity QED systems.
The notebook is written in Jupytext Markdown format and adheres to the qutip-tutorials contribution guidelines. All code cells execute successfully and pass
pytest --nbmake
.Tutorial Highlights
Key Concepts Covered:
Construction of the full JCHM Hamiltonian for three coupled atom-cavity sites
Analysis of the ground state properties and atomic excitation
Time evolution of localized photon excitations using mesolve
Exploration of phase transition signatures using:
Effects of:
Tools & Techniques
tensor
,qeye
,destroy
, andsigmaz
eigenstates
qutip.mesolve
matplotlib
File Location
tutorials-v5/miscellaneous/JCHM-tutorial.md
Additional Notes
Let me know if: