I don't understand what is the dimension of the space of the states because it looks different dependently on the base that I choose, for example:
If I use the position representation (the base are the states with a determinate position) the generic state is represented by its wave function which value can be seen as the components of the vector:
$|s⟩=\int\psi(x)|x⟩dx$
$|s⟩$ is identified by $\psi(x)$
If I use as base the eigenstates of the hamiltonian of spherically symmetric potential the generic states is represented by a discrete set of numbers.
$\psi=\sum_{nml} a_{nml} Y^{nml}$
$\psi$ is identified by the numbers $a_{nml}$
In the first case there is a non discrete set of elements to constitute the generic state in the second it's a discrete set of elements. Am i misunderstanding something?