A topological interpretation of stochastic quantization