Download Mathematica notebook · Manual, chapter 8
Start a fresh Mathematica kernel with SNEG installed. Evaluate the cells in order.
Needs["sneg`"]
Su-Schrieffer-Heeger chain. The intracell hopping and the intercell hopping give the off-diagonal Bloch matrix with , , and the bands :
snegspinlessfermionoperators[f, fk];
snegrealconstants[v, w];
sneglatticeindexes[{R}, Ns];
snegmomentumindexes[{k}, Ns];
Hssh = fourier[sum[v hop[f[R, "A"], f[R, "B"]] + w hop[f[R + 1, "A"], f[R, "B"]], {R}], f -> fk, R -> k];
h = blochhamiltonian[Hssh, {fk["A"], fk["B"]}, k]
![{{0,v+w e^(I -k\[CenterDot]1)},{v+w e^(I k\[CenterDot]1),0}}](output-1.png)
Simplify[Eigenvalues[ExpToTrig[blochphaseexp[h]]]]
![{-Sqrt[v^2+w^2+2 v w Cos[k]],Sqrt[v^2+w^2+2 v w Cos[k]]}](output-2.png)