I am trying to rewrite the following Hamiltonian in the matrix form, but I get different results. In this article, the Hamiltonian that represents a three-qubit Heisenberg spin chain
and its matrix form:
where
are the Pauli operators that can be calculated from the relation:
where $I$ is the 2×2 identity matrix. I wrote and used the following code:
σx = PauliMatrix[1];
σy = PauliMatrix[2];
σz = PauliMatrix[3];
σI = IdentityMatrix[2];
σ1x = KroneckerProduct[σx, σI, σI];
σ2x = KroneckerProduct[σI, σx, σI];
σ3x = KroneckerProduct[σI, σI, σx];
σ1y = KroneckerProduct[σy, σI, σI];
σ2y = KroneckerProduct[σI, σy, σI];
σ3y = KroneckerProduct[σI, σI, σy];
σ1z = KroneckerProduct[σz, σI, σI];
σ2z = KroneckerProduct[σI, σz, σI];
σ3z = KroneckerProduct[σI, σI, σz];
H = J σ1x.σ2x + J σ1y.σ2y + b σ1z + J σ2x.σ3x + J σ2y.σ3y + b σ2z +
J σ3x.σ1x + J σ3y.σ1y + b σ3z + d (σ1x.σ2y - σ1y.σ2x) +
d (σ2x.σ3y - σ2y.σ3x) + d (σ3x.σ1y - σ3y.σ1x);
MatrixForm[H]
But the matrix I got is differing from that mentioned in the article. I make sure that the relations of Pauli Matrices are correct more than once, but I don't know exactly where the error is. Is there an error in my code?