Cytnx-dev / Cytnx

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

Implement real() and imag() function for complex type UniTensor like complex Tensor. #494

Open hunghaoti opened 1 month ago

hunghaoti commented 1 month ago

We have member function real() and imag() for Tensor object but not for UniTensor. It will be convenient for user if these two function can also be implemented for UniTensor object.