SkillAgentSearch skills...

Dmrg

A simple Density Matrix Renormalization Group program

Install / Use

/learn @aromanro/Dmrg

README

dmrg

A simple Density Matrix Renormalization Group program

Codacy Badge CodeFactor

Description is on Computational Physics blog: https://compphys.go.ro/density-matrix-renormalization-group/

The program can be compiled with Visual C++ on Windows (native, with mfc). It uses Eigen library for matrices.

Currenly only Heisenberg chains are implemented (both spin 1/2 and 1).

TOOLS

The project compiles on Windows with Visual Studio 2026 (the code can be compiled with older versions starting with VS 2015, but it's currently maintained with VS 2026 and C++ 17 or higher).

LIBRARIES

Besides mfc and other typical VC++ runtime libraries, the program uses GDI+ for drawing. Eigen 5 is also used. It worked with an older version as well, but I recommend using ver 5 because it has some fixed issues.

PROGRAM IN ACTION

Program video

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated3h ago
Forks3

Languages

C++

Security Score

95/100

Audited on Apr 1, 2026

No findings