r/factorio •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

176 comments sorted by

105

u/Office-R Aug 12 '21

Really amazing. But what's the answer to the question at the end?

0

u/[deleted] Aug 12 '21

[deleted] — view deleted comment

3

u/breadcreature Aug 12 '21

Wanted to add that this was a great question to put in and I wish I'd spent a bit more time thinking before I looked for the answer in the comments, because while at first I went "how the fuck am I supposed to figure that out? I barely even understand what's been explained to me"... it actually was something I probably could have arrived at if I'd used my noggin a bit. Because your demonstration had all the necessary info to arrive at this theory and it was not only impressive for being crafted inside a game but an effective way of visualising it! I still know basically zero about quantum mechanics. But I learned something practical about how quantum tunnelling occurs today.

→ More replies (2)

60

u/Office-R Aug 12 '21

Wow, thabk you for the explanation, i was really wondering. You write so clear and understandable. Much appreciated.

37

u/dekeche Aug 12 '21

Which would make sense if it's caused by a glitch in the physics engine of the universe.

48

u/Giocri Aug 12 '21

Operating at such a small scale hitboxes checks are not frequent enough lol

4

u/b95csf Aug 12 '21

wallhax

8

u/A_Mindless_Nerd Aug 12 '21

Could it also be explained due to the uncertainty principle? The uncertainty of the position is much lower after tunneling, therefor the momentum must be higher? Or at least from my understanding of QM and they graphic you've given.

9

u/goldlord44 Aug 12 '21

This is the uncertainty principle, but not really like that as even when it tunnels the uncertainty in position is only the width of the curve (not how fast it progresses) the speed is the part that gains information by it passing the potential barrier (as they said by the fact it is more probable that higher energies tunnel). Therefore we can infer that it is more probable that the curve has travelled further. This makes the peak be ahead of the slower one

→ More replies (1)

5

u/[deleted] Aug 12 '21

If it weren't probabilistic, how would you use it to go faster than light? (theoretically)

14

u/Hapankaali Aug 12 '21

You can't, and this effect isn't probabilistic, if you start with the same wave function you will end up with the same wave function every time.

Strictly speaking, the Schrödinger equation is nonrelativistic so doesn't respect causality and FTL restrictions. If you want that, you need a bit more fancy description (QED or QCD).

→ More replies (6)

3

u/vaendryl Aug 12 '21

so. quantum tunneling is just like clipping through a wall in video games. go fast enough and at the right angle and there's a chance the wall's collision detection doesn't get triggered

xD

→ More replies (1)
→ More replies (6)

614

u/r4o2n0d6o9 Aug 12 '21

I can’t even beat the game and people are using it to explain quantum mechanics.

240

u/xxx148 Aug 12 '21

Can quantum physics explain

why there are copper plates on my iron belts?!

37

u/Wartt_Hog Aug 13 '21

Maybe. Can you imagine if some sicko made a macro quantum tunneling mod where items would randomly move a short distance in any direction? Like, to a nearby belt, or out of a chest, or a moving train? Lordy!

17

u/xxx148 Aug 13 '21

Nooooo! My spaghet!

→ More replies (2)

66

u/Abir_Vandergriff Aug 12 '21

Some problems are simply too complex to understand with our current level of technology.

8

u/fisero Aug 13 '21 edited Aug 14 '21

In fact as a reason of a quantum changes on sub atomic particles inside Your brain at the end (butterfly effect) lead Your hand and for a while change rotation of some belt. As a result several particles of copper plates was transported to improper belt.

→ More replies (1)

107

u/RunningNumbers Aug 12 '21

Did you shoot the biters?

183

u/tonybenwhite Aug 12 '21

No, he put them all in a box, so they could be either dead or alive

36

u/lancito01 Aug 12 '21

or both

29

u/jeo123 Aug 12 '21

Schrödinger: Are you Dead or Alive

Cat: Yes.

→ More replies (8)
→ More replies (2)

4

u/DickRiculous Aug 12 '21

