SyTen
syten::MPS::BasisTransformation::ModeTransformation Struct Reference

The object that handles the transformation. More...

#include <mode_transformation.h>

+ Collaboration diagram for syten::MPS::BasisTransformation::ModeTransformation:

Public Member Functions

std::tuple< Tensor< 4 >, SRDef, SRDefapply_mt ()
 applies the Mode transformation More...
 
SRDef cost_function (Vec< SRDef > const &a)
 calculates the costfunction More...
 
SRDef cost_function_global (Vec< SRDef > const &a)
 calculates the global costfunction More...
 
DenseTensor< 2 > create_global (Index length)
 creates the global tensor More...
 
DenseTensor< 2 > create_GU2 (Vec< SRDef > const &a) const
 creates the GU2 dense Tensor More...
 
DenseTensor< 2 > create_GU2_bosonic (Vec< SRDef > const &a) const
 creates the GU2 dense Tensor More...
 
DenseTensor< 2 > create_GU3_bosonic (Vec< SRDef > const &a) const
 creates the GU2 dense Tensor More...
 
DenseTensor< 2 > create_GU4 (Vec< SRDef > const &a) const
 creates the GU4 dense Tensor More...
 
DenseTensor< 2 > create_id2 ()
 creates the 2x2 rank 2 id dense tensor More...
 
DenseTensor< 2 > create_idglobal (Index length)
 creates the NxN rank 2 id dense tensor More...
 
DenseTensor< 2 > create_O2 (Vec< SRDef > const &a) const
 creates the O2 dense Tensor More...
 
DenseTensor< 2 > create_U2 (Vec< SRDef > const &a) const
 creates the U2 dense Tensor More...
 
Tensor< 2 > create_unitaries (Vec< SRDef > const &a) const
 creates and returns the unitary Matricies More...
 
Tensor< 2 > genGU2 (Vec< SRDef > const &a) const
 generates the spinless transformation Tensor More...
 
Tensor< 2 > genGU2_bosonic (Vec< SRDef > const &a) const
 generates the spinless transformation Tensor More...
 
Tensor< 2 > genGU3_bosonic (Vec< SRDef > const &a) const
 generates the spinless transformation Tensor More...
 
Tensor< 2 > genGU4 (Vec< SRDef > const &a) const
 generates the spinfull transformation Tensor More...
 
SRDef initial_cost ()
 calculates the initial costfunction More...
 
SRDef initial_cost_global ()
 calculates the initial costfunction More...
 
 ModeTransformation ()=default
 Empty Constructor. More...
 
 ModeTransformation (Tensor< 4 > contrPsi_, std::vector< Operator > &op_, Index const &left_site_, Index const &right_site_, bool const &bosonic_, DenseTensor< 2, SRDef > &mut_, State const &psi_, bool const tdvp_=false)
 Constructor. More...
 
std::tuple< Vec< SRDef >, SRDefnm ()
 Nelder mead optimization scheme. More...
 
std::tuple< Vec< SRDef >, SRDefoptimize_cost ()
 optimizes the cost function More...
 
Tensor< 4 > transform (Vec< SRDef > const &a) const
 applies the transformation to the state More...
 
SRDef transform_accepted (Vec< SRDef > const &a)
 applies the transformation to the state and the operator More...
 
SRDef transform_accepted_global (Vec< SRDef > const &a)
 applies the transformation to the state and the operator More...
 
void transform_coeff_2 (DenseTensor< 2 > &one)
 applies the transformation to the coefficients Tij More...
 
void transform_coeff_4 (DenseTensor< 4 > &two)
 applies the transformation to the coefficients Vijkl More...
 

Public Attributes

bool bosonic
 Size of the physical Basis. More...
 
ComplexParams complex = ComplexParams::No
 Complex MPO. More...
 
Tensor< 4 > contrPsi
 Two-Site MPS. More...
 
SRDef err {0.}
 MT for tdvp. More...
 
Index left_site
 
Tensor< 3 > mergedPsi
 merged two site MPS. More...
 
DenseTensor< 2, SRDefmut
 MT for a bosonic system. More...
 
std::vector< Operator > & op
 One-Site MPO. More...
 
Index pbSize
 site index according to the sweep direction. More...
 
Basis ph1_basis
 physical basis of the lu leg. More...
 
Basis ph2_basis
 physical basis of the ru leg. More...
 
State psi
 
Index right_site
 site index according to the sweep direction. More...
 
bool tdvp
 
Timer timer
 Truncation error. More...
 
OptimizationMethod tm = OptimizationMethod::NelderMead
 "creation vector of the unitaries" More...
 
Vec< SRDeftrans_a
 internal timer. More...
 

Static Public Attributes

static SRDef const default_cost = NAN
 Default cost. More...
 

Detailed Description

The object that handles the transformation.


The documentation for this struct was generated from the following files: