Compressions of AffineDecompositions can suffer from sudden increases of memory usage since all observables (i.e. MPOs) are applied simultaneously. To fix this, the observables are applied one-by-one. To that end, overlap_matrix now has a method which takes a function as the first argument, which is applied to the second provided vector.
Compressions of
AffineDecomposition
s can suffer from sudden increases of memory usage since all observables (i.e. MPOs) are applied simultaneously. To fix this, the observables are applied one-by-one. To that end,overlap_matrix
now has a method which takes a function as the first argument, which is applied to the second provided vector.