In quantum mechanics, wave functions describing particles are complex-valued functions of real space and time variables. The set of all wavefunctions for a given system is an infinite-dimensional complex Hilbert space.