Generalization of the Kohn–Sham equations with constrained electron density formalism and its time‐dependent response theory formulation | Synapse