Pochung Chen

Results 58 issues of Pochung Chen

If a UniTensor has 3 blocks. `UniTensor.get_block(3)` will crash the kernel. This might be related to issue #357 .

If I do `cmake -DBUILD_DOC=ON ..`, I got something like ```` CMake Error: File /home/pcchen/Cytnx/cytnx_Doxyfile.in does not exist. ````

For `cytnx.random`, in place version works: ```` uT = cytnx.UniTensor.zeros([2,2]) cytnx.random.uniform_(uT, low=-1., high=1.) cytnx.random.normal_(uT, mean=2., std=3.) ```` But following codes will results in error ```` uTa = cytnx.random.uniform(uT, low=-1., high=1.)...

bug
Pending check/approval

In CMakeLists.txt, we should require * cuTENSOR >=2.0 * cuQuantum >=24.0 Should we drop MAGMA? and remove it from the CMakeLists.txt.

I want to discuss the possibility of using git submodule to handle external dependence. There are three main dependences * boost * pybind11 * openblas (if MKL is not used)...

It seems that if I turn cuda option on via `-DUSE_CUDA=ON`, then one automatically turns on cutensor and cuquantum. If this is the case, then maybe we don't need `-DUSE_CUTENSOR=ON`...

With this ```` -- ------------------------------------------------------------------------ -- Project Cytnx, A Cross-section of Python & C++,Tensor network library -- ------------------------------------------------------------------------ -- -- /home/pcchen/github/Cytnx/cmake/Modules -- Generator: Unix Makefiles -- Build Target: - --...

We should provide binary install for GPU version.

enhancement
gpu

Now * `Tensor.Norm()` returns a rank-0 Tensor. * `UniTensor.Norm()` returns a rank-0 UniTensor. Does it make more sense to return a number? `numpy.linalg.norm` retuns `float`, unless you use axis argument...

Help needed. I cannot figure out how to use `Bond.getDegeneracy` in python. Can some one provide an example code? * Maybe I use the wrong syntax. * Mabye the wrapping...