I try to calculate the correlation function $<\sigma_i \sigma_j>$ with the method of transfer matrices. I do understand how to use this method with PBC.
But how can I do it without PBC?
My hamiltonian looks like this where $\sigma_i = \pm 1$, $i \in [1,2,...,N]$ and we only look at the nearest neighbour. So $\sum_{ij} \sigma_i \sigma_j = \sigma_1 \sigma_2 + \sigma_2 \sigma_3 + ... + \sigma_{N-1} \sigma_{N}$
$$ H = -J \sum_{ij} \sigma_i \sigma_j - \gamma B \sum_{i=1}^N \sigma_i$$ So $$ \beta H = -\beta J \sum_{ij} \sigma_i \sigma_j - \beta \gamma \sum_i \sigma_i \overset{!}{=} \sum_i u(\sigma_i, \sigma_{i+1})$$
I can't figure out how $u(\sigma, \sigma')$ has to look without PBC. Has anyone a hint?
Edit: I made the mistake that I thought I only can use one transfer matrix, so $Z = Tr(T^N)$. This is not true. So I split the hamiltonian in
$$ H = \sum_{i=1}^{N-1} \left( - J \sigma_i\sigma_{i+1} - \gamma B (\sigma_i + \sigma_{i+1} \right) - \frac{\gamma B}{2} \left(\sigma_1 + \sigma_N\right)$$
My partition function
$$Z = Tr\left(\exp{(-\beta H)}\right) = Tr( T_{\sigma_i \sigma_{i+1}} \cdot \tilde{T}_{\sigma_1, \sigma_N}) $$ With $T_{\sigma \sigma'} = \exp{\left(\beta J \sigma \sigma' + \beta \gamma B (\sigma + \sigma')\right)}$ and $\tilde{T}_{\sigma_1, \sigma_N} = \exp{\left(\frac{\gamma B}{2} (\sigma_1 + \sigma_N)\right)}$
I know that $\sigma_i = \pm 1$, so I can calculate the matrix for both. As far as I know this leads to $$Z = Tr(T^{N-1} \cdot T_{2})$$