I don't know enough about quantum physics, but from what I understand, this pi seems to have arose as an artifact of the variational method used, rather than quantum mechanics itself.
https://en.wikipedia.org/wiki/Buffon%27s_needle
^1 and don't fall for phy PR