# DMRG not converging for FHM in SC phase

**URL:** <https://itensor.discourse.group/t/dmrg-not-converging-for-fhm-in-sc-phase/2417>\
**Category:** DMRG and Numerical Methods\
**Tags:** julia, dmrg, mps\
**Created:** [June 10, 2025, 3:41am UTC](https://itensor.discourse.group/t/dmrg-not-converging-for-fhm-in-sc-phase/2417 "2025-06-10T03:41:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmargasak](https://avatars.discourse-cdn.com/v4/letter/h/b2d939/32.png) [@hmargasak](https://itensor.discourse.group/u/hmargasak)\
**Post date:** [June 10, 2025, 3:41am UTC](https://itensor.discourse.group/t/dmrg-not-converging-for-fhm-in-sc-phase/2417/1 "2025-06-10T03:41:07Z")

</div>

ITensor team,

I am trying to measure various observables of the extended fermi hubbard model’s ground state in the singlet superconducting phase. I’m having a simple but puzzling problem: DMRG is not converging, and the mps bond dimension is plummeting to 1 after 4 or 5 sweeps. A minimal code example:

```auto
using ITensors, ITensorMPS

L = 20
U = -2.0
V = -0.3
t = 1.0

matState = [isodd(i) ? "Up" : "Dn" for i in 1:L]
s = [siteind("Electron", i) for i in 1:L]
psiInit = MPS(s, matState)

function build_hamiltonian(s, L, t, U, V)
    os = OpSum()
    for j = 1:L-1
        os -= t, "c†↑", j, "c↑", j+1
        os -= t, "c†↑", j+1, "c↑", j
        os -= t, "c†↓", j, "c↓", j+1
        os -= t, "c†↓", j+1, "c↓", j
    end
    for j = 1:L
        os += U, "n↑", j, "n↓", j
    end
    for j = 1:L-1
        os += V, "ntot", j, "ntot", j+1
    end
    return MPO(os, s)
end

H = build_hamiltonian(s, L, t, U, V)

ctf = [1e-16]
maxdim = [8,20,50,100,200,400,400,800]
etol = 1e-14

energy, psiMPS = dmrg(H, psiInit;
            maxdim = maxdim,
            cutoff = ctf,
            nsweeps = 500,
)

```

Among other things, I’ve tried the previously recommended slowly-increasing sweep routine

```auto
maxdim = [2,2,2,2,2,8,8,8,8,8,20,20,20,20,20,50,50,50,50,50,100,100,200,200,400]

```

introducing noise, a custom observer struct, increasing the krylov dimension, and various initial states. The exact same code also converges nicely for other regions of the same phase diagram.

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![ryanlevy](https://yyz2.discourse-cdn.com/free1/user_avatar/itensor.discourse.group/ryanlevy/32/150_2.png) [@ryanlevy](https://itensor.discourse.group/u/ryanlevy)\
**Post date:** [June 10, 2025, 11:13pm UTC](https://itensor.discourse.group/t/dmrg-not-converging-for-fhm-in-sc-phase/2417/2 "2025-06-10T23:13:33Z")

</div>

It seems the lowest state is just double occupation everywhere (the “BEC” phase). Did you check that this isn’t the correct solution for a small system with ED?

---

<div class="post-metadata">

**Author:** ![miles](https://yyz2.discourse-cdn.com/free1/user_avatar/itensor.discourse.group/miles/32/6_2.png) [@miles](https://itensor.discourse.group/u/miles)\
**Post date:** [June 10, 2025, 11:30pm UTC](https://itensor.discourse.group/t/dmrg-not-converging-for-fhm-in-sc-phase/2417/3 "2025-06-10T23:30:51Z")

</div>

I second Ryan’s intuition. What if the attraction is just making the particles doubly occupy each site and form a product state?
