# Allowed Wave Functions of System

Given a single-particle system with Hamiltonian $H$, what constraints can be put on the wave function at a particular point in time $\psi(x)$? Of course $\psi(x)$ must obey boundary conditions given by $H$. However, in situations where $H$ does not yield strict boundary conditions (e.g. the harmonic oscillator) can $\psi(x)$ be any normalised function? My intuition says no for the following reason: QM textbooks say that any valid wave function can be represented as a linear combination of the eigenstates of $H$. In the case of the harmonic oscillator, the eigenstates of $H$ are a countably infinite set. However the set of all normalised functions is uncountably infinite. It seems to me that one cannot change between one complete set of basis functions to another and reduce the "dimensionality" somehow. This makes me think that the eigenstates of $H$ are not complete, that they imply some constraints on $\psi(x)$. This is not an area of mathematics that I understand well. Can somebody help me out?

Generically, any square-integrable function is an admissible wave function, and the space of square-integrable complex functions indeed has uncountable dimension as a vector space over $\mathbb{C}$.