Numerov | python script that solves the one dimensional time | Math library
kandi X-RAY | Numerov Summary
kandi X-RAY | Numerov Summary
A python script that solves the one dimensional time-independent Schrodinger equation for bound states. The script uses a Numerov method to solve the differential equation and displays the desired energy levels and a figure with an approximate wave function for each of these energy levels.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Draws the wave function
- Guess the energy of the quantum harmonic oscillator
- R Calculates the wave function of a potential
- Determine what to plot
- Verifies the convergence of potentials
- Finds the meeting points of a potential
- Verify that the potential is valid
- Modify a potential potential
- Verifies that the potential is incorrect
- Verify the tolerance of the wavefunction
- Returns the number of nodes in the wave function
- Saves the energy for the given number of nodes
- Translates the position of a potential
- Corrects the number of nodes to be used by the function
- Verify that the potential is correct
- Determine the min and max and max position
- Gets the first energy of a potential array
- Print out the information of the current energy
Numerov Key Features
Numerov Examples and Code Snippets
Community Discussions
Trending Discussions on Numerov
QUESTION
I'm doing a school project, and I keep getting a "Exception in thread "main" java.lang.NullPointerException" type of error and I can't figure out why. I've read the code but I can't find the answer. This is the code:
...ANSWER
Answered 2018-Apr-10 at 16:37PrintStream array = null;
QUESTION
Good evening.
I'm currently trying to solve the 1D Schrödinger eq. (time independent) with the Numerov method. The derivation of the method is clear to me but I have some problems with the implementation. I tried to look for solutions on google, and there are some (like this one or this one), but I don't really understand what they are doing in their codes...
The Problem:
With some math you can get the equation to this form:
where . For the beginning I'd like to look at the potential V(x)=1 if -a
.
Since I don't have values for the energy or the first values of Psi (which are needed to start the algorithm) I just guessed some...
The code looks like this:
...ANSWER
Answered 2017-Nov-24 at 04:43Unfortunately I don't quite remember the quantum physics so I don't understand some details. Still I see some bugs in your code:
Why inside
numerov_step
you squarek1
,k2
andk3
?In your main cycle
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Numerov
You can use Numerov like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page