Skip to content
Snippets Groups Projects
Commit 8d46bb0a authored by Donjan Rodic's avatar Donjan Rodic
Browse files

improved wording

parent 167abb24
No related branches found
No related tags found
No related merge requests found
%% Cell type:markdown id: tags:
### Exact Diagonalization
A C++ code for exact diagonalization is attached to this solution sheet, and can be compiled by following the instructions provided with the skeleton code. Numeric results are available in the openchain.dat and periodicchain.dat for an open and periodic boundary conditions, respectively. The figures below can be reproduced with the `plot.py` script.
A C++ code for exact diagonalizationcan be found in the `heised_cpp` directory, and can be compiled by following the instructions provided with the skeleton code. Numeric results are available in the `openchain.dat` and `periodicchain.dat` for an open and periodic boundary conditions, respectively. The figures below can be reproduced with the `plot.py` script.
%% Cell type:markdown id: tags:
![Figure 1](heised_cpp/groundstate_energy.png)
<center>Figure 1: Ground state energy converging to value of −0.44325 for the thermodynamic limit.</center>
%% Cell type:code id: tags:
``` python
from IPython.display import Image
from IPython.display import display
display(Image(url="exchange_energies_L6.png", width=300), Image(url="exchange_energies_L7.png", width=300))
```
%% Output
%% Cell type:markdown id: tags:
Figure 2: Strength of the local contribution of each bond to the Heisenberg Hamiltonian
for even and odd open chains.
%% Cell type:markdown id: tags:
In Figure 1 we observe the oscillation of the ground state energy between even and odd number of sites in both lattice topologies. In the case of periodic boundary conditions this is easily understood by the appearance of a frustrated spin in an odd chain, i.e. one spin can align in order to favor the bond with the previous spin, or with the next spin, but not both at the same time.
For an open chain there is no apparent frustration, but the increase in energy per site can still be understood from the local contributions to the Heisenberg Hamiltonian as shown in Figure 2. The major contribution to the ground state comes from the dimerized state, i.e. a chain of singlets: this is only possible in an even chain (see left panel). In the odd chain (right panel) the system tries to build singlets from both boundaries, which is again giving rise to frustration in the center where the two incompatible dimer patterns meet. In the thermodynamic limit L → ∞ the difference between even and odd length vanishes.
%% Cell type:markdown id: tags:
![Figure 1](heised_cpp/energy_gap.png)
<center>Figure 3: Extrapolation of the energy gap. Extrapolation is performed only on the last
four lattice sizes.</center>
By targeting the two lowest eigenenergies in the Lanczos solver (or a similar iterative
eigensolver) for each quantum number sector we identify the smallest excitation from the
ground state. Figure 3 shows how the energy gap nicely extrapolates to zero ∼ 1/L in
the thermodynamic limit.
%% Cell type:code id: tags:
``` python
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment