ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Enumerations | Functions
tevol_nn_sim.h File Reference
#include <cmath>
#include <iterator>
#include <iostream>
#include "dmrg/evolve/te_utils.hpp"
#include "dmrg/utils/results_collector.h"

Go to the source code of this file.

Classes

struct  trotter_gate< Matrix, SymmGroup >
 
class  nearest_neighbors_evolver< Matrix, SymmGroup >
 

Enumerations

enum  tevol_order_tag { order_unknown, second_order, fourth_order }
 

Functions

std::ostream & operator<< (std::ostream &os, tevol_order_tag o)
 

Enumeration Type Documentation

Enumerator
order_unknown 
second_order 
fourth_order 

Definition at line 65 of file tevol_nn_sim.h.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
tevol_order_tag  o 
)
inline

Definition at line 66 of file tevol_nn_sim.h.

67 {
68  switch (o)
69  {
70  case second_order:
71  os << "Second order Trotter decomposition";
72  break;
73  case fourth_order:
74  os << "Fourth order Trotter decomposition";
75  break;
76  default:
77  os << "uknown Trotter decomposition";
78  }
79  return os;
80 }