Skip to content

Alice 0.4.0

Choose a tag to compare

@changkai-zhang changkai-zhang released this 01 Nov 13:11
· 171 commits to stable since this release

Alice 0.4.0 — VUMPS: The Infinite Chain

Release Date: October 31, 2026

Version 0.4.0 introduces VUMPS (Variational Uniform Matrix Product States), Alice's
fourth algorithm: a ground-state solver that works directly on an infinite chain, with no
system size, no boundary, and no finite-size extrapolation. The state is a uniform MPS
given by a unit cell that tiles the chain, the Hamiltonian is an iMPO over the same cell,
and the energy reported is an energy per site. Supporting it, the network layer gains a
whole infinite family — iNetwork, iMPS, iMPO, their gauge-fixed canonical form,
init_imps, and an automaton-based build_ihamiltonian — and the 1D chain geometry gains
the IBC boundary condition and next-nearest-neighbor bonds. The finite side is untouched
apart from a guard that sends an infinite network to the right driver. No breaking API
changes.

♾️ Infinite Tensor Networks

The Unit Cell

  • New alice.network.infinite with iNetwork, iMPS, and iMPO, exported from
    alice.network and the top-level alice namespace.
  • A cell of N site tensors tiles the chain: site N is site 0 of the next copy, so the
    right bond of site N-1 is the same index as the left bond of site 0. The cell has
    N bonds and both of its ends carry a full virtual index rather than a trivial
    dimension-1 boundary, which is what the constructor checks.
  • This is a tiling, not a closed loop. It says that translating by N sites changes
    nothing; it does not bond two distant sites to each other the way periodic boundary
    conditions do. The finite closed chain remains Network with bc='PBC', a different
    physical system solved by a different algorithm.
  • bc is fixed to 'IBC' for the whole family, so code dispatching on boundary conditions
    can treat finite and infinite networks alike.
  • The family deliberately shares no ancestry with Network. An infinite chain has no
    boundary vector to contract against and no open end to sweep from, so bond counting,
    gauge fixing, the norm, and operator compaction all need their own definitions — and
    isinstance(x, MPS) being False for an infinite state is what lets the finite entry
    points reject one rather than silently producing nonsense.
  • The bond itag convention carries the tiling: the left bond of site i is
    {prefix}{i % N} and the right bond {prefix}{(i+1) % N}, so at i = N-1 the right bond
    is tagged {prefix}00 and matches the left bond of site 0 in the next copy.
  • iNetwork provides N, L, bc, center, bond_dims, bond_states, phys_dims,
    itag_prefix, to, serialize, and deserialize.

Canonical Form by Gauge Fixing

  • An infinite state has no end to sweep orthogonality in from, so its canonical form is not
    reached in one pass but is a fixed point: sweep the cell with QR, carry the triangular
    factor into the next copy, repeat until it stops moving. iMPS.canonical does this from
    both sides and leaves the cell uniformly right-orthonormal with one bond matrix per bond,
    the three satisfying AL[i] C[i+1] = C[i] AR[i].
  • New _qr_positive, a sign-fixed QR, keeps the iteration from oscillating between gauges
    that differ only by the sign convention of the decomposition.
  • Each C is diagonal. The gauge iteration leaves it a general matrix, and a final
    rotation of both canonical forms into the Schmidt basis turns it into the Schmidt values
    themselves. That extra decomposition is what makes the stored form unique: a general C
    is one of many gauges describing the same state, so without it two states could not be
    compared bond by bond and the entanglement spectrum could not be read off.
  • All three of AL, AR, and C are kept. AL cannot be recovered from AR and C by
    a fresh QR sweep, because QR fixes its own basis on each bond and the result, while
    left-orthonormal, no longer pairs with the stored C. Reconstructing it through C
    instead would be least accurate exactly where the Schmidt values are smallest.
  • New set_canonical installs a gauge computed elsewhere, taking AL, AR, and C as
    given. Deriving them from updated tensors instead would require the transfer operator of a
    state caught mid-update to have a single dominant eigenvalue, which it need not. The
    diagonalizing rotation gives set_canonical a normal form to put its input into, so a
    state that has been through an update looks exactly like one fresh from canonical.
  • Accessors bond_matrix, left_isometries, right_isometries, center_tensor, and
    schmidt_values read the canonical form; they raise if none has been installed, and the
    gauge does not outlive the tensors it describes.
  • canonical raises when no gauge exists, which a random cell can land on: the transfer
    operator then has two dominant eigenvalues of opposite sign and the cell maps two classes
    of bond charge into each other rather than onto themselves.
  • An iMPO is never canonicalized at all, so that machinery lives on iMPS alone.
  • The gauge survives to() and the serialization round trip.

