  The optimal control of two-level systems by time-dependent laser fields is
studied using a variational theory. We obtain, for the first time, general
analytical expressions for the optimal pulse shapes leading to global
maximization or minimization of different physical quantities. We present
solutions which reproduce and improve previous numerical results.
