In this paper we prove a path integral representation in configuration space for the solution of a stochastic Schrödinger equation driven by a continuous semimartingale. We follow the approach of path integration established by Itô Albeverio and Høegh-Krohn. The equation we consider is the classical Schrödinger equation plus the stochastic term K(t, x)Ψt(x) o dMt, where Mt is a continuous semimartingale. As an application of our result we solve the equation for a stochastic quantum harmonic oscillator. We solve the path integral representation twice, first by discretising the path integral and also by a change of variable. We finally give the solution to the corresponding stochastic heat equation.
We propose stochastic ray tracing for laser beam propagation in Fresnel diffraction to find the duality between wave and ray representations. We transform from the Maxwell equations to the Schrödinger equation for a monochromatic laser beam in the slowly varying envelope approximation. The stochastic ray tracing method interprets this Schrödinger equation as a stochastic process, of an analogy of Nelson's stochastic mechanics. It can illustrate the stochastic paths and the wavefront of an optical beam. This ray tracing method includes Fresnel diffraction effects naturally. We show its general theoretical construction and numerical tests for a Gaussian laser beam with diffraction, that stochasticity realizes the beam waist around the Rayleigh range.