Text Diagrams

  • New infinite_summary in alice.network.display renders one unit cell with a ···─
    continuation marker at both ends, standing for the copies that repeat away to either
    side. iMPS.__repr__ and iMPO.__repr__ delegate to it.
  • The info block reports the unit-cell size rather than a chain length and omits the norm:
    the Frobenius norm of an infinite state is not a finite quantity, so there is nothing
    honest to print there.

🧱 Building the Infinite System

build_ihamiltonian

  • New alice.network.autoimpo with build_ihamiltonian, exported from alice.network and
    the top-level alice namespace, alongside the helpers boundary_vectors and
    window_mpo.
  • The finite builder cannot be reused. It accumulates one term at a time with oplus and
    then squeezes the result with MPO.compact(), and both steps lean on a trivial
    dimension-1 bond at each end of the chain. On a cell, the left and right bonds are the
    same bond, and the Hamiltonian is recovered from a unique start channel and a unique
    finish channel of an upper-triangular W. A plain oplus duplicates both; a second copy
    of the start channel is not harmless redundancy but a whole extra family of spurious
    terms. compact() has no open end to sweep from and would scramble the triangular
    structure the environment solver depends on.
  • So the cell is assembled directly as a finite-state automaton. A term is a walk that
    enters at the start channel, fires its leading operator, carries an operator string across
    the intervening bonds, and exits through the finish channel at the terminal operator. A
    two-site interaction k of span d_k contributes channels (k, 1) … (k, d_k), with
    channel (k, j) sitting at bond (l_k + j) % N — the string has advanced j bonds since
    it started.
  • Because j is part of the channel identity, an interaction reaching beyond the unit cell
    simply places several channels on the same bond, so the interaction range is not limited
    by N.
  • Start and finish both carry the vacuum charge and are laid down first and last in the
    concatenation, which is the single fact boundary_vectors relies on.
  • window_mpo cuts a finite window out of the cell, which is how the construction is
    checked against build_hamiltonian on the same terms.

init_imps

  • New alice.network.autoimps with init_imps, exported from alice.network and the
    top-level alice namespace. It operates in the same two modes as init_mps, selected by
    bond_dim: a deterministic product cell at 1, best paired with '2s' which widens it
    from the first iteration, and a random cell with group-derived bond sectors above that.
    Both modes are particle-type agnostic, taking only the (Spc, Op) pair from load_space.
  • The cell is charge neutral, and this is a property of a cell rather than a choice.
    Fusing the physical charges over the cell has to return the charge it started from, which
    in Alice's particle-hole symmetric conventions means half filling for fermions and zero
    magnetization for spins. A doped or magnetized uniform state would need the bond charges
    to come back shifted, which is not a cell that tiles — so there is no target_qn here.
    A config carrying net charge is refused, as is a cell length admitting no neutral
    configuration at all, an odd one for spin-1/2.
  • Each bond carries only the charges reachable at its own position. Bond k sits after
    k physical sites, so it can hold only charges an even number of fusion steps away from
    the ones its neighbors hold. Giving every bond the same sectors instead produces a
    transfer operator with two dominant eigenvalues of opposite sign, which the gauge fixing
    reports as a two-cycle.
  • Random amplitudes land often enough on a transfer operator whose two largest eigenvalues
    are equal and opposite, or too close to separate within the sweep budget. init_imps
    repeats the draw with a shifted seed up to eight times, which stays deterministic for a
    given seed, and if all of them fail the error names the three ways out: another seed, a
    different width, or bond_dim=1 with scheme='2s'.

1D Chain Geometry

  • intrcmap_1dchain accepts bcx='IBC', under which the L sites are one unit cell of an
    infinite chain: every site leads a bond, and a terminal_site at or beyond L denotes a
    site in the next cell, which build_ihamiltonian folds back modulo L. These are not
    the wrap-around bonds of PBC — site L-1 bonds to site 0 of the following cell, not to
    site 0 of its own.
  • New n3x config key emits next-nearest-neighbor bonds, labeled ['NNN', 'N3X'], which is
    what the Majumdar-Ghosh point needs. Bond emission is refactored into one
    range-parametrized helper shared by both ranges, so PBC now wraps the NNN bonds too.
  • An unrecognized bcx raises ValueError instead of being silently treated as open.

🔁 VUMPS Algorithm

Iterations, Not Sweeps

  • New alice.algorithm.vumps package exporting Options, Summary, run, cell_update,
    cell_environments, Environment, build_right_envs, left_environment,
    right_environment, energy_density, and the unit-cell transfer operators, with vumps
    added to the alice.algorithm and top-level alice namespaces.
  • vumps.run(imps, impo, opts) returns a Summary. The unit of work is an iteration,
    not a sweep: every position of the cell is solved against one frozen set of environments,
    the environments are re-solved against the updated state, and the cycle repeats.
  • A DMRG sweep visits every site of a finite chain carrying environments it builds as it
    goes. An infinite chain has no site to start at and no boundary to build up from, so the
    environments are fixed points instead, re-solved from scratch after every iteration
    because the state they describe has changed.

Update Schemes

  • 2-site ('2s', the default) solves a pair of neighboring sites and splits the answer
    by SVD under max_bond / trunc_thresh. It is the only scheme that can change the bond
    dimension, and the only one that can move weight between charge sectors.
  • The split needs no inverse. The SVD hands back U, S, and Vh together, and writing
    C = S with center tensors U S and S Vh reproduces the one-site gauge step exactly:
    the orthonormal polar factor of U S is U and that of S is the identity. Nothing has
    to be divided by a bond matrix. Only the bond between the pair changes, which is what lets
    a pass walk the cell one pair at a time and still leave a cell that tiles.
  • 1-site ('1s') solves two eigenproblems per position — H_AC AC = e AC for the center
    tensor and H_C C = e C for the bond matrix — and reconciles them with a polar step.
    AL is the minimizer of |AC - AL C| over left-orthonormal tensors, which is
    U_l(AC) U_l(C)†. The two polar factors are taken separately: the polar decomposition of
    the product AC C† would square the condition number of C, which is ill-conditioned by
    construction, its small singular values being the ones the bond dimension is about to stop
    resolving.
  • Discarding nothing, '1s' can neither grow the bond dimension nor move weight from one
    charge sector to another: the sectors the initial state carried are the sectors the
    converged state carries. On the Heisenberg chain that limit shows up as an energy error
    around 1e-3 where '2s' reaches 1e-4, with a gradient down near 1e-9 reporting,
    correctly, that the state is stationary within the manifold it is confined to.
  • '1sp' is accepted by Options for forward compatibility and rejected by run() with
    NotImplementedError. Scheme aliases ('2-site', 'two-site', …) resolve in
    Options.__post_init__, matching the other three algorithms.
  • Both schemes walk the cell left to right, for different reasons. The one-site positions are
    independent of each other and could be visited in any order; walking in order is only what
    lets the pass carry one environment block instead of holding N. The two-site pass has no
    choice: each split replaces the index on the bond between the pair, so the pass has to
    reach that bond with a left environment built on the index the previous split left behind.

Environments as Fixed Points

  • New environ.py builds the MPS and MPO unit-cell transfer operators and solves for their
    fixed points, measuring the energy in the process.
  • The fixed point is singular, and that is the point. The Hamiltonian iMPO is upper
    triangular with an identity in both corners, so the channels close in order: the start
    channel is solved by the identity since AL is left-orthonormal; the operator-string
    channels cannot feed themselves, the strictly triangular part being nilpotent, so they
    converge in finitely many cells; and the finish channel sees E = Y + T_AL(E) with
    T_AL carrying eigenvalue 1, which has no solution — each application adds one more
    unit cell of energy.
  • The cure is to subtract the component along the offending direction at every step. The
    subtracted amount is one unit cell of energy, which is why this module measures the
    energy rather than needing a separate contraction for it, and fixing that component to
    zero picks one solution out of the family differing by a multiple of the identity.
  • Nicole has no Krylov solver, so the fixed point is reached by plain regularized power
    iteration, converging as the subleading eigenvalue of the MPS transfer operator to the
    power of the cells absorbed. That is the slowest-converging piece of an iteration, and the
    one a Krylov solve would fix.
  • Running out of env_maxiter warns and continues with the best estimate instead of
    abandoning the run and the nearly converged environment with it.
  • New Environment holds the right blocks over the bonds of the cell, optionally kept on
    disk behind a sliding window, with the same env_cache_dir / env_async_io /
    env_window triple and per-run UUID subdirectory as the other three algorithms.
  • Only the right side is stored, and that asymmetry is structural rather than an
    optimization. A forward pass produces its left blocks in the order it consumes them, so
    one running tensor does the work of N; the right blocks come off the recursion from
    bond 0 leftward while the pass asks for bonds 1, 2, 3 and so on — last built, first used,
    exactly the access pattern a sliding window serves. One side of a pass is therefore
    streamed and the other stored, and which side plays which role is a property of the
    direction, so every entry point names its arguments by side, takes either side in either
    shape, and turns away the shapes it cannot run. sweep.py documents the four things a
    backward pass would have to change.

