yingjerkao / uni10

Official Repo for Uni10
28 stars 9 forks source link

Higher Order Singular Value Decomposition #15

Closed Wangwei-Lan closed 8 years ago

Wangwei-Lan commented 8 years ago

Dear Uni10 Developer,

I am pretty new in using Uni10. Recently, I was trying to write a MPS, which requires svd a lot. However, UniTensor seems don't support svd but rather higher order svd. Could you please provide some examples on this function? Because HOSVD is a little bit confusing to me.

I was trying to write a right canonical MPS from a random MPS. Was that possible within the code you have now? Thanks very much.

Yours Sincerely Baicai

yingjerkao commented 8 years ago

@XiaoXiaoBaiCai

The SVD is implemented in Block and Matrix.
You need to use UniTensor.getBlock() to get the pointer and perform SVD.