pytenet.dmrg

DMRG algorithm.

Reference:

Ulrich Schollwöck The density-matrix renormalization group in the age of matrix product states Ann. Phys. (N. Y.) 326, 96-192 (2011)

Functions

dmrg_singlesite(hamiltonian, psi, numsweeps)

Run the single-site DMRG algorithm: Approximate the ground state as MPS via left- and right-sweeping and local single-site optimizations.

dmrg_twosite(hamiltonian, psi, numsweeps[, ...])

Run the two-site DMRG algorithm: Approximate the ground state as MPS via left- and right-sweeping and local two-site optimizations.