What the Gradient Means

  • Convergence is measured on |AC - AL·C|, the norm of the energy gradient on the uniform
    MPS manifold, maximized over the cell. AC and C are solved independently against
    environments that are the state itself repeated, so away from a fixed point the two
    describe slightly different states, and the size of that disagreement vanishes exactly at
    a stationary point.
  • The Davidson eigenvalues cannot be used in its place: they belong to regularized local
    problems and carry no physical scale, the energy of an infinite chain being infinite. The
    reported energy density comes from the environment fixed point instead.
  • The gradient keeps falling long after the energy between iterations has flattened out,
    which makes it the more honest stopping criterion. Two floors limit it. It can never go
    below davidson_tol, since it compares two quantities neither of which is known better
    than that. And under '2s' against a bond cap that bites, it settles at a floor set by
    the discarded weight rather than falling at all — the two-site solve keeps asking for a
    wider bond than it is allowed. A run that has grown to max_bond and stopped improving is
    converged in every sense that matters.
  • New davidson.py, VUMPS's own copy of the solver: it takes the operator as a plain
    matrix-vector product and never inspects the operand's axis count, so the same routine
    serves the 3-index center problem and the 2-index bond problem.

Options, Summary, and Checkpointing

  • Options exposes scheme, n_iters, max_bond, trunc_thresh, davidson_tol,
    davidson_max_iter, davidson_max_subspace, grad_tol, gauge_tol, gauge_maxiter,
    env_tol, env_maxiter, the three environment-cache settings, checkpoint_dir, and
    artifacts_dir. Options.from_toml / load_toml work as in the other algorithms.
  • davidson_tol has to sit well below grad_tol, and loosening it to save work backfires:
    the run then needs more iterations than the cheaper solves save, and stalls at a gradient
    around davidson_tol without ever converging.
  • gauge_tol and gauge_maxiter apply only to the initial canonicalization; every
    iteration after that installs its own gauge through set_canonical.
  • Summary carries energy (per site, from the environment fixed point after the last
    iteration), the gauge-fixed state, energies, converged, n_iters, bond_dims
    (length N, the last entry being the bond onto the next copy of the cell), gradients,
    and discarded_weights — all zeros under '1s', which never splits anything.
  • vumps.ckpt is written atomically after every iteration under checkpoint_dir, the final
    Summary is archived as state.ckpt under artifacts_dir on success, and vumps.ckpt
    is removed then, matching DMRG's layout.
  • run() raises TypeError for a finite network, ValueError for mismatched unit cells or
    for '2s' asked of a one-site cell, and NotImplementedError for '1sp'.

