Variational study of the bound states in the functional Schrödinger picture