Light-matter interaction energy diagrams

버전 1.1.0 (19.8 KB) 작성자: Sergio Yanez-Pagans
Allows you to create simple light-matter interaction energy diagrams. Include your quantum states and photon couplings between states.

다운로드 수: 58

업데이트 날짜: 2021/3/15

GitHub에서 호스트

GitHub에서 라이선스 보기

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 ( 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 (, 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 (2023). Light-matter interaction energy diagrams (, GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.