Here, you will find the code written to generate data for the Wigner distribution of states 0 to 4 as well as for the respective position and momentum distributions. All one has to do is click on the files, copy their content onto a C-programming or similar platform compatible with C-language (e.g. CodeBlocks) and run them. This will create .DAT files which contain the data for the Wigner, position and momentum distributions from -3 to +3, for a quantum harmonic oscillator. These files can then be used for plotting, via a plotting platform (e.g. gnuplot).
physicist1997 / the-wigner-position-and-momentum-distributions Goto Github PK
View Code? Open in Web Editor NEWHere, you will find the code written to generate data for the Wigner distribution of states 0 to 4 as well as for the respective position and momentum distributions for a quantum harmonic oscillator.
License: MIT License