Chan-Sing-Hong

Results 7 issues of Chan-Sing-Hong

I have encountered a problem when setting the optimized network contraction order using Cytnx version 0.9.7. The attachment is a demo code demonstrating the issue: [show_problem.zip](https://github.com/user-attachments/files/15525686/show_problem.zip) The T tensor and...

bug

In Cytnx v1.0.0, the method get_blocks() is only available for `SparseUniTensor`. Attempting to use it on a `DenseUniTensor` results in the following error: ```` RuntimeError: # Cytnx error occur at...

I encountered two errors while using the Cytnx CUDA version 1.0.0: 1. RegularNetwork::Launch Error ```` RuntimeError: # Cytnx error occur at virtual cytnx::UniTensor cytnx::RegularNetwork::Launch() # error: [ERROR][Launch][RegularNetwork] Error,Sparse or Block...

I suggest adding a sign() function to Tensor and UniTensor classes that returns a new tensor, with each element representing the sign of the corresponding element in the original tensor.

proposal

**Description** When attempting to convert a symmetric `UniTensor` into a non-symmetric `UniTensor` using `convert_from`, a fatal internal error returns, indicating that `UniTensor_base` is uninitialized. This issue appears in Cytnx v1.0.1...

**Description** Unexpected dtype are returned when performing operations involving `Float`, `ComplexFloat` Tensors and `numpy.float32`, `numpy.complex64`. **Expected Behavior** `cytnx.Type.Float` / `numpy.float32` -> `cytnx.Float` `cytnx.Type.ComplexFloat` / `numpy.float32` -> `cytnx.Type.ComplexFloat` `cytnx.Type.ComplexFloat` / `numpy.complex64`...

python binding

**Description** The attached code ([test_permute_combineBonds.zip](https://github.com/user-attachments/files/21288212/test_permute_combineBonds.zip)) demonstrates a problem when diagonalizing a cytnx.UniTensor with Z2 symmetry. Specifically, when applying `permute` followed by `combineBonds` on a symmetric tensor, the resulting eigenvalues from...

bug
Top priority