Learn to Use ITensor

main / code_conventions

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