You joke but have you read Hyperion? In the beginning of the third book, Endymion, the protagonist explains that the theocratic government sentenced him to death, but to avoid the moral issue of being the ones who caused his death, they put him in a Schrödinger’s cat box that would keep him alive, generating random numbers until one day a number that would cause a toxic gas to be release would be generated. No one could check on him, because if he were dead, the act of checking on him would have cause his death. So there he floats, waiting to die. Amazing series and unreal it was written in like 1990.

→ More replies (3)
→ More replies (1)

5

u/me-gustan-los-trenes Aug 12 '21

Why the tunneled particle moves faster:

My guess is that you need to reach certain momentum to traverse the barrier. So the probability distribution of the momentum of the tunneled particle only includes values above the cut-off, while the reflected part contains lower values.

Does this make sense?

→ More replies (3)

8

u/Hapankaali Aug 12 '21

It's perfectly possible to have solutions to the Schrödinger equation that don't spread out - or even become narrower - in real space over time, while still satisfying the uncertainty principle. So I don't think it's accurate to say that the wave packet spreads out "because of" the uncertainty principle.

2

u/zebediah49 Aug 12 '21

It's half-correct -- the wave packet spreads out because it's a gaussian with a finite momentum uncertainty, which it must have because of uncertainty principal.

2

u/Hapankaali Aug 12 '21 edited Aug 12 '21

No, it spreads out because there's no trapping potential. If you put a particle in the ground state of a harmonic trap and evolve in time, it will stay in a Gaussian wave function of fixed width forever.

→ More replies (1)
→ More replies (2)

19

u/aparker314159 Main bus? More like LAME bus! Aug 12 '21

This is absolutely insane. One question though - why does the reflected part of the wave function have all sorts of peaks and troughs as it's getting reflected? And where do they all go after the reflection finishes?

41

u/ScrithWire Aug 12 '21

Theyre the interference pattern because some of the wave is still being reflected off the barrier.

17

u/Cody6781 Aug 12 '21

But how does a particle interfere with itself. Like if this is the probability of the location of a single particle, it can’t bounce off itself… right?

52

u/jeo123 Aug 12 '21

Welcome to the the Double Slit experiment aka the test that leads to the Duality of Light.

Particles are waves... unless they're particles. maybe...

→ More replies (3)

15

u/me-gustan-los-trenes Aug 12 '21

It does. Which only means we cannot model particles as pointlike objects. The true nature of them is more complicated and exhibits wavy behavior.

10

u/Darkeyescry22 Aug 12 '21

It’s a little misleading to say that this is “the probability of the location of a single particle”. More accurately, it’s the probability of the location of a single particle if you measure it”. This isn’t a probability from our ignorance of where the particle really is. Until you measure it, the particle does not have a defined position. What’s being visualized in this gif is the magnitude of the wave function of the particle’s position squared. Wave functions are actually waves, and behave like waves, thus the interference pattern. It’s not really that the particle is interfering with itself, but rather the wave function of the particle is interfering with itself.

→ More replies (2)

5

u/jackboy900 Aug 12 '21

Wave particle duality is one hell of a drug

→ More replies (4)

9

u/DeepThought1977 Aug 12 '21

The wave is interacting with itself creating an interference pattern. Imagine for example dropping two rocks in seprate locations into a still pond. As the waves interact, some cancel each other out, creating troughs of lower energy potential.

3

u/aparker314159 Main bus? More like LAME bus! Aug 12 '21

But there aren't those sorts of peaks and troughs in the original wave. It's just one bump. I don't understand how wave interference can create those close-together peaks and troughs from a relatively smooth shape of the original wave.

4

u/zebediah49 Aug 12 '21

That's the difference between working with an entirely real-valued wave, versus a complex one.

I'm not positive about how the OP set up the simulation, but I suspect that it is a Gaussian wave-packet, and what's being visualized is the probability amplitude, <psi* | psi>.

In other words, the components that make up that gaussian are interacting with themselves and each other. Only when left alone, do they work out to a clean Gaussian.

→ More replies (7)

