========== amplitudes ========== Computes the amplitudes from a wave function. use the QP_STATE environment variable to select an excited state