Time-Dependent Schrodinger Equation in Python: Two Different Techniques

  Рет қаралды 41,620

Mr. P Solver

Mr. P Solver

Күн бұрын

Пікірлер: 65
@SwagatPanda23
@SwagatPanda23 2 жыл бұрын
This video single-handedly saved a big chunk of my undergrad thesis. Thanks a lot for all the efforts you put in to make these wonderful videos!
@walnutstreet9857
@walnutstreet9857 Жыл бұрын
Same here, I am following his videos for my thesis
@nazirulhakimyunsi8424
@nazirulhakimyunsi8424 8 ай бұрын
same here, btw if you don't mind can you share your thesis. i just want to refer and validate my work
@RalphDratman
@RalphDratman Жыл бұрын
That was fantastic, and it was just at my level (perpetual undergraduate, now age 71). I did a lot of masses-and-springs realtime animation for fun, starting in Berkeley when I really was an undergrad, and continuing for years after on my own, so I'm very familiar with the concepts of discrete space and time. I particularly liked where you put the units back in! I just never really got around to doing that. And by the way, when I tried to visualize the Schrodinger equation instead of the classical harmonic oscillator, at that time I did not understand that setting the initial conditions had to be done carefully to avoid a jumble of mixed eigenstates evolving at different frequencies. In the Schrodinger case I could not tame that to get a nice-looking time evolution, so I put it aside and have only done a few plots of that in Mathematica over the years. Thanks so much for putting up these videos. They are perfect from my personal point of view.
@kgblankinship
@kgblankinship 6 ай бұрын
Thanks for putting this out there. It's good that you used two different methods so as to use one to check the other.
@gianmarcocaramitti6073
@gianmarcocaramitti6073 3 жыл бұрын
Absolutely great videos! Keep it up please! It would be cool to see 2D version of time-dependent Schrodinger equation as well
@MrPSolver
@MrPSolver 3 жыл бұрын
Definitely at some point in the near future!
@joseftrojan7664
@joseftrojan7664 3 жыл бұрын
How can someone put so much effort into a one video?
@hsh7677
@hsh7677 3 жыл бұрын
The best of the best!!! Keep it up!!
@leon_noel1687
@leon_noel1687 Жыл бұрын
You're rap is on fire and supercool in the same state.
@r4fa3l59
@r4fa3l59 2 жыл бұрын
Thanks i was needing this for a project.
@blackguardian89
@blackguardian89 3 жыл бұрын
Very good tutorial! Thank you!
@darylryanchong9099
@darylryanchong9099 3 жыл бұрын
Could you make a video using ML in physics problems soon? That would be really interesting. Amazing work so far tho. Keep it up! Looking forward to all future content as they help me with using python for physics.
@tulpamedia
@tulpamedia 6 ай бұрын
Schrodinger rap is wild haha
@kusy
@kusy 3 жыл бұрын
Amazing. There must be a upper limit for m and L beyond which the QM would "break down"? Say, m is the mass of the sun and L the 'size' of the solar system. The classical QM interpretation suggests the sun is only there if you look at it.
@brunoleopold4185
@brunoleopold4185 2 жыл бұрын
really helpful.. thanks a lot!!
@Fisix_org
@Fisix_org Жыл бұрын
Thanks for this! Do u know of John L. Richardson's 1990s Java_Applet simulations of quantum scattering?
@rajkumarchakraborty7003
@rajkumarchakraborty7003 7 ай бұрын
You used linear superposition method in the second method. How many wave functions you superposed?
@AliKhan-nr4yp
@AliKhan-nr4yp 11 ай бұрын
Please share some of numerical problems on Time dependent Schrodinger wave equation. Thanks
@NaneRulz
@NaneRulz 3 жыл бұрын
How about Bloch's theorem? Good work!
@quantum4everyone
@quantum4everyone 6 ай бұрын
Does your wavefunctions preserve total probability at each time step? It seems like when you have large peaks in the center, they do not, but it is hard to tell. Just by eye This simplest version of the Euler method is likely to have numerical instabilities, especially with loss of unitarity. In principle, the eigenstate method should not, but because of the hard walls, once the energy eigenstates have reasonable weight in the outer region, the approximation as a solution of the Gaussian potential starts to fail. There are ways to handle the infinite tails as well, instead of forcing them into the box as you have done. As long as you do not occupy very high energy states it should be ok. So, I am guessing the small step sizes you take are needed to get reasonable accuracy for the problems you looked at. It is a lot of time steps.
@heliflyjack8389
@heliflyjack8389 11 ай бұрын
Many thanks for your great and useful videos. I think there is a mistake in your compute_psi fonction. To normalize psi[t+1] shoudn't you divide by np.sqrt(normal) instead of dividing by normal ?
@YedaiHomeostatico
@YedaiHomeostatico 2 жыл бұрын
How do you code the time step in finite difference for more dimensions: In one u say is : psi[t][i] + 1j/2 * dt/dx**2 * (psi[t][i+1] - 2*psi[t][i] + psi[t][i-1]) . And if there is kinetic energy move, does it appear on time step function or there is no need because it is implicit in the initial PSI gaussian wave packet ?
@austineadah2843
@austineadah2843 2 жыл бұрын
Nice work.could please do some videos on boundary element methods?thanks in advance
@monsterra4841
@monsterra4841 2 жыл бұрын
could you recommend a computational chemistry textbook which covers basic of computation then goes to advance computation?
@sahanajaktar1591
@sahanajaktar1591 Жыл бұрын
Awesome work! is it possible to parallelize the code using MPI and without using numba??
@lakshyabhardwaj3222
@lakshyabhardwaj3222 6 ай бұрын
What boundary conditions did you use ?
@lookaway8496
@lookaway8496 3 жыл бұрын
can you do a video on 1D and 2D DVR method also? particularly on a quantum dynamics problem?
@Lusypher
@Lusypher 3 жыл бұрын
Thanks pal!
@not-so-fast
@not-so-fast Жыл бұрын
Could a 2 dimensional space version be done with matplotlib with the x, z axis as space and y axis as probability density?
@not-so-fast
@not-so-fast Жыл бұрын
I mean i don't know if that's useful to study, but it would look very cool with the colormap parameter
@rahulagarwal2555
@rahulagarwal2555 2 жыл бұрын
Hey... Can you guide me about how to extract the velocity of wavefunction using its angle?
@youngidealist
@youngidealist 2 жыл бұрын
How can I make this 3d for a small system of a neutral hydrogen atom (a proton and an electron)?
@thecardtrickmast3r802
@thecardtrickmast3r802 3 жыл бұрын
Why are we not considering the units of the wavefunction?
@nazirulhakimyunsi8424
@nazirulhakimyunsi8424 7 ай бұрын
wait if this about probability density function (PDF), as |psi(x)|^2. isn't the total PDF should be 1? but here the graph shows more than 1? i don't understand the concept sorry
@SuperDeadparrot
@SuperDeadparrot Жыл бұрын
Don’t you need to keep in mind that psi * conjugate( psi ) = 1 when integrated over all of space?
@Gbzildo
@Gbzildo 2 жыл бұрын
Imagine this guy meeting andrew dotson
@حيدرالعبيدي-ج4د
@حيدرالعبيدي-ج4د 3 жыл бұрын
Hello..I am a PhD student in physics from Iraq..I hope you can help me find codes in the Python program to study the Fe(II)particle (ising model 2D)to determine the spin crossover of the electrons and find the energy..with many thanks to you.
@samueldeandrade8535
@samueldeandrade8535 10 ай бұрын
Man, this guy is handsome.
@s.v.8662
@s.v.8662 2 жыл бұрын
Won‘t the wavefunction After some time reach a stationary state again?
@karnabalaj9036
@karnabalaj9036 3 жыл бұрын
Mr p the discoed invite is expired. Can u reshare a new one
@MrPSolver
@MrPSolver 3 жыл бұрын
Fixed. Let me know if there are any issues
@lpedroza
@lpedroza 3 жыл бұрын
Nice video. You are my new hero..... a big thank you for this excellent explanation. I just subscribe a few seconds ago to your channel. Do you have some python or pseudocode about Maxwell Field equations? Thank you in advance...
@jxchtajxbt53
@jxchtajxbt53 3 жыл бұрын
How about doing the Dirac equation for Hydrogen Atom and then Helium Atom?
@jxchtajxbt53
@jxchtajxbt53 3 жыл бұрын
BTW - Your videos are Awesome!
@hoseinbarati3342
@hoseinbarati3342 Жыл бұрын
Shouldn't In [12] of your jupyter notebook change? psi[t+1][i] = psi[t+1][i]/normal be psi[t+1][i] = psi[t+1][i]/normal**0.5 instead?
@TueteKaffee
@TueteKaffee Жыл бұрын
No, I don't think so. Essentially, when normalizing a wave function you divide by < psi | psi >, which in the discrete position space we use here becomes a sum over all the wave functions times their complex conjugate. So, it's something like sum(psi * psi_cc) with psi_cc being the complex conjugate of psi. But the argument of the sum is exactly the definition of the absolute square, which is used in [12].
@mathematoligiser-iserist2007
@mathematoligiser-iserist2007 Жыл бұрын
I will watch your rapping career with great interest.
@madmaths2568
@madmaths2568 2 жыл бұрын
Hi, pls could you solve reaction-diffusion and reaction-cross-diffusion PDEs in Python?:) Maybe a system of them in 1D?
@diegoalejandropalacios5330
@diegoalejandropalacios5330 3 жыл бұрын
por que no me hace la animacion?
@h.m.m3262
@h.m.m3262 2 жыл бұрын
Peace be upon you Oh teacher Professor I have a question if you can help me I will be grateful Let's say we have a series made up of : X=[(n/1),(n/2),(n/3),..., (n/n)] How do I tell Python to get me natural numbers (meaning non-fractional numbers) from this series if the value of n=100
@TueteKaffee
@TueteKaffee Жыл бұрын
I know it's more than a year ago but I had a few minutes :D n = 100 x = [] for i in range(n): x.append(n/(i+1)) if x[i] % 1 == 0: print(x[i]) That's the simplest way I found :D
@giovannisilvadesouza6968
@giovannisilvadesouza6968 Жыл бұрын
nice
@heliflyjack8389
@heliflyjack8389 11 ай бұрын
Sorry, psi0 IS already normalized
@benburdick9834
@benburdick9834 3 жыл бұрын
smh, implying Schrödinger didn't get any. That man was a player on par with Feynman.
@MrPSolver
@MrPSolver 3 жыл бұрын
Basically had two wives right? And my comment was purely about Schrodinger's cat ;)
@heliflyjack8389
@heliflyjack8389 11 ай бұрын
And psi0 should also be normalized. Emmanuel
@youngidealist
@youngidealist 2 жыл бұрын
Would you be interested in being on a team that develops entertaining and passively educational videogames? I've got a pitch and I need someone with a skillset like yours if I can get funding.
@harp-692
@harp-692 3 жыл бұрын
Would you date a girl who doesnt know shit about Physics?
@TheButterMinecart1
@TheButterMinecart1 2 жыл бұрын
There is little correlation between your knowledge of physics and your worth as a human being.
@kazimirmalevich6712
@kazimirmalevich6712 7 ай бұрын
A very bad choice of numerical methods. No one uses them in practice because they are neither accurate nor stable.
@harpreetsinghchahal2118
@harpreetsinghchahal2118 3 жыл бұрын
psi_js.T@(cs*np.exp(-1j*E_js*t)) how this work ?
@TheButterMinecart1
@TheButterMinecart1 2 жыл бұрын
@ is the symbol for matrix multiplication, it's a way of doing the sum efficiently in Python.
@mohemmedbakhiet8905
@mohemmedbakhiet8905 2 жыл бұрын
Great Video! thanks a lot
Eigenstates of ANY 1D Potential in PYTHON
19:41
Mr. P Solver
Рет қаралды 37 М.
Интересно, какой он был в молодости
01:00
БЕЗУМНЫЙ СПОРТ
Рет қаралды 3,8 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 20 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 33 МЛН
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 66 МЛН
What is the i really doing in Schrödinger's equation?
25:06
Welch Labs
Рет қаралды 301 М.
SOLVING the SCHRODINGER EQUATION | Quantum Physics by Parth G
13:04
All Types of Fourier Transforms in PYTHON
30:44
Mr. P Solver
Рет қаралды 57 М.
ChatGPT Vs. Stack Overflow Be Like...
3:26
Mr. P Solver
Рет қаралды 81 М.
I never understood why you can't go faster than light - until now!
16:40
FloatHeadPhysics
Рет қаралды 4,6 МЛН
Grad School Be Like...
3:35
Mr. P Solver
Рет қаралды 112 М.
The Hydrogen Atom, Part 1 of 3: Intro to Quantum Physics
18:35
Richard Behiel
Рет қаралды 262 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Schrödinger equation for hydrogen
20:59
MIT OpenCourseWare
Рет қаралды 142 М.
Интересно, какой он был в молодости
01:00
БЕЗУМНЫЙ СПОРТ
Рет қаралды 3,8 МЛН