The Ising Model
A useful example is the application of to the 1D ferromagnetic/antiferromagnetic Ising model in both transverse and longitudinal fields, which we discuss here. It is a good idea to first understand the 1D ferromagnetic Ising model and the interactions that take place between the spins. The Hamiltonian for the Ising model is defined as:
where is the longitudinal field and is the transverse field, and are the Pauli spin matrices acting on site . By initially taking and the first term as positive, we can first consider the ferromagnetic transverse Ising model:
It is well-known that this Hamiltonian is non-interacting because it can be transformed into a free fermion model by performing the Jordan-Wigner transformation. This yields a model with free fermions and the ground state energy
despite the fact the original spin model naively appeared to be interacting. Thus, the Ising model is a good benchmark for the calculation of interaction distance in the spin model, as we know we should be getting the result .
In a free system, the discrete energy levels are constructed as all possible sums of the single particle energies:
Where is the occupation of site in the state , is the single body energy at site k and is overall normalisation which fixes the trace of the reduced density matrix to be 1.
For this reason, it is clear that the energy levels should be symmetric about the mean value of all levels (as plotted above). Interactions introduce deviations from this symmetry.
Computing the Entanglement Spectrum
To confirm the predicted result, we now go through the process of calculating for the ground state of the initial spin Hamiltonian.
To proceed, we take a system of a certain size and calculate the Hamiltonian matrix for it. For this example, we shall consider a system where . We label the states such that represents spin-up and represents spin-down. Then for a system containing 6 spins, the basis states are denoted such as , where this state represents all sites in spin-down, except for the last which is spin-up.
We then act the Hamiltonian according to its original spin form on all possible states in order to construct a x matrix containing the prefactors determined by the Hamiltonian:
By finding the eigenstates of the Hamiltonian, we can then determine the groundstate as the one with the smallest corresponding energy eigenvalue.
As explained here, an important step in calculating is taking the partial trace of the groundstate when divided into two subsystems. We use the convention of a symmetric bipartition of the system, in this case splitting it into two subsystems of spins. Taking this partial trace gives us a matrix, , the reduced density matrix. It is customary to normalise the reduced density such that its trace .
The final step before calculating is to obtain the entanglement spectrum. This is defined as the set of eigenvalues of the reduced density matrix, . Since has a trace of 1, it is defined as the probability entanglement spectrum. We can also convert it to an energy entanglement spectrum by taking the negative logarithm of each of the values. This will become important later when we go to calculate using the esfactor
repository.
Calculation of
An example entanglement spectrum for the 1D transverse Ising model is given below, for a system of 6 spins that is bipartitioned with open boundary conditions:
As mentioned previously, it is easy to tell that this spectrum is free by looking at the plot and seeing that the energy levels are symmetric about the mean. We use this entanglement spectrum as the argument to the esfactor.optimise.minimise(...)
function, which will calculate and the single body energies of the system. The results are output as follows:
{ 'N': (100, 23570),
'T': 14.219000101089478,
'ansatz': 'FermionAnsatz',
'converged': True,
'cost': 1.1464786792656745e-16,
'ftol': 1e-06,
'hopping': True,
'm_k': array([ 2.19214288, 8.51959828, 18.19415824]),
'method': 'Nelder-Mead',
'normed': True,
'qm': None,
'qz': None,
'xtol': None,
'z': 0.10606936111744662 }
The important parts of the output are highlighted, namely the cost
and m_k
. These are the value of and the single body entanglement energies, respectively. As expected, the value of is zero within machine precision. Moreover, we can use the single body energies to construct the entanglement spectrum of the closest free system; if this entanglement system is close to that of the Ising entanglement spectrum, it is further proof that the system can be modelled entirely as a free system. This is easily verified:
As can be seen, there is excellent agreement between the two spectra, which confirms that the ferromagnetic transverse Ising system can indeed be modelled by free fermions.
Now that we have demonstrated that is able to identify a free state even in the "wrong" basis, we can map out the phase diagram as a function of two parameters of the Ising model, the longitudinal and transverse fields, and .
In the above figure (taken from the first paper), figure (a) is the phase diagram for the ferromagnetic Ising model, while (b) shows the same for the antiferromagnetic Ising model. In (a), the point is what was calculated in the above example. As expected, the colour map shows the entire line is completely free with . A surprising aspect of this phase diagram is that, apart from the close vicinity of the critical point or critical line (red dot and red line), the system is nearly free otherwise, as evidenced by the light coloured areas in the phase diagram. We have also computed the optimal free model throughout the phase diagram, as explained here.