I'm not sure what you are trying to accomplish, but the te assignment will result in nothing happening as you keep reassigning the signal at 2 ns. So the end result is that te stays low and never toggles.
Also according to your picture clock should start at 1 but your clock starts at 0.
given the clock you have this te will toggle the te on the first clock pulse only:
Code:
te <= '0' after ct * 0 ns, '1' after ct * 1 ns, '0' after ct * 2 ns, '0' after ct * 5 ns;
Note that each after clause has an offset of #ns that matches the number of clocks edges away the transition should occur. Though both the 0 ns and 5 ns ones are redundant as te is already 0 when they are both being assigned.