  We demonstrate that networks of locally connected processing units with a
primitive learning capability exhibit behavior that is usually only attributed
to quantum systems. We describe networks that simulate single-photon
beam-splitter and Mach-Zehnder interferometer experiments on a causal,
event-by-event basis and demonstrate that the simulation results are in
excellent agreement with quantum theory. We also show that this approach can be
generalized to simulate universal quantum computers.
