Light-matter interaction energy diagrams

版本 1.1.0 (20.6 KB) 作者: Sergio Yanez-Pagans
Allows you to create simple light-matter interaction energy diagrams. Include your quantum states and photon couplings between states.
73.0 次下载
更新时间 2021/3/15

Allows you to create well-defined and simple light-matter interaction energy diagrams. Include quantum states and photon energies (couplings) between states. Ideal for non-linear optics and light-matter interactions in general.

How to use this code:

1. This code was written using MATLAB (version 2020a). Download MATLAB on your computer or try MATLAB online
2. Go to MATLAB File Exchange sign up/log in (https://www.mathworks.com/matlabcentral/fileexchange/). This community has tons of great MATLAB codes!
3. Download the "arrows.m" code (script): François Beauducel (2021). ARROWS: generalized and vectorized 2-D arrows plot (https://www.mathworks.com/matlabcentral/fileexchange/37371-arrows-generalized-and-vectorized-2-d-arrows-plot), MATLAB Central File Exchange. Retrieved March 14, 2021.
4. Once downloaded, copy this file to the MATLAB parent directory. On Windows, this is typically: C:\Users\YourUserName\Documents\MATLAB.
5. To make sure this was installed correctly, go to the MATLAB command window and type: arrows(1,1,1,1), a plot of an arrow should be prompted
6. Download my code on this repository: "light_matter_energy_level_diagram.m" and open it on MATLAB. Run the code and get a nice energy level diagram! (it should look like the "example.png" file)
7. Modify the code to get the specific type of plot you are looking for (add photon couplings, make photons non-collinear, change colors, etc.)

引用格式

Sergio Yanez-Pagans (2024). Light-matter interaction energy diagrams (https://github.com/sergioyapa/light-matter-interaction-energy-diagrams/releases/tag/1.1.0), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Optics 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库