For example, we have this two potencial wells approaching, the electron is confined in one.
the final appearance will be like this:
THEN, if we know a wave packet is formed by many frequencies, but in a potencial well there are just few frequencies allowed, energy levels, so let's say, one...