Add mps_uniform method to get expectation values of a string applied to a Schmidt vector.
Fix mps_uniform density_1s()
Add ncv parameter to expect_string_per_site().
Separate out bond dimension corrector.
Optimizations based on reusing calculated A products.
Also rewrite calc_K functions in terms of eps_...().
Significantly helps nonuniform chains.
Make expect_string_1s_density_hc() work for RCF as well as SCF. Remove eigenvalue print.
Fix D=1 case.
Fix bug with hamiltonian as function for uniform case.
Fix uniform case CG.
Rename r to g in half chain string expval function. Document option.
Counterpart to expect() changes in tdvp_gen.
First try at a DMRG-style left-right sweep optimizer. Seems to work nicely! (Debug prints present!)
Remove some debug stuff and update some more state.
Fix a bug in expect_string_1s_density_hc().
Add mps_uniform finite string expectation values.
Some comments on the DMRG-like sweep.
Minor update to sync tdvp_common.c.