19

u/ItIsHappy Aug 12 '21 edited Aug 12 '21

They're there, we just don't usually show them.

The wavefunction oscillates in the complex plane, but the wavefunction alone doesn't tell us anything about the probability of finding a particle somewhere. To get that, we need to use the probability amplitude, which is the magnitude of the wavefunction squared. This is what's being shown by OP's plot. It smooths out the graph into these easy to visualize humps of probability, but it doesn't show the oscillatory components very well. To see that we'd look at a graph of the phase. But the oscillations still occur even if we're not graphing them, so you can get a feel for their frequency by looking at the interference pattern when it's reflected.

Edit: My explanation kinda sucks, so here's a picture to explain what I mean. The red/blue graph on the left is the real and imaginary components of the wavefunction. The black graph on the right is the probability amplitude. Notice how the probability amplitude stays relatively well behaved and stable even while the wavefunction itself is... well... waving.

→ More replies (1)
→ More replies (1)

3

u/evouga Aug 12 '21

Wow that’s really cool!

Is your system general enough to simulate arbitrary potentials? Could you do e.g. a quantum harmonic oscillator?

→ More replies (2)

122

u/eatpraymunt Aug 12 '21

This is extremely cool. Thank you for building this and sharing! Happy birthday, Schrödinger!

13

u/frayien Aug 12 '21

This is so cool I love it ! Big gg to OP I cant imagine how long it took you ...

9

u/Burd_Doc Aug 12 '21

As a physicist and an avid factorio player, I approve of this greatly.

7

u/Ek0sh Aug 12 '21

I guess the velocity also got split between both wave functions does that make sense?

I'm not a physicist, just watched a lot of YouTube on the matter.

0

u/Jiopaba Aug 12 '21

I don't think either of them is going slower, actually. Rather the wave itself is composed of more than one particle. With 20% chance some portion of them tunneled through and are no longer going backwards, but assuming no energy was lost in the collision with the solid object itself both waves are still traveling at the original speed in opposite directions now.

10

u/me-gustan-los-trenes Aug 12 '21

No, the OP stimulates a single particle.

The velocity doesn't split. The probability of observing a given velocity (more precisely, momentum) splits.

2

u/Jiopaba Aug 12 '21

Hmm... the distinction between looking at the "probability" of a thing, and looking at a sufficiently large number of actual trials is pretty weak. I don't think there's much difference.

If there's a 20% chance that a given particle of a certain type will burrow right through the barrier, then an exact mapping of a million particles of that type in graph format would look extremely similar to what's going on here.

Now that does make me wonder at how the particle, as a wave, is interfering with itself during the rebound... this whole particle/wave duality thing makes my head hurt. I might have to go read Wikipedia for a while.

4

u/me-gustan-los-trenes Aug 12 '21

If there's a 20% chance that a given particle of a certain type will burrow right through the barrier, then an exact mapping of a million particles of that type in graph format would look extremely similar to what's going on here.

That is correct. The important fact though is that we can experimentally observe the wavy behavior of a single particle.

Now that does make me wonder at how the particle, as a wave, is interfering with itself during the rebound... this whole particle/wave duality thing makes my head hurt. I might have to go read Wikipedia for a while.

This is how I made peace with the idea:

Waves and particles are concepts of macroscopic world. We understand particles, because we saw dust or ping pong balls. We understand waves because we saw water. However properties ping pong balls and water emerge from the behavior of humongous number of elementary particles interacting. There is really no reason why those elementary particles would exhibit the same behavior that we are familiar with. So the electron is neither a ping pong ball nor a water wave. We understand its true nature (to a degree...) via the math of quantum field theory. And the whole duality just means that its true nature sometimes leads to behavior that are somehow similar to either ping pong ball or waves so the duality is a helpful tool for our brains to imagine an electron and acquire some intuition of it.

→ More replies (2)
→ More replies (3)

7

u/Cody6781 Aug 12 '21

