A second-quantization framework for the unified treatment of relativistic and nonrelativistic molecular perturbations by response theory.