fastdla.generators.tfim_hva.tfim_1d_hva_generators

fastdla.generators.tfim_hva.tfim_1d_hva_generators(num_spins, boundary_condition='open')

Return the generators of the transverse-field Ising model HVA.

The generators are defined as

\[\mathcal{G}_{\mathrm{TFIM}} = \left\{ \sum_{n=0}^{N_f} -i Z_n Z_{n+1}, \sum_{n=0}^{N-1} -i X_n \right\}\]

with \(N_f=N-2 (N-1)\) for the open (periodic) boundary conditions (identifying \(Z_N=Z_0\) for the latter).

Parameters:
  • num_spins (int) – Number of spins in the 1D chain.

  • boundary_condition (str) – ‘periodic’ or ‘open’.

Return type:

SparsePauliSumArray

Returns:

Two generators of the HVA.