Tomographer  v4.0
Tomographer C++ Framework Documentation
Creating a custom tomorun-like program

The tomorun executable has several features and has a relatively rigid structure. If it doesn't quite suit your needs, for example, if you have to integrate over a different state space or using another parameterization, then you are probably better off combining the correct C++ classes into a new, special-purpose C++ program (instead of attempting to modify tomorun to include your use case).

A very minimal version of a "tomorun-like" program is provided in the test suite as "cxx/test/minimal_tomorun.cxx".

You may want to copy it into a new source file, change the way you specify your inputs (use the Tomographer::MAT classes to read inputs from a matlab file, for example), and generally speaking adjust any other aspect of the program you may want.

The code in "cxx/test/minimal_tomorun.cxx" should be commented and understandable. The basic logic is to use the Tomographer::MHRWTasks::ValueHistogramTasks classes, in combination with Tomographer::DenseDM::TSpace::LLHMHWalker, to run random walks over quantum states in T-space (see T Parameterization) and collect statistics about a figure of merit. If you have any questions, don't hesitate to ask me.