Skip to content

A concise Python implementation for solving the Schrödinger equation using Matrix Numerov method

License

Notifications You must be signed in to change notification settings

thesophile/matrix-numerov-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Numerov Method for Solving the Schrödinger Equation

A Python implementation of the Matrix Numerov method, a powerful numerical technique used to solve the Schrödinger equation and plot wavefunctions in quantum mechanics.

wavefunction for potentential of modulus function

Figure 1: Wavefunction of a particle in a modulus function potential

Overview

The Schrödinger equation is fundamental in quantum mechanics, and solving it can often be complex and time-consuming. The Matrix Numerov method optimizes this process, allowing for quick and efficient solutions with minimal code. By using a skilled mathematical approach, this implementation demonstrates how complex problems can be tackled in significantly less time and with fewer lines of code compared to traditional methods.

Features

  • Efficient Calculation: The Matrix Numerov method reduces computational time while maintaining accuracy.
  • Compact Code: The implementation is designed to be short and understandable, emphasizing clarity and efficiency.
  • Wavefunction Visualization: The results can be easily visualized to understand the behavior of quantum states.

Getting Started

Prerequisites

Make sure you have Python installed on your machine. You may also need to install the following packages:

pip install numpy matplotlib

Usage

Clone the repository:

git clone https://github.com/yourusername/matrix-numerov-python.git
cd matrix-numerov-python

Run the main script:

python numerov.py

Adjust parameters in the script to explore different potentials and boundary conditions.

License

This project is licensed under the MIT License. See the LICENSE file for more details


More details are provided in the attached file Project Report.pdf

About

A concise Python implementation for solving the Schrödinger equation using Matrix Numerov method

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published