SyTen
syten-sql-mps-spin.cpp File Reference

Creates a square spin lattice. More...

#include "lat/mps/sql-helpers.h"
#include "lat/mps/reordering-helpers.h"
#include "lat/mps/u1.h"
#include "lat/mps/su2.h"
#include "lat/mps/nil.h"
#include "inc/util/bpo_helper.h"
#include "inc/util/output.h"
+ Include dependency graph for syten-sql-mps-spin.cpp:

Namespaces

 syten
 Syten namespace.
 

Functions

void syten::linkSites (Index first, Index second, MPS::Lattice &lat, std::map< std::string, std::pair< std::string, std::vector< MPS::Operator > > > &operators, std::string sym, std::string suffix, bool const add_bond_operators, std::vector< Index > const &idx)
 Internal helper: Link sites on lattice. More...
 
void syten::projector (MPS::Lattice &lat, std::string sym)
 Adds two projectors onto the all-down and all-up subspaces for U(1) and no symmetries. More...
 
void syten::setupLattice (std::map< std::string, std::pair< std::string, std::vector< MPS::Operator > > > &operators, Index const width, Index const length, std::string sym, bool const add_bond_operators, bool const add_partial_operators)
 Internal helper: Set up operators on lattice. More...
 
void syten::staggeredFields (Index site, MPS::Lattice &lat, std::map< std::string, std::pair< std::string, std::vector< MPS::Operator > > > &operators, std::string sym, std::string postfix, std::vector< Index > const &idx)
 Internal helper: Creates staggered magnetic fields. More...
 
void syten::truncate_add_operators (MPS::Lattice &lat, std::map< std::string, std::pair< std::string, std::vector< MPS::Operator > > > &operators)
 Internal helper: Truncate operators defined on the lattice. More...
 

Detailed Description

Creates a square spin lattice.