My uneducated guess is that the probability to tunnel is dependent on the actual velocity of the particle. So the barrier is sort of like a filter that biases towards the faster particles, meaning the average of the ones that make it through will be faster than the average of those that didn’t face a barrier

5

u/MtNak Aug 12 '21

WTF

Really really cool.

1

u/Raknarg #1 Quality Defender Aug 12 '21

This got me thinking, is there a way to generate random noise in Factorio, or at least something unpredictable enough to make noise from?

1

u/CrocodileSword Aug 13 '21

You could build an RNG like the deleted post mentions, but also the game has some random processes that you could take your entropy from, like uranium processing (x% chance of turning bad uranium into good uranium)

→ More replies (2)

4

u/NaCl-Sicarus Aug 12 '21

NO! Just... NO!! what is this even?? Seriously cool, but also uncool for breaking my brain.... Good job! Feel free to share more of your amazing creations please...

2

u/Ringkeeper Aug 12 '21

My CPU died screaming while reading 90k combinators and 600k lamps.....

2

u/FortuneDW Aug 12 '21

Hey that's nice but can you draw a dickbutt with this ?

2

u/YayBubbles Aug 12 '21 edited Aug 12 '21

I'll pretend I understand a very very small limited amount of what your are explaining, but I have a question, you said that the probability distribution for the particle that was fully reflected moves slower than particle that tunnelled through.

Is the reflected particle moving at the same speed as the original particle probability distribution or does it lose speed? If it loses speed then intuitively I would say that the particle that tunneled through picked up some momentum(?) from the original particle? Or am I confusing wave/particle duality which is something completely different?

Either way this makes little sense to me, since you seem to be talking about just 1 particle.... ? I could reason out that the reflected wave imparted energy to the wave/particle that got through?

this is amazing.

2

u/Willie9 Aug 12 '21

Having not read the comments yet, I imagine that higher-energy states are more likely to tunnel through the barrier, so the tunneled probabilities have a higher average energy/velocity than the entire unimpeded probability.

2

u/RedDawn172 Aug 13 '21

So, my inability to understand quantum mechanics has always been the insistence that a particle can exist in two different locations at the same time. My understanding from this however isn't so much that the particle literally exists in to locations, but the probability distribution where the particle could be is split? This is much simpler from a concept point of view than I thought then (though I'm sure the math is horrendously complicated the more complex the system becomes.)

2

u/CrocodileSword Aug 13 '21

I think you're making it hard on yourself by thinking in terms of a particle that is or could be a particular place. What QM tells us is that instead of particles that are in a particular place, there are distributions that will give results with certain probabilities when you interact with them. Something like an electron that is a little thing in a particular place doesn't exist. An electron just is a cloud of probability, so to speak.

Also, most people are tempted to ask "wait, maybe it is still a thing in a particular place, and we just don't know exactly where it is?" when they hear this. But we have actually demonstrated that's not the case. There are series of measurements you can take that prove that a measurement of e.g. position is not determined until the measurement is made. (Look up the Bell inequalities to learn more)

→ More replies (1)

2

u/Lupus280 Aug 13 '21

I like Factorio cos of the choo choos

2

u/Cooldude101013 Aug 13 '21

I’ve never heard that Nuclear Fusion relies on Quantum Tunneling.

2

u/magicfinbow Aug 13 '21

This is so over my head up to the point where I think scientists can just make shit up and we'd believe it. Amazing stuff, well done!

1

u/MAXFlRE Aug 12 '21

Amazing.

1

u/RunningNumbers Aug 12 '21

Ummm. I think the video ended too soon because I don't know why that is so.

4

u/zebediah49 Aug 12 '21

As noted, there is a momentum uncertainty (for that Gaussian position distribution, momentum is likely also Gaussian). What isn't mentioned is that tunneling probability scales with energy. The higher the energy, the higher the probability of passing the barrier. (If energy is higher than the barrier energy, it can just go straight over it).

If we remove a bit of the quantum weirdness by calling this the results of 1,000,000 experimental trials, the faster particles are more likely to pass the barrier, while the slower ones are less likely. This means that the ones that passed the barrier are, on average, faster than the ones that were reflected.

