## A simple way to test for collinearity in spin symmetry broken wave functions: General theory and application to generalized Hartree Fock

We introduce a necessary and sufficient condition for an arbitrary wavefunction to be collinear, i.e., its spin is quantized along some axis. It may be used to obtain a cheap and simple computational procedure to test for collinearity in electronic structure theory calculations. We adapt the procedure for Generalized Hartree Fock (GHF), and use it to study two dissociation pathways in CO{sub 2}. For these dissociation processes, the GHF wave functions transform from low-spin Unrestricted Hartree Fock (UHF) type states to noncollinear GHF states and on to high-spin UHF type states, phenomena that are succinctly illustrated by the constituents ofmore »