Learn to Use ITensor

main / code_conventions C++v2 | C++v3

ITensor version 3 has not been released yet. This documentation is a preview only.

ITensor Library C++ Conventions

None of these conventions are hard and fast, and there exist exceptions throughout the library. However, the conventions below should be followed whenever reasonable.

Classes and Structs

File Layout

Formatting

  f(ITensor const& T, Real const* real_pointer);

Or in binding a variable to a const reference:

  auto const& ref = x;

Functions


Back to Main