  Inhomogeneous Nelson's diffusion in flat spacetime with a tensor of diffusion
can be described as a homogeneous one in a Riemannian manifold with this tensor
of diffusion as a metric tensor. The influence of matter to the energy density
of the stochastic background (vacuum) is considered. It is shown that
gravitation can be represented as inhomogeneity of the quantum diffusion, the
Einstein equations for the metrics can be derived as the equations for the
corresponding tensor of diffusion.
