qutip / qutip-tutorials

QuTiP Tutorials
BSD 3-Clause "New" or "Revised" License
33 stars 34 forks source link

Larmor Precession Notebook #10

Closed christian512 closed 2 years ago

christian512 commented 2 years ago

An example for using qutip.sesolve by exploring the Larmor precession.

nwlambert commented 2 years ago

This looks great to me. Also the new template is really good.

Two minor content suggestions (feel free to disregard if you think it clutters up the notebook too much).

1) Also show how to do get the states out of sesolve() and use them to get expectation values for some operator?

2) For the final plots, since you show Bloch sphere at the beginning, could also add an animation of the bloch sphere for the dynamics (like the one from https://nbviewer.ipython.org/github/qutip/qutip-notebooks/blob/master/examples/bloch-sphere-animation.ipynb if it still works!). This might definitely but a bit to much clutter though, could be better just to update that animation example later.