Computer simulation of a 1d quantum ground state