🧪 Tests

  • Five new test modules under tests/algorithm/vumps/ — test_environ.py,
    test_scheme_1s.py, test_scheme_2s.py, test_sweep.py, test_vumps.py — plus a shared
    conftest.py carrying infinite states and Hamiltonians.
  • test_environ.py pins the transfer operators against isometry, the energy density against
    states whose energy is known in closed form, the environments for consistency on states
    with no known answer, the solver's refusals, the missed-tolerance warning and the best
    estimate it returns, and the bond-indexed store against the recursion it comes from, its
    window, and its cache.
  • test_scheme_1s.py and test_scheme_2s.py cover the effective Hamiltonians, the local
    solves, the gauge step, the split, and the handover that makes the two-site split
    reproduce the one-site gauge on the side just solved.
  • test_sweep.py runs the shared cell-update tests under both schemes, covers what only the
    two-site update can do, and uses a _Watched subclass of Environment that records how
    full it ever got, to pin that a pass never holds more than a window and that a cached pass
    lands where an uncached one does.
  • test_vumps.py covers options and their TOML round trip, serialization, the scheme
    aliases and the '2s' default, the validation errors, the driver under both schemes, the
    discarded-weight history, the files a finished run leaves on disk, and the environment
    cache end to end.
  • New tests/network/test_infinite.py covers the tiling and the bond bookkeeping,
    separation from the finite family, the container and I/O round trip, the defining relations
    of the canonical form, states with a known Schmidt spectrum, set_canonical, the
    failures gauge fixing must refuse, the gauge not outliving its tensors, and the text
    diagram.
  • New tests/network/test_autoimpo.py checks a window of the cell against the finite MPO
    built from the same terms, the automaton's channel structure, charge conservation, the
    boundary vectors, the validation errors, and terms reaching past the cell.
  • New tests/network/test_autoimps.py covers the cell configuration, the
    even-fusion-step neighborhood of each bond, both modes, and the refusals.
  • tests/physics/test_chain.py gains TestChainNNN and TestChainIBC, plus coverage of the
    unrecognized-bcx error and the bonds an IBC cell emits into the next one.
  • New top-level tests/conftest.py isolates the working directory of the whole suite from
    the project root: a session-scoped fixture covers fixtures of any scope that call run(),
    and a function-scoped one gives every test a fresh tmp_path, which also stops one test
    from reading a checkpoint another left behind. The per-algorithm copies this supersedes
    are gone. The yuzuha Clebsch-Gordan cache is pinned to a path in the project instead,
    since rebuilding it every session costs far more than the SU(2) tests themselves.

📚 Documentation

  • New docs/algorithms/vumps/ section — overview, Options, Summary, run, and
    Lessons — covering why the environments are fixed points, the two schemes and what '1s'
    cannot do, what the gradient measures and the two floors under it, why the environment
    solver warns, and what a unit cell demands of the filling.
  • docs/algorithms/vumps/lessons.md is a measured account of the environment budget: the
    residual falls geometrically at a rate set by the subleading eigenvalue, so a tolerance
    ε costs roughly ξ ln(1/ε) cells with the correlation length counted in unit cells, and
    the default of 200 covers ξ up to about seven. Nothing stalls — every case reaches
    machine precision given enough cells. On a gapped model the rate saturates once the bond
    dimension captures the correlation length (flat across a factor of eight in D on the
    Haldane chain), while a critical one has no such saturation, its correlation length being
    cut off by the bond dimension itself. A degenerate ground state and a state carrying far
    more bond dimension than its entanglement needs both exhaust the budget while gapped.
    The energy is not the environment: on the Heisenberg chain at D = 32 an environment
    taken at 100 cells, residual still 1.9e-4, gives an energy agreeing with the converged
    one to 3e-14. A one-site run is the case that notices, its gradient tracking the
    environments directly.
  • New API pages for iNetwork, iMPS, iMPO, init_imps, and build_ihamiltonian, each
    cross-linked with its finite counterpart, and registered in the network, Hamiltonian, and
    navigation indexes.
  • The API overview tables are completed: the Network section now lists Network,
    NormalMPO, both initializers, and thermal_mpo alongside the new infinite entries;
    intrcmap_kagome joins the geometry table; the quick links gain rows for the algorithms
    that were missing one, including real-time evolution; and the save-and-reload link is
    narrowed to the serializer it actually points at.
  • The algorithms index, examples index, mkdocs.yml navigation, and README all gain VUMPS
    sections, ordered DMRG, VUMPS, TDVP, XTRG — the real-time section now ahead of the
    finite-temperature one everywhere.
  • New docs/examples/vumps/ walkthroughs, each against an exact answer: the Heisenberg chain
    against 1/4 - ln 2, Majumdar-Ghosh at its exactly solvable point, the free-fermion chain
    against -2/π, and the Hubbard chain against the Lieb–Wu integral in all four band
    symmetries.
  • The DMRG example pages are corrected throughout: build_interaction returns a Geometry
    as its third value, the TOML tables sit where build_interaction reads them, and the
    initial state is built with init_mps. Each page now says why a product state wants
    '2s' or '1sp' — the 1-site scheme never changes the bond sectors it starts with and
    converges above the true energy — which is also the correct attribution for the energy
    gaps the free-fermion and Heisenberg pages quote. The Hubbard page's
    ground-state energy is corrected from ≈ -3.67 to the measured -20.2358, with the
    half-filling chemical-potential shift that explains it.
  • The quick start takes the same corrections, and its expected output is replaced with a
    verified run: four sweeps from a product state rather than two.

