In this paper, we analyse the stochastic collocation method for a linear Schrodinger equation with random inputs, where the randomness appears in the potential and initial data and is assumed to be dependent on a random variable. We focus on the convergence rate with respect to the number of collocation points. Based on the interpolation theories, the convergence rate depends on the regularity of the solution with respect to the random variable. Hence, we investigate the dependence of the stochastic regularity of the solution on that of the random potential and initial data. We provide sufficient conditions on the random potential and initial data to ensure the smoothness of the solution and the spectral convergence. Finally, numerical results are presented to support our analysis.