SyTen
proj_purification.cpp File Reference

Implementation for inc/mps/proj_purification.h. More...

+ Include dependency graph for proj_purification.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::MPS
 The namespace containing all MPS-related tools, classes and objects.
 

Functions

std::vector< SDef > syten::MPS::ProjectedPurification::correlator (Lattice const &lat, State &a, Index const purified_type, Index const site, std::string const &left_op, std::string const &right_op, std::string left_bo="auto", std::string right_bo="auto", bool const displacement=false)
 Computes correlators. More...
 
State syten::MPS::ProjectedPurification::generateCompleteState (Lattice const &lat, Basis target, Index const bathType, Index const purified_rep, Basis const &sigma, Index const maxStates=10, Index const maxBlocksize=Index(Maximum()), bool const verbose=true)
 Generates a complete random state in the purified subspace of product Hilbert space, i.e. More...
 
State syten::MPS::ProjectedPurification::generateNearFermiSeaState (Lattice const &lat, Index const bathType, Basis const &sigma, Index const maxStates=10, Index const maxBlocksize=Index(Maximum()))
 Generates a fermi sea like state in purified subspace of the product Hilbert space. More...
 
State syten::MPS::ProjectedPurification::generateNearVacuumState (Lattice const &lat, Index const bathType, Basis const &sigma)
 Generates near vacuum state. More...
 
State syten::MPS::ProjectedPurification::generateSampledProductState (Lattice const &lat, Basis target, Index const bathType, Index const purified_rep, Basis const &sigma, Index const initialOperatorCount=10)
 Generates a sampled state in purified subspace of the product Hilbert space. More...
 
Operator syten::MPS::ProjectedPurification::genProjector (Lattice const &lat, std::set< Index > const &bath, std::set< Index > const &purify_types, std::vector< Sector > const &sigmas)
 Creates an MPO projector mapping from the full physical and bath Hilbert space to the projected purification subspace. More...
 
Operator syten::MPS::ProjectedPurification::genRevTransformation (Lattice const &lat, Index const purfiedType, Index const bathType, Basis const &sigma)
 Reverses to the original vacuum of the PP mapping. More...
 
Operator syten::MPS::ProjectedPurification::genTransformation (Lattice const &lat, Index const bathType, Basis const &sigma)
 Helper function which generates the transformation MPO for the bath sites. More...
 
std::vector< SDef > syten::MPS::ProjectedPurification::local_expectation (Lattice const &lat, State &a, Index const purified_type, std::string const &op, std::string bop="auto")
 Local expectation values. More...
 
Lattice syten::MPS::ProjectedPurification::proj_purification (Lattice const &lat, std::vector< Index > const &purify_types, std::vector< std::string > const &ca_ops={}, std::vector< Sector > const &sigmas={})
 Takes any lattice and doubles the number of sites. More...
 

Detailed Description

Implementation for inc/mps/proj_purification.h.