Advanced Computing Platform for Theoretical Physics


Commit 4ff4842c authored by Lei Wang's avatar Lei Wang
Browse files


parent f2593182
......@@ -62,7 +62,7 @@ if __name__=='__main__':
lnT = contraction(T1, D**2*d, Dcut, Niter, A1, lanczos_steps=args.lanczos_steps)
lnZ = contraction(T2, D**2, Dcut, Niter, A2, lanczos_steps=args.lanczos_steps)
loss = (-lnT1 + lnT2) # loss = -lnZ of Ising
loss = (-lnT + lnZ) # loss = -lnZ of Ising
print (' contraction done {:.3f}s'.format(time.time()-t0))
print (' total error', loss.item())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment