Switching and control of electric field configurations along multi-quantum well structures