The probabilities of a two level atom to be in one of the two levels can be described by a simple first order differential equation. By solving this differential equation using finite difference method, one can see oscillation of probabilities known as Rabi flopping. In this code such an oscillation is calculated for different detuning frequencies.
Reference: https://dl.dropboxusercontent.com/u/349151/2012-06-15_first_year_report_v1.pdf
Sathyanarayan Rao (2021). Simulation of Rabi Flopping in a Two Level Atom using Finite Difference Method (https://www.mathworks.com/matlabcentral/fileexchange/52220-simulation-of-rabi-flopping-in-a-two-level-atom-using-finite-difference-method), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.