Search found 2 matches
- 26 Jun 2025, 16:01
- Forum: HowTos and FAQ for TeNPy
- Topic: Random truncation of MPS
- Replies: 1
- Views: 166
Random truncation of MPS
Hi Tenpy forum, I have been trying to implement a random truncation scheme for MPS where we keep Schmidt values with a certain probability proportionate to the Schmidt value itself. Here the code I wrote for it: def truncate_random(S, options,seed=23): """Truncate Schmidt values by ra...
- 08 Mar 2024, 14:10
- Forum: HowTos and FAQ for TeNPy
- Topic: Compressing an MPO
- Replies: 1
- Views: 18801
Compressing an MPO
Hi Tenpy community,
Is there an easy way to compress an MPO? Something like mps.compress_svd(trunc_params)
Thank you for your help!
Is there an easy way to compress an MPO? Something like mps.compress_svd(trunc_params)
Thank you for your help!