In this study, we have calculated the subband energy level, potential profile, and the corresponding wavefunction and chemical potential for different temperatures and donor concentrations in a spherical quantum dot self-consistently. We have also investigated the effect of exchange-correlation potential on the energy levels. In addition, we have checked the applicability of quantum genetic algorithm to a realistic self-consistent quantum dot problem. In all computations, the penetration of wavefunction to the barrier region is taken into account. (c) 2005 Elsevier B.V. All rights reserved.