The "God does not play dice" comment re. quantum mechanics was not an admission that he believed there was a deity involved - he was just being poetic* and it was taken out of context.
*And there, of course, is the problem, because no one expects physicists/mathematicians/patent office clerks to be poetic...
(, Thu 1 May 2008, 11:24, archived)
He obviously didn't literally write god into his equations, because that would be mathematically bizaare. I think this was just a short time before he died, so he obviously didn't finish it.
(, Thu 1 May 2008, 11:31, archived)