Block MPS Forward/Reverse Sweep
This demo isolates the one-site block-sweep primitive that sits underneath matrix-product-state algorithms. In modern MPS language, a sweep step contracts a site tensor with an incoming environment block, factorizes the result, and truncates by singular value; that local move is the core update behind DMRG-style methods and their descendants [1, 2].
The immediate target here is narrower than a full TEMPO calculation. We use an identity MPO and rank-preserving local embeddings so that the exact internal bond rank should stay fixed through both the forward and reverse passes. That makes the figure a controlled algorithmic check before reintroducing the nontrivial influence-functional MPO needed for imaginary-time TEMPO benchmarks of the Ohmic spin-boson problem [3].
The sliders vary chain length and exact block bond dimension, while the plotted traces show the kept bond dimension and per-step wall time through a complete forward/reverse sweep. In this stripped-down setting, any unexpected rank growth or loss is a bug in the sweep primitive rather than a feature of the physics model.
Method
We label the incoming carry block at site and symmetry sector by , and the local MPS tensor by . Because the demo MPO is chosen to be the identity in both physical and sector indices,
the forward update reduces to a sectorwise contraction of the carry with the local site tensor [2]:
Each sector block is then factorized independently with a thin SVD,
but the truncation rule is applied globally rather than sector by sector: all singular values from all sectors are pooled, ranked together, and only the largest retained values are kept. The emitted objects are
so the forward recurrence is
For the reverse sweep, the compressed block site is contracted from the right,
and the same sectorwise SVD plus pooled singular-value truncation is applied again. This is the same structural idea as a one-site MPS sweep, but written in the block form needed later for influence-functional tensor networks and TEMPO-style history compression [1, 3].
In this demo each local site is a rank-preserving embedding and each MPO site is the identity, so the exact internal bond rank should stay fixed through both sweep directions. That is precisely the behavior we want to verify before moving on to the full imaginary-time TEMPO benchmark.
References
- [1] Steven R. White. “Density matrix formulation for quantum renormalization groups,” Physical Review Letters 69 (19), 2863--2866 (1992). DOI: 10.1103/PhysRevLett.69.2863.
- [2] Ulrich Schollwoeck. “The density-matrix renormalization group in the age of matrix product states,” Annals of Physics 326 (1), 96--192 (2011). DOI: 10.1016/j.aop.2010.09.012.
- [3] A. Strathearn, P. Kirton, D. Kilda, J. Keeling, and B. W. Lovett. “Efficient non-Markovian quantum dynamics using time-evolving matrix product operators,” Nature Communications 9, 3322 (2018). DOI: 10.1038/s41467-018-05617-3.