Pochung Chen
Pochung Chen
# Non-Symmetric basis, Direct construction of non-symmetri T tensor ```` import numpy as np import cytnx 𝛽 = 1 W = np.array([[np.exp(+𝛽),np.exp(-𝛽)], [np.exp(-𝛽),np.exp(+𝛽)]]) M = np.array([[+np.sqrt(np.cosh(𝛽)), +np.sqrt(np.sinh(𝛽))], [+np.sqrt(np.cosh(𝛽)), -np.sqrt(np.sinh(𝛽))]]) #...
# Non-Symmetric basis, Network construction of non-symmetric T tensor ```` import numpy as np import cytnx 𝛽 = 1 M = np.array([[+np.sqrt(np.cosh(𝛽)), +np.sqrt(np.sinh(𝛽))], [+np.sqrt(np.cosh(𝛽)), -np.sqrt(np.sinh(𝛽))]]) M = cytnx.UniTensor(cytnx.from_numpy(M), rowrank=1) delta...
# Symmetric basis, Network construction of non-symmetric T tensor ```` import numpy as np import cytnx 𝛽 = 1 bd = cytnx.Bond(2) delta_sym = cytnx.UniTensor([bd, bd, bd, bd],rowrank=2) delta_sym.set_name('delta_sym') delta_sym.set_labels(['u','l','r','d'])...
# Symmetric basis, Network construction of Symmetric T tensor ```` import numpy as np import cytnx 𝛽 = 1 bd_u = cytnx.Bond(cytnx.BD_IN, [cytnx.Qs(0)>>1, cytnx.Qs(1)>>1],[cytnx.Symmetry.Zn(2)]) bd_l = cytnx.Bond(cytnx.BD_IN, [cytnx.Qs(0)>>1, cytnx.Qs(1)>>1],[cytnx.Symmetry.Zn(2)]) bd_r...
Yes, I am aware of this issue. (See also https://github.com/Cytnx-dev/Cytnx/issues/473#issuecomment-2351646127) I don't think there is a 'canonical' version of FindLAPACKE. One simple way (as I see in some of the...
Somehow I never compile successfully if I only install reference BLAS/LAPACK.....
What is the reason that it will be easier to use than LAPACKE?
For Fig.12 (of SciPost paper) ````python import cytnx import numpy as np net = cytnx.Network() net.FromString(["c0: t0-c0, t3-c0",\ "c1: t1-c1, t0-c1",\ "c2: t2-c2, t1-c2",\ "c3: t3-c3, t2-c3",\ "t0: t0-c1, w-t0,...
I find something strange. If I modify the bond dimension of c0's t3-c0 bond, but DO NOT modify the bond dimension of t0's t3-c0 bond, I still can get a...
I agree the general direction of the suggestion. Can someone comments on the performance? For example, if we drop CUTT, do we lose any performance?