But when I use different state as initial state, I get different ground state. I think the ground state of a Hamiltonian should be independent of initial state.
How to solve this problem?
It’s unfortunate that DMRG results can sometimes depend on the initial state that you use, but it is just a fact about how DMRG works. It is a kind of variational method, so it can become ‘stuck’ in a local optimum just like with other kinds of variational methods.
The main way to get results which are not dependent too much on the initial state are:
choose a different initial state which is closer to the ground state, meaning closer either in overlap or having more similar properties to the ground state
use additional techniques within DMRG to help it to converge. A key one is the “noise term” which can greatly help with DMRG convergence