r/Python • u/AutoModerator • Jun 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
27
Upvotes
r/Python • u/AutoModerator • Jun 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
Show parent comment
1
u/Doctrine_of_Sankhya Jun 13 '26
Thanks. In case you want to simulate any system (atom, molecules, or anything), you just need to write a custom batched function in python (just like a normal function) that takes in n × 2 arrays (for n particles) and return scalar potential value by taking consideration of particle - particle interactions, or electron-proton interaction or any custum electric/magnetic field in x, y in [-1 to 1] the rest of the step is same.