Pochung Chen

Results 58 issues of Pochung Chen

How to get information about possible quantum number blocks and their quantum number? Now I have to print a UniTensor to see these information. Also when I try following two...

bug

There are several related issues about various tensor decompositions. I will create several issues, but I will write some general guidelines here. **Proposed guideline**: If we provide a tensor decomposition...

proposal

Some of the PR have been merged into dev-master, but not master. Please merge all approved PR into the master. For example, ED and QR decomposition for symmetric tensor is...

This might be interesting. https://arxiv.org/abs/2303.11409 Simulation of many-body systems is extremely computationally intensive, and tensor network schemes have long been used to make these tasks more tractable via approximation. Recently,...

enhancement

We need to add `get_block_unitensor()` and `get_block_unitensor_()` which return a UniTensor instead of a Tensor.

enhancement

Example code ```` UT = cytnx.UniTensor.ones([2,3,4]).set_rowrank(2) UT.print_diagram() print(UT.rowrank()) UT[:,:,2:4].print_diagram() print(UT[1,:,:].rowrank()) ----------------------- tensor Name : tensor Rank : 3 block_form : False is_diag : False on device : cytnx device: CPU...

enhancement

Currently, when the input of cytnx.linalg.Svd_truncate() is a UniTensor and return_err=True, it will return return_err as a `UniTensor`. I think we should just return return_err as a scalar.

enhancement

Many linear algebra functions support both "Tensor" and "UniTensor". Currently the documentation for "Tensor" is more complete. For example, Svd_truncate() [1/2] which take "UniTensor" as input, there is no detail...

docs

I wonder if we have a convention to use attribute or method (when both are possible). For example, in numpy one uses `array.shape`, while for UniTensor one uses `UniTensor.shape()`. Other...

question

Currently, put_block and put_block_ only accept Tensor as input. Maybe we need to also a dense UniTensor?

enhancement