📝 Examples

  • examples/examples_vumps/vumps_heisenberg.py: the spin-1/2 chain in the thermodynamic
    limit, around 5e-5 above exact at max_bond = 16, with the gradient resting on the
    discarded-weight floor.
  • examples/examples_vumps/vumps_mgdimer.py: the J1-J2 chain at J2 = J1/2, the one case
    whose exact ground state lies inside the variational class — 6e-14 from exact in seven
    iterations, and 1.8e-15 from a product cell under SU(2) in one. Also the example that
    shows the warning: a four-site cell or a bond dimension of eight, both far more than the
    dimer state needs, exhaust the environment budget and still converge.
  • examples/examples_vumps/vumps_freefermion.py: the spinless chain against -2/π, with a
    product start reaching the same energy as a width-16 one.
  • examples/examples_vumps/vumps_hubbard.py: the Hubbard chain against the Lieb–Wu
    integral, evaluated with a Bessel function built from its own periodic integral
    representation so the example needs nothing beyond NumPy. All four band symmetries run;
    Z2,SU2 is the cheapest and the default.
  • The three DMRG example scripts are rebuilt on the shipped Alice API alone. They no longer
    reach into tests/diagonaliztn for an iterative-diagonalization helper, so --init now
    chooses between random and product, both from init_mps, and the sys.path inserts
    are gone. The five TDVP scripts drop their redundant inserts as well.

📊 Statistics

  • 1,728 tests across 46 test modules (up from 1,357 / 38 modules in v0.3.2).
  • 175 commits since v0.3.2.
  • 70 files changed, 11,723 insertions, 395 deletions.
  • 44 source modules in six subpackages: alice.network, alice.physics,
    alice.algorithm.dmrg, alice.algorithm.vumps, alice.algorithm.tdvp,
    alice.algorithm.xtrg.

✅ Compatibility

Breaking Changes: none.

Behavioral Changes:

  • dmrg.run raises TypeError when handed anything that is not an MPS and an MPO,
    naming vumps.run instead. Previously an infinite network would have been accepted and
    its wrap-around bond quietly read as an open end.
  • intrcmap_1dchain raises ValueError for a bcx outside 'OBC', 'PBC', and 'IBC',
    where an unrecognized value previously produced an open chain.
  • A PBC bond's label list is now ['NN', 'N2X', 'PBC'] rather than ['NN', 'PBC', 'N2X'];
    the bonds themselves are unchanged. Code matching on label membership is unaffected; code
    comparing the list positionally is not.
  • The DMRG example scripts' --init choices change from iter_diag / random to
    random / product, with random the new default.
  • The test suite now runs with its working directory set to a temporary path, so a test that
    leaves checkpoint_dir at its default no longer writes into the project root.

Requirements:

  • Python ≥ 3.11
  • PyTorch ≥ 2.5
  • Nicole ≥ 0.4.2

📝 Notes

VUMPS reuses the shape of the three algorithms already in Alice wherever they are
conceptually alike — Options/Summary follow AlgorithmOptions/AlgorithmSummary, the
scheme names and aliases match, the checkpoint and final-artifact layout is DMRG's, and the
disk-spilling Environment is the same sliding-window-plus-async-I/O pattern — and departs
from them wherever the thermodynamic limit demands it. The departures are all one departure
seen from different angles: there is no boundary. A finite algorithm starts its
environments from a trivial vector at the end of the chain, canonicalizes by sweeping
orthogonality in from that same end, and reads its energy off a local eigenvalue. None of
those three is available here. The environments are fixed points of a transfer operator,
re-solved from scratch every iteration; the canonical form is a gauge solved for rather than
swept; and the energy comes from the environment solve, because the local eigenvalues belong
to regularized problems and the energy of an infinite chain is infinite.

What that leaves is an algorithm whose diagnostics have to be read differently. The thing
that converges is not the energy — that flattens out early and stays flat — but the gradient
|AC - AL·C|, which measures how far the two independently solved descriptions of the same
state have drifted apart. And the thing most likely to warn, the environment solver running
out of cells, is usually reporting something true about the state instead of something
wrong with the run: that the model is critical, or the ground state degenerate, or the bond
dimension wider than the entanglement needs. In all three the energy is already correct to
more digits than the residual suggests. The measurements behind that claim are in
docs/algorithms/vumps/lessons.md, and the short version is that the residual tracks the
subleading tail of a tensor while the energy is a scalar contraction converging at the
leading rate.