  We study the autocorrelation function of different types of eigenfunctions in
quantum mechanical systems with either chaotic or mixed classical limits. We
obtain an expansion of the autocorrelation function in terms of the correlation
length. For localized states, like bouncing ball modes or states living on
tori, a simple model using only classical input gives good agreement with the
exact result. In particular, a prediction for irregular eigenfunctions in mixed
systems is derived and tested. For chaotic systems, the expansion of the
autocorrelation function can be used to test quantum ergodicity on different
length scales.
