There are at least two problems here: there's no Hamiltonian for one. But more serious, in the function above, obviously the limit from the right and the limit from the left at x=1/2 don't agree. the only way this could happen physically is with some kind of weird barrier at x=1/2. The basic Schrodinger Eq. only allows discontinuous solutions for disjoint regions; that is continuity within a region, but not region-to-region. This, of course, is a well known aspect of differential equations.
Physically it will take a large perturbation to shift the absolute value of by a substantial amount over a very short region of space. So, it makes sense to me to extrapolate, and suggest that an amost infinite potential change is required to make an almost discontinuous change in a wave function. That's the intuitive reason why discontinuous wave functions are troublesome, and really refer to differences between two or more disjoint regions of space.
Regards,
Reilly Atkinson