Multiple sources I have used have said that a quantum state vector $|x\rangle$ can be taken to be or approximated to be:
$$|ψ\rangle = \mathrm e^{-\omega x^2/2}$$
Where $\omega$ is the angular freequency. I would just like an explanation for why this is and how it came about.
Source: https://en.wikipedia.org/wiki/Quantum_harmonic_oscillator
The first section it's defining the wavefunction ψ(x), and it gives an equation with reference Hermite polynomials and spectral method etc... Assuming a mass, m, of 1 and by temporarily removing the reduced-Planck constant we take the middle term which was, according to Wikipedia: $$|ψ\rangle = \mathrm e^{-\omega mx^2/2ħ }$$Under the new conditions to be as stated before: $$|ψ\rangle = \mathrm e^{-\omega x^2/2}$$