The quantum defect of a Laser is the energy lost (not turned into photons at the lasing wavelength) when electrons in the Gain Medium transition from an excited to a non-excited state.
The quantum defect of a Rydberg Atom is a correction applied to the equations governing Rydberg atom behavior to reflect the fact that the inner electrons do not entirely screen their associated charge in the nucleus.