Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Fortran code question for quantum mechanics You do not have to solve the programs if you don't want. But I need the code that can
Fortran code question for quantum mechanics
You do not have to solve the programs if you don't want. But I need the code that can solve the problem in Fortran
n this assignment we apply the so-called quantum Monte Carlo method to find the ground sate energy and wavefunction for simple potentials. The method is related to the variational principle. Suppose we have a trial function y(x) and calculate the average energy for a system described by a Hamiltonian H according to: (E) Note that this expression is general and works even when y(x is not normalized. Then we vary the trial function and recalculate the energy. If we figure the new energy has a lower value we know it must be a better trial. The trial function thus gets carriedto the next round. By repeating the procedure many times we expect to obtain a good approximation to the ground state wave-function and its energy Question: (1) For the potential of a simple harmonic oscillator v(x) x2, and starting from a trial functioncos (5x)e 2x Run code and make a graph with the following curves. y(x), E), V(x), together with the exact ground state wavefunction (un-normalized) Exp( The graph is to be plotted against coordinate x and l recommend the following scales (-4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started