calculate_static_hamiltonian

Model.calculate_static_hamiltonian()

Calculate the static part of the Hamiltonian of the model and store it in static_hamiltonian. It corresponds to sum of the Zeeman-terms, zero-field splitting terms and intercation terms:

\[H_\text{static} = \mathbf{B}_\text{static}\sum_{i\in\text{spins}}\gamma_i\mathbf{S}_i + \sum_{i\in\text{spins}} D_i S_{z,i}^{2} + \sum_{i,j\in\text{spins}}{\mathbf{S}_{i}\mathbf{A}\mathbf{S}_{j}}.\]

By calling the function, the tensor products of the spin operators are calculated, which fix the dimensionality of the model. After calling the function, adding further components is not allowed. But reseting or adding pulses to a specific driving_field is possible, as well as setting the strengths of the local quasistatic noises of the spins. The eigenenergies and eigenstates of the model are calculated here.