Coder Social home page Coder Social logo

hydrogen-atom's Introduction

Hydrogen-Atom

This project was done as part of the Numerical-Recipes course that I took as part of my degree in Theoretical Physics at the University of Edinburgh. This project explores the eigenvalue problem of the Hydrogen Atom. In one dimension, the time-independent Schrödinger equation is given by

$\large\begin{align}\mathbf{H}\ \mathbf{\Psi} = E\ \mathbf{\Psi}\end{align}$,

where $\mathbf{H}$ is the Hamiltonian. Here, $E$ and $\mathbf{\Psi}$ are the eigenvectors and eigenvalues of $\mathbf{H}$, respectively. The Hamiltonian is expressed as

$\Large\begin{align}H = -\frac{\hbar^2}{2m} \nabla^2 + V(r),\end{align}$

where $V(r)$ is the electric potential energy, given by

$\Large\begin{align}V(r) = -\frac{e^{2}}{4 \pi \epsilon_{0} r}.\end{align}$

In matrix form, the Schrödinger equation is solved for N equally spaced values of r, such that r goes from ($r_{max}$/N) to $r_{max}$, where $r_{max} \sim 1.5$ nm is a sensible choice. To turn the Schrödinger equation into a matrix, $\textbf{V(r)}$ should be a diagonal matrix with the values of the potential at each r along the diagonal.

The main aim of this project is to get accurate values for the possible values of the energy of this system using scipy. This project also looks for the same system with a small perturbation to the potential.

hydrogen-atom's People

Contributors

pmorande27 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.