ITensor/library — Issue #35: Simplify diag and truncate in SVDWorker.
Author: emstoudenmire
Created: 2012-02-03 02:40:52+00:00
State: open
Labels: MPS, Redesign

The parameters controlling truncation, namely minm_, maxm_ and cut_ within SVDWorker only have indirect control on the final number of states kept through the variable docut. Also the code for computing docut is pretty compliacated. It would be good to simplify this code for readability and maintainability, and to write some tests to ensure that guarantees about minm_ etc. are being enforced.