Class Scine::Utils::DensityMatrixIO

class DensityMatrixIO

Class to write density matrices to disk or read them from disk, in binary format. TODO: save space and only write and read triangular matrix (since symmetric)? TODO: Make this class employ EigenMatrixIO? NB: then the memory layout would change

Public Static Functions

static void write(const std::string &filename, const DensityMatrix &m)

Write the density matrix to disk.

static DensityMatrix read(const std::string &filename)

Read a density matrix from the disk.