Giter Club home page Giter Club logo

infinite-square-well-schrodinger-equation's Introduction

Infinite-square-well-Schrodinger-equation

Analytical solution to the Time-Dependent Schrodinger equation for a particle in an infinite square well.

To run

Enter in terminal: python Schrodinger_Equation_1-D.py

Animation speed up 3000%

time_dependent_3000

The Theory

\usepackage{physics} \usepackage{math}

Solving energy eigenvalues and eigenstates are used to understand the future of a physical system in quantum mechanics. The Schrödinger equation is the tool that allows for time evolution where the equation is,

When the Schrödinger equation is time-dependent, the solution becomes

Therefore, when and becomes

\being{equation} \tag{3} \ket{\psi(0)} = \Sigma_n C_{n} \ket{E_n} \end{equation}

since .

The initial is generated by a complex gaussian wave packet. Once the parameters in the program are set or the default parameters are used the following equations are executed. The first step is to normalize the wave function given by the equation below,

Once is normalized as the first step, the energy eigenstate wave functions are then found. Again, the energy eigenstate wave function need to be normailized and the following equation is derived,

Discrete quantized wave vectors are required to solve the Time-Dependent equation, . The energy quantization for the system becomes,

Finally, the last item the time dependent Schrödinger equation depends on is . is the expansion coefficient that chages the probability amplitude. The indefinite integral of the complex conjugate of eigenstate wave function and the initial wave function with respect to the spatial dimension x,

From equation (2): we bring together, , , and . The result is

Now, as t increase the future of wave equation is determined as shown below in the animation.

Animation real time

time_evolution

The Code

infinite-square-well-schrodinger-equation's People

Contributors

texify[bot] avatar timothypholmes avatar

Watchers

 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.