[PYTHON] Read "Quantum computer made in 14 days". the 2nd day

Introduction

This time, we will actually calculate the electron motion using the Schrodinger equation.

2 Electronic wave function

2.1 Representation of electronic wave function

Here, the wave function of the electron when there is no energy due to the potential is obtained. The time-independent Schrodinger equation obtained last time

-\frac{\hbar^2}{2m}\frac{d^2 \phi(x)}{dx^2}=E\phi(x)

Is used. Here, put the constants together

k=\sqrt{\frac{2mE}{\hbar^2}}

With this

\frac{d^2 \phi(x)}{dx^2}=-k^2\phi(x)

By solving the second-order differential equation, the wave function

\psi(x,t)=Ae^{ikx-i\omega t}+Be^{-ikx-i\omega t}

Here about ω

\omega=\frac{E}{\hbar}Than\\
\omega=\frac{\hbar k^2}{2m}

By substituting this into the wave function formula

\psi(x,t)=Ae^{ik[x-\frac{\hbar k}{2m}t]} + Be^{-ik[x+\frac{\hbar k}{2m}t]}

If x is x (t) so that the shoulder of e becomes 0 when A = 1 and B = 0

x(t)=\frac{\hbar k}{2m}t

This represents the velocity of a plane wave. The moving speed of the peak position of a plane wave is called the phase velocity.

v=\frac{\hbar k}{2m}

Also, regarding the wave function when A = 1 and B = 0, the real part and the imaginary part are

Re[\psi(x,t)]=cos(k\left[ x-\frac{\hbar k}{2m}t \right])\\
Im[\psi(x,t)]=sin(k\left[ x-\frac{\hbar k}{2m}t \right])

Animation of electronic wavefunction

When the time of E = 1.00, 0.25 [eV] was shown by animation, the following waveform was obtained. frame0000000.png

reference

EMAN Physics

[Physical computer made in 14 days](https://www.amazon.co.jp/14%E6%97%A5%E3%81%A7%E4%BD%9C%E3%82%8B%E9%87 % 8F% E5% AD% 90% E3% 82% B3% E3% 83% B3% E3% 83% 94% E3% 83% A5% E3% 83% BC% E3% 82% BF% E2% 80% 95 % E3% 82% B7% E3% 83% A5% E3% 83% AC% E3% 83% 87% E3% 82% A3% E3% 83% B3% E3% 82% AC% E3% 83% BC% E6 % 96% B9% E7% A8% 8B% E5% BC% 8F% E3% 81% A7% E9% 87% 8F% E5% AD% 90% E3% 83% 93% E3% 83% 83% E3% 83 % 88% E3% 83% BB% E9% 87% 8F% E5% AD% 90% E3% 82% B2% E3% 83% BC% E3% 83% 88% E3% 83% BB% E9% 87% 8F -% E9% 81% A0% E8% 97% A4-% E7% 90% 86% E5% B9% B3 / dp / 4877834702)

Recommended Posts

Read "Quantum computer made in 14 days". the 2nd day
Read "Quantum computer made in 14 days". Third day
Read "Quantum computer made in 14 days". First day
Read "Quantum computer made in 14 days". Day 5 Quantum well improvement / addition of barriers
Read "Basics of Quantum Annealing" Day 5
Read "Basics of Quantum Annealing" Day 6
Read all csv files in the folder
Read the file line by line in Python
Read the file line by line in Python
[Python] Read the specified line in the file
You will be an engineer in 100 days --Day 29 --Python --Basics of the Python language 5
You will be an engineer in 100 days --Day 33 --Python --Basics of the Python language 8
You will be an engineer in 100 days --Day 26 --Python --Basics of the Python language 3
You will be an engineer in 100 days --Day 32 --Python --Basics of the Python language 7
You will be an engineer in 100 days --Day 28 --Python --Basics of the Python language 4
Find the number of days in a month
Read the output of subprocess.Popen in real time
[Django] css in the project cannot be read