Cytnx v0.9.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cytnx::tn_algo::MPO Class Reference

#include <MPO.hpp>

Public Member Functions

MPOoperator= (const MPO &rhs)
 
cytnx_uint64 size ()
 
void append (const UniTensor &rc)
 
void assign (const cytnx_uint64 &N, const UniTensor &rc)
 
std::vector< UniTensor > & get_all ()
 
const std::vector< UniTensor > & get_all () const
 
virtual UniTensor get_op (const cytnx_uint64 &site_idx)
 

Member Function Documentation

◆ append()

void cytnx::tn_algo::MPO::append ( const UniTensor rc)
inline

◆ assign()

void cytnx::tn_algo::MPO::assign ( const cytnx_uint64 N,
const UniTensor rc 
)
inline

◆ get_all() [1/2]

std::vector< UniTensor > & cytnx::tn_algo::MPO::get_all ( )
inline

◆ get_all() [2/2]

const std::vector< UniTensor > & cytnx::tn_algo::MPO::get_all ( ) const
inline

◆ get_op()

virtual UniTensor cytnx::tn_algo::MPO::get_op ( const cytnx_uint64 site_idx)
inlinevirtual

◆ operator=()

MPO & cytnx::tn_algo::MPO::operator= ( const MPO rhs)
inline

◆ size()

cytnx_uint64 cytnx::tn_algo::MPO::size ( )
inline

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