Oh no, you really don't want to go there. Or at least not before finishing a master's degree in Theoretical Chemistry or Particle Physics or the like. "No matter how complicated" would include the generation of a generalized wave function including the core and all electrons for all elements...