Valleys in quantum mechanics