You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, when running the following code in Julia:
using ITensors, ITensorMPS, MKL
N = 12
g = 1.05
sites = siteinds("S=1/2", N)
os = OpSum()
for j=1:N
os += -4,"Sz",j,"Sz",j%N+1
os += 2*g,"Sx",j;
end
H = MPO(os, sites)
ITensors.disable_warn_order()
H_full = contract(H);
evt, Vt = eigen(H_full; ishermitian=true);
The program will give the wrong decomposition result, and norm(H_full-Vt’evtVt) !≈0.
I repeated the above error in computers using AMD 7840hs and 5900x.
After I convert the ITensor to a Julia Matrix, and try calling LinearAlgebra.eigen directly on that Julia Matrix. The result is still wrong.
The text was updated successfully, but these errors were encountered:
Try disabling MKL threading and see if that is better. Not sure what we can do about MKL doing things incorrectly. If there is a minimum reproducer, we can send it to Intel.
As the title says, when running the following code in Julia:
using ITensors, ITensorMPS, MKL
N = 12
g = 1.05
sites = siteinds("S=1/2", N)
os = OpSum()
for j=1:N
os += -4,"Sz",j,"Sz",j%N+1
os += 2*g,"Sx",j;
end
H = MPO(os, sites)
ITensors.disable_warn_order()
H_full = contract(H);
evt, Vt = eigen(H_full; ishermitian=true);
The program will give the wrong decomposition result, and norm(H_full-Vt’evtVt) !≈0.
I repeated the above error in computers using AMD 7840hs and 5900x.
After I convert the ITensor to a Julia Matrix, and try calling LinearAlgebra.eigen directly on that Julia Matrix. The result is still wrong.
The text was updated successfully, but these errors were encountered: