  We compute ground state fidelity of the one-dimensional Bose-Hubbard model at
unit filling factor. To this aim, we apply the DMRG algorithm to systems with
open and periodic boundary conditions. We find that fidelity differs
significantly in the two cases and study its scaling properties in the quantum
critical regime.
