A general multiconfiguration paired excitation self-consistent field theory (MC PE SCF)