SyTen
QCDMRG::mpo_tensor Class Reference
+ Collaboration diagram for QCDMRG::mpo_tensor:

Public Member Functions

void append (std::size_t lIdx, std::size_t rIdx, const pos_op_t &sso, double scale)
 
void append (std::size_t lIdx, std::size_t rIdx, const sso_scale_t &ssoWithScale)
 
void delinearise ()
 
const tensor_elem_telement (int lIdx, int rIdx) const
 
bool isNonZero (int lIdx, int rIdx) const
 
std::size_t leftSize () const noexcept
 
const std::unordered_map< std::uint64_t, tensor_elem_t > & matrix () const noexcept
 
 mpo_tensor (const mpo_tensor &rhs)
 
 mpo_tensor (mpo_tensor &&rhs)
 
 mpo_tensor (std::size_t left, std::size_t right, const std::vector< tag_block > &tags)
 
std::size_t nnz () const noexcept
 
mpo_tensoroperator= (const mpo_tensor &rhs)
 
mpo_tensoroperator= (mpo_tensor &&rhs)
 
std::size_t rightSize () const noexcept
 
void setSize (std::size_t left, std::size_t right) noexcept
 
void show (const std::vector< std::string > &labels, std::ostream &os=std::cout) const
 

Private Attributes

std::size_t left_dimension_
 
std::unordered_map< std::uint64_t, tensor_elem_tmatrix_
 
std::size_t right_dimension_
 

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