Gaussian representation of extended quantum states