SyTen
toggle_enums.h File Reference

Toggle-like enums and similar objects used throughout the library. More...

#include <iostream>
+ Include dependency graph for toggle_enums.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  syten::YesNo< T >
 A base template for all sorts of typefull boolean flags, to be used more in the future. More...
 

Namespaces

namespace  syten
 Syten namespace.
 

Typedefs

using syten::Conj = YesNo< struct _prod_conj >
 Decides whether to complex-conjugate a given tensor; in tensor products: applies to the second tensor. More...
 
using syten::FullQR = YesNo< struct _fullqr >
 Specifies whether we do a full QR (Yes) or a thin QR (No) More...
 
using syten::GaugeFixSVD = YesNo< struct _gauge_fix_svd >
 Whether to gauge-fix the SVD. More...
 
using syten::HandleFermions = YesNo< struct _prod_handle_fermions >
 Decides whether fermions are handled on the level of tensor-tensor products. More...
 

Enumerations

enum class  syten::DecompRescaleCGC { Yes , No }
 Whether or not to rescale the CGC spaces during an decomposition. More...
 
enum class  syten::EliminateZeros { Yes , No }
 Whether to eliminate zeros in tensor products. More...
 
enum class  syten::Ordinal { First , Second , Third }
 enum containing the first three ordinals More...
 
enum class  syten::ParallelKind { True , False , FirstZero , SecondZero }
 enum containing return values of isParallel() calls More...
 
enum class  syten::Statistics { Bosonic , Fermionic }
 enum containing different classes of statistics More...
 
enum class  syten::TransposeMethod {
  syten::Default , syten::IterWSeq , syten::IterRSeq , syten::Recursive ,
  syten::CUDAKernel
}
 Dense/CUDA tensor transposition method. More...
 
enum class  syten::TruncationType {
  Default , SVD , Deparallelise , Delinearise ,
  DelineariseRelaxed
}
 enum containing the type of truncation to employ in MPO truncation More...
 

Functions

std::ostreamsyten::operator<< (std::ostream &out, ParallelKind const &p)
 Output for ParallelKind's. More...
 
std::ostreamsyten::operator<< (std::ostream &out, TruncationType const &tt)
 Output for TruncationType's. More...
 
template<typename T >
std::ostreamsyten::operator<< (std::ostream &stream, YesNo< T > const &t)
 stream output for YesNo<T> More...
 

Detailed Description

Toggle-like enums and similar objects used throughout the library.