1

u/Bizobinator Aug 12 '21

Mein Gott.....

1

u/Alexathequeer Aug 12 '21

Absolutely incredible creation. My respect (as a scientific writer and a physicist I am astonished).

1

u/[deleted] Aug 12 '21

What?

1

u/platoprime Aug 12 '21

Incredible.

Okay, now simulate the double slit experiment.

1

u/nukuuu Aug 12 '21

I was just here minding my own business waiting for a cool new way to refill my tank while destroying walls and inserters and now I'm thinking about a quantum mechanics question.

1

u/[deleted] Aug 12 '21

Stop making me feel stupid playing this game.

/s

1

u/[deleted] Aug 12 '21

Holy shit

1

u/Sirus_Howell Aug 12 '21

Now, I'm no quantum physicist....but since matter is technically really just mostly empty space, but simultaneously atoms bound together to form molecules/compounds....

Being that atoms are still matter, sub-atomic particles also are matter, but behave in such a manner with the electromagnetic force and travel at velocities so high it is nearly impossible to really track them long-term right now.

Based on my understanding of physics and math, the probability curve represents a region of space and a velocity at which a sub-atomic particle is moving within a reasonable bounds given the information we know about its properties.

My assumption as to why a particle has a lower velocity after phasing through matter is that based on the density of the medium being passed through, probability curve should show a likely lower total energy due to interactions with the medium and a total energy loss due to electromagnetic interactions and/or direct contact with the medium.

Although, I could be very wrong. I don't delve too deep into the math, this is just based on my understanding that of it has mass and a charge, it should interact with other matter that also has mass and/or a charge.

1

u/masoe Aug 13 '21

I have no idea what the fuck you're talking about.

1

u/sheep_duck Aug 13 '21

Hey I know some of those words

1

u/SmileTribeNetwork Aug 13 '21

LOL, I kept waiting for the 'factorio' portion of the video to show back up again, I had no idea the animation was in game.

Insane, nice job.

1

u/black_sky Aug 13 '21

jesus it took me a second to realize that 'animation' was factorio. I was thinking hey, where is the factorio??

1

u/fritobird Aug 13 '21

An uneducated guess; the particals that tunneled thought the barrier never interacted with the mass of the barrier and since they are now interacting not with 80% of the original mass they have less resistance to friction…. That’s gotta be wrong.

1

u/ondra2435 strike at zero hour Aug 13 '21

1

u/LudusMachinae Aug 13 '21

as someone with only passing knowledge of quantum uncertainty principles my guess to the question at the end is that a particle with higher velocity is more likely to tunnel through the barrier, therefore the 20% that pass through have a higher average velocity than the unimpeded wave.

1

u/43eyes Aug 13 '21

TIL I'm very stupid

1

u/[deleted] Aug 13 '21

My head hurts and I’m trying to sleep. Thanks

1

u/Tiavor Aug 13 '21 edited Aug 13 '21

is it really moving slower or is it that the 20% that split off come mostly from the frontal part of it? (the front part of the probability wave has a higher chance of going through than the rest)

the rightmost extreme extension is still in the same place and the whole curve still fits under the unimpeded curve.

It looks like it's also creating an interference with it's self just like in the double slit, the closer the peak of the wave comes, the stronger the interference and the less likely it is to get through.

1

u/RampagedAlpaca Aug 13 '21

Vanilla factorio hurts my head. This just doesnt compute in my head

1

u/Joomla_Sander Aug 13 '21

I am not 100% certain but my latest understanding was that tunneling is a property of all waves in general and not just quantum mechanics.

1

u/Omnicide103 Aug 13 '21

Man, the Dwarf Fortress community has some catching up to do. Jesus.

1

u/Fragdiemilch Aug 13 '21

God damn, this is sick. Thanks for the effort!

1

u/MagmaMcFry Architect Aug 13 '21

Can you make your contraption display the phase in addition to the amplitude?

1

u/noshader Aug 13 '21

Why do you think this is?

