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.
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!