Tutorial: How to generate the Quantum Creation and Annihilation Matrices

A simple approach to generating the quantum creation and annihilation matrices in MATLAB

You are now following this Submission

This is just a simple tutorial that shows how to generate the creation and annihilation matrices used in many quantum mechanical models. In MATLAB these matrices can be generated with one line of code and without using loops.

Cite As

Carlos Baiz (2026). Tutorial: How to generate the Quantum Creation and Annihilation Matrices (https://www.mathworks.com/matlabcentral/fileexchange/15050-tutorial-how-to-generate-the-quantum-creation-and-annihilation-matrices), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0