image thumbnail

Liouville-von-Neumann-Matlab

version 1.1.0.0 (4.4 KB) by Marcin Konowalczyk
Example of a quantum mechanical spin system evolution using the Liouville von Neumann equation (density matrix propagation)

166 Downloads

Updated 08 Nov 2019

From GitHub

View license on GitHub

This script performs a representative Liouville von Neumann simulation by propagation of the density matrix. The quantum mechanical system used for simulation consists of three spins: electrons (A,B) and a nucleus (C). Only one of the electrons is coupled to the nucleus (A-C) with a hyperfine coupling specified by `hfc`. The system is also subject to an external magnetic fields specified by `B0`. The calculation runs for the time points specified by `T`.
The code is intended to be used to learn about the basics of spin chemistry, not as a tool for simulation. It is heavily commented, and to use it you should go though it line-by-line to understand what it does.

Cite As

Marcin Konowalczyk (2021). Liouville-von-Neumann-Matlab (https://github.com/MarcinKonowalczyk/Liouville-von-Neumann-Matlab), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.