A quasidegenerate formulation of the second order n-electron valence state perturbation theory approach | Synapse