Pochung Chen
Pochung Chen
For these two methods, I always get runtime error. ```` bond1 = cytnx.Bond(cytnx.BD_IN,\ [cytnx.Qs(1)>>1, cytnx.Qs(-1)>>1,cytnx.Qs(1)>>1],[cytnx.Symmetry.U1()]) bond2 = cytnx.Bond(cytnx.BD_IN,\ [cytnx.Qs(1)>>1, cytnx.Qs(-1)>>1],[cytnx.Symmetry.U1()]) bond3 = cytnx.Bond(cytnx.BD_OUT,\ [cytnx.Qs(2)>>1, cytnx.Qs(-2)>>1, cytnx.Qs(0)>>2],\ [cytnx.Symmetry.U1()]) # Create a...
We would like to explore the possibility of using MPLAPACK as one of the backend. https://github.com/nakatamaho/mplapack
When we do eigen decompostion, the eigenvalues are returned as a diagonal UniTensor. Now if I wan to use the 0-th eigenvalue as a number. One need to use `eigvals.at([0]).value`...
In general, one has `M=VDV^{-1}`. When M is Hermitian then `V^{-1}=V^{\dagger}`. I think we should only return V, whose columns are the (right) eigenvectors. Now even for `eig`, if one...
How do I know if my cytnx is compiled with OpenMP or not?
I am trying to use .Contract and .Contracts to check the results after SVD. After the SVD, the labels in S, U, Vdag are such that they can be directly...
Suggest to support something like this: ```` UniTensor.print_block(["a","b","c"],[0,1,1]) ````
Currently, there is no label information in print_block and print_blocks. I would like to suggest to add label information. Current behaviour: ```` ======================== BLOCK [#2] |- [] : Qn index...
It seems that using list of bonds to create a UniTensor and using cytnx.tensor to create a UniTensor (with the same shape), I will get different row_ranks.
We need a consistent style when printing an object. For example `UniTensor.print_diagram()` will output ```` ----------------------- tensor Name : ```` while `UniTensor.print_blocks()` will output ```` -------- start of print ---------...