Quantum mechanics is not at all related to Buddhism. The only thing that makes some people connect the two is that they are both strange and mysterious.