Blog‎ > ‎

Studying spin squeezing in Mathematica

posted Jun 14, 2016, 9:16 AM by Juan Jose Garcia-Ripoll   [ updated Jun 14, 2016, 9:18 AM ]
I made a simple Mathematica file for simulating spin squeezing numerically and creating density plots of the Husimi Q function, as the one shown below. At the very least it is an interesting exercise on using Mathematica's sparse matrices, sparse matrix exponentiation and multiplication with a vector, and colored density plots in 3D.


ċ
160613-squeezing.nb
(969k)
Juan Jose Garcia-Ripoll,
Jun 14, 2016, 9:18 AM