bsc-quantic / Qrochet.jl

Quantum Tensor Networks
https://bsc-quantic.github.io/Qrochet.jl/
Apache License 2.0
1 stars 0 forks source link

Add truncate function for tensors in a `Chain` #13

Closed jofrevalles closed 7 months ago

jofrevalles commented 7 months ago

Summary

Add a truncate function that truncates a tensor in a Chain. This function should look into the state, check for singular values, and truncate accordingly.

mofeing commented 7 months ago

Just a note: This truncate function implements local truncation of a virtual index. Whether that local truncation is globally optimal depends on the canonization.

jofrevalles commented 7 months ago

Closing this as it was implemented in PR #16