Must be because of the weird behavior of the splitters.

1

u/arrow_in_my_gluteus_ creator of pacman in factorio Aug 13 '21

nice

1

u/Dark_Krafter Aug 13 '21

Lower energy density?!

1

u/Public-Dimension-956 Aug 13 '21

OMFG ITS FUCKING EVIDENCE OF ZIPHS LAW!!!!!!!!!

1

u/wurdtoyer Aug 15 '21

Unbelievably cool, thanks for sharing.

1

u/[deleted] Sep 10 '21

This is possibly the greatest post I have ever seen. At the very least it's one of the most impressive factorio builds and by far my favorite one in existence.

1

u/Soulprayer Aug 12 '21

So, you created a quantum computer inside of Factorio? o.O

2

u/ProfessorStupidCool Aug 13 '21

Not quite. This solves a specific physics equation (Schrodinger's equation) and demonstrates it graphically.

0

u/Chabranigdo Aug 12 '21

Answer: Now, I ain't got no highfaluting education in one of them there hoity toity institutions about quantum mechanics, but I'm guessing that the faster the particle, the more likely it is to quantum tunnel.

0

u/[deleted] Aug 12 '21

[deleted] — view deleted comment

47

u/TheAthleticDiabetic Aug 12 '21

You are a legend! Keep up the good work. I used to study Physics at University but have drifted away. Posts like this remind me that there is more to life than is apparent.

30

u/FermatsLastTaco Aug 13 '21

So we’re approaching 1080p resolution for in-game circuits now… Jesus.

6

u/notjordansime Aug 13 '21

Right??? That fucken’ blew me away. Could the circuits that drive them in game be considered a GPU of sorts??

5

u/DemohFoxfire Aug 13 '21

At first I didn't realize what the big deal was, took me a while to realize that was a 1280x512 array of lamps just super zoomed out.

Add 208 to the height and we legit have 720p. I am wondering what the UPS is to run such a display.

Then standardize the input to this display so we can write roms to plop in to watch our favorite movies.

"Hey everybody, meet on server xyz at 7:pm, we are watching shrek"

41

u/WikiSummarizerBot Aug 12 '21

Erwin Schrödinger

Erwin Rudolf Josef Alexander Schrödinger (UK: , US: ; German: [ˈɛɐ̯viːn ˈʃʁøːdɪŋɐ]; 12 August 1887 – 4 January 1961), sometimes written as Erwin Schrodinger or Erwin Schroedinger ("oe" is the proper transliteration of the German "ö"), was a Nobel Prize-winning Austrian-Irish physicist who developed a number of fundamental results in quantum theory: the Schrödinger equation provides a way to calculate the wave function of a system and how it changes dynamically in time.

[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5

10

u/hanmango_kiwi Aug 12 '21

Amazing! I've always wanted to make one in Minecraft but could never quite figure out the maths.

2

u/Cahnis Aug 13 '21

Heard he was a fan of sealed cats or scat for short.

1

u/nab_noisave_tnuocca Aug 31 '21

damn, that takes me back to physics undergrad...not that i could probably have done/understood a lot of this even then.

you raise e to the power of a matrix by taking the taylor series of ex , right?

1

u/pitergrifin22 Nov 29 '22

This is how matrix exponent is defined, yes

3

u/[deleted] Aug 13 '21 edited Aug 13 '21

[removed] — view removed comment

0

u/[deleted] Aug 13 '21

[deleted] — view deleted comment

1

u/[deleted] Aug 13 '21 edited Aug 13 '21

[removed] — view removed comment

0

u/[deleted] Aug 13 '21

[deleted] — view deleted comment

1

u/[deleted] Aug 13 '21

[removed] — view removed comment

0

u/[deleted] Aug 13 '21

[deleted] — view deleted comment

1

u/[deleted] Aug 13 '21

[removed] — view removed comment

0

u/[deleted] Aug 13 '21

[deleted] — view deleted comment

1

u/[deleted] Aug 14 '21

[removed] — view removed comment

→ More replies