I don't think there's a thread directly on point here but if so my apologies in advance. I'm an ex-computer scientist and so I thought it'd be interesting to discuss what would go into a computer simulation of the universe. More specifically, I'm wondering if the things about quantum mechanics that wierd us out - wave/particle duality, entanglement, etc. - might be explained as glitches or bugs in the simulation. Let's say we're simulating the emission of a photon and the odds of it interacting with an electron 1 meter away. Are there practical reasons we can think of to represent the path of the photon as a wavefunction rather than a random, pre-determined vector? In other words is it easier to compute a probability of a particular photon and electron interacting by using their respective wavefunctions than by deterministically tracing their paths and continuously calculating whether they'll come close enough to interact? I have to imagine the answer is yes but I wonder if anyone else has done a more rigorous analysis.