Cytnx-dev / Cytnx

Project Cytnx, A Cross-section of Python & C++,Tensor network library
Apache License 2.0
32 stars 13 forks source link

Quantum number related methods for symmetric UniTensor #425

Open pcchen opened 2 months ago

pcchen commented 2 months ago

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 methods to a symmetric UniTensor, I always get some error.

# H_sym.getTotalQnums()
# H_sym.get_blocks_qnums()
j9263178 commented 1 month ago

I think this is a bug related to the pybind part, will try to fix soon.