20 #ifndef TENSORO_CHEMPS2_H 21 #define TENSORO_CHEMPS2_H 23 #include "TensorOperator.h" 61 void create_right(
const int ikappa,
TensorT * mps_tensor_up,
TensorT * mps_tensor_down );
62 void create_left(
const int ikappa,
TensorT * mps_tensor_up,
TensorT * mps_tensor_down );
void create(TensorT *mps_tensor_up, TensorT *mps_tensor_down)
Clear and add the relevant terms to the TensorO.
void update_ownmem(TensorT *mps_tensor_up, TensorT *mps_tensor_down, TensorO *previous)
Update the previous TensorO.
bool moving_right
Whether or not moving right.
TensorO(const int boundary_index, const bool moving_right, const SyBookkeeper *book_up, const SyBookkeeper *book_down)
Constructor.
virtual ~TensorO()
Destructor.