1D Chain Example¶
Directory
This example demonstrates how to run QS³‑ED2 for a periodic one‑dimensional spin system.
The system consists of
spin‑1/2 sites arranged on a periodic chain.
The ground state is computed using the Lanczos method, and the program evaluates
- ground‑state energy
- local magnetization
- two‑point spin correlations
Note
The numerical values shown in this document are taken from the reference output stored in
examples/ref_dat/chain/output.dat.
These files are provided as reference data for documentation and regression testing. The exact numerical values may vary slightly depending on the compilation environment and hardware.
1. Introduction¶
This example illustrates a basic calculation with QS³‑ED2 for a periodic one‑dimensional quantum spin system.
The workflow demonstrates
- construction of the Hamiltonian
- symmetry reduction using lattice translations
- momentum‑sector selection
- Lanczos diagonalization
- evaluation of physical observables.
The model includes
- anisotropic exchange (XYZ)
- Dzyaloshinskii–Moriya interaction
- symmetric anisotropic \(\Gamma\) interaction
- uniform magnetic field.
2. Model Hamiltonian¶
The Hamiltonian is
where
The symmetric anisotropic interaction is
3. Coupling Parameters¶
In this example the couplings are uniform.
Magnetic field
Exchange parameters
Dzyaloshinskii–Moriya interaction
\(\Gamma\) interaction
4. Lattice Structure¶
System parameters from output.dat
Thus the system is a periodic one‑dimensional chain.
Nearest‑neighbor bonds
5. Symmetry Operations¶
Translational symmetry is defined by
The translation operator is
This corresponds to the cyclic shift
This translation generates the cyclic symmetry group of the periodic chain.
6. Momentum (Wavevector) Sector¶
QS³‑ED2 allows diagonalization within a fixed crystal momentum sector defined with respect to the translation symmetry.
The input parameters
select the momentum sector corresponding to the eigenvalue
For a chain of length
the allowed wavevectors are
The parameter
therefore selects
Thus the calculation is performed in the zero‑momentum sector, i.e.
This sector contains the translationally invariant states and typically hosts the ground state for many spin models.
7. Local Hilbert Space¶
Each site hosts a spin
so the local Hilbert‑space dimension is
8. NOD Sector Restriction¶
QS³‑ED2 uses the integer
For spin‑1/2
The global counter
equals the number of down spins.
Input parameters
restrict
9. Hilbert‑space Dimension¶
From the program output
THS: dimension before symmetry reductionTHS(k): representative states after symmetry and momentum reduction
10. Lanczos Solver¶
Solver parameters
Total Lanczos iterations
11. Ground‑state Energy¶
The converged ground‑state energy is
12. Eigenvector Accuracy¶
Verification printed by the program
Residual
This indicates convergence close to machine precision.
13. Observables¶
Enabled in the input
Generated files
| file | description |
|---|---|
local_mag.dat |
local magnetization |
two_body_cf_xyz.dat |
full spin correlations |
two_body_cf_z+-.dat |
ladder‑operator correlations |
Correlation pairs are defined in
Example
14. Runtime¶
Measured runtime
The runtime depends mainly on
- Hilbert‑space dimension
- number of Lanczos iterations
- BLAS performance.
15. Summary¶
This example demonstrates a QS³‑ED2 calculation for a periodic spin chain.
Key features illustrated here include
- construction of anisotropic spin Hamiltonians
- translational symmetry reduction
- momentum‑sector selection
- Lanczos ground‑state computation
- evaluation of magnetization and correlation functions.