An approach to optimize a stabilization controller for an Unmanned Aerial Vehicle (UAV) is presented in this work. In order of stabilizing the altitude and the attitude of a multirotor around its hovering configuration, two controller systems based on Proportional Derivative (PD) and Proportional Integral Derivative (PID) techniques, respectively, tuned by using the Linear Quadratic Regulator (LQR) are investigated. The optimized entries of LQR scheme result from a Genetic Algorithm (GA) implementation based on the minimization of the entire system time settling. The simulations show that, in presence of impulse disturbances, both these approaches lead to the stabilization of the considered multirotor drone flight around an equilibrium configuration, as the hovering one.