First of all, Swedenborg would say that it is currently a flawed concept issuing from those working in a purely materialistic/scientific arena and that their ideas about the universe are now backing them into a wall.
Quantum foam is a name given to describe a state of indeterminacy and sphere of weirdness found operating deep in nature’s smallest processes. Swedenborg—two hundred years before the formation of quantum physics—also believed in processes that were indeterminate. But he was not stymied by the classical concepts of waves and particles or whether these processes were real or potential (probability distributions for possible outcomes of measurement). He believed that matter would have to change its (classical) structure in order to take such “cloudy” trajectories, and created a rational model of how such changes are to be geometrically understood.
Swedenborg’s idea of ontological reality embraced different and distinct levels of structure—the deeper you go into nature, the less physical a unit of reality became and the more intelligent it became. This represents a discontinuous change to a more abstract outcome. He described this direction of abstraction in nature as action (with its associative unit) lawfully stripping itself, more and more, of its physical constraints (and laws).
Finally, you ended up with activity and structure so complex and abstracted from the physical arena of spacetime, that they became non-local, non-material and spiritual processes (living forms of intelligence in action).
So, if Swedenborg was right, the future of science will not only involve corrections but also lead us to theological concepts and God!
I have offered some further explanations of this “new and improved” science in my award-winning book, Proving God.