All this deterministic / stochastic dichotomy is irrelevant in this problem.
What problem? The thread started with a reference to Einstein’s “God does not play dice” which is not a statement about theology but about philosophy of science. The question of determinism or not is a legitimate question in the philosophy of physics, i.e. in how to interpret physical theories (notably QM or the so far speculative superstring theories). There is an abundance of articles by professional physicists on the question of determinacy also on the internet.
Free will is a concept unrelated to physical theories as such, unless you assume (which I gather you don’t) the reducibility of the mind, the human consciousness, to the physical. Of course, we who believe in God don’t assume this reducibility.
Roger Penrose sees free will as the active aspect of consciousness, calling awareness the passive aspect.
The workings of the mind or consciousness is still a mystery, whether you assume its reducibility to the processes in the brain or not. Comparing it to the workings of a computer is a good metaphor, however only to a point. According to Penrose (Shadows of the Mind, OUP 1994):
Appropriate physical action of the brain evokes awareness, but this physical action cannot even be properly simulated computationally
His book is devoted to showing why “computationality” is not sufficient to explain consciousness, including free will, but in my opinion it still leaves the door open to a theistic interpretation, namely that awareness cannot be fully explained by physical, computational or any other scientific terms. By “fully explained” I mean like the movement of the planets (that Kepler needed the angels to keep them there) was fully explained by Newton.
I do not understand what you mean by “laws of the mind”? One can certainly create all sorts of “artificial environments” in our minds, even without computer programming. (By the way, science fiction spaceships do not move faster than light - that would be too absurd to depict - only make an exaggerated use of physical theories involving warped space or worm holes.)
The fact that a computer programme is not a sum of its AND- and OR-gates is a simple illustration of the fact that a properties of an emergent system are not reducible to the lower level properties of its parts.
I agree that there is a lot of scientific research into consciousness to be done, whether or not one believes that science can fully explain it. However, eferring again to Penrose, I do not think QM, hence the question of determinacy, is here completely irrelevant.