fastdla.generators.heisenberg_hva.heisenberg_1d_hva_generators
- fastdla.generators.heisenberg_hva.heisenberg_1d_hva_generators(num_spins, boundary_condition='periodic')
Return the generators of 1D Heisenberg model HVA.
The generators are defined as
\[\mathcal{G} = \left\{ \sum_{n} X_n X_{n+1}, \sum_{n} Y_n Y_{n+1}, \sum_{n} Z_n Z_{n+1} \right\}.\]The summation is from \(n=0\) to \(N-1\) for the periodic boundary condition (identifying \(X_N, Y_N, Z_N\) with \(X_0, Y_0, Z_0\)), and to \(N-2\) for the open boundary condition.
- Parameters:
num_spins (
int) – Number of spins in the 1D chain.boundary_condition (
str) – ‘periodic’ or ‘open’.
- Return type:
- Returns:
Three generators of the HVA.