Cytnx v0.9.5
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
UniTensor.hpp File Reference
#include "Type.hpp"
#include "cytnx_error.hpp"
#include "Device.hpp"
#include "Tensor.hpp"
#include "utils/utils.hpp"
#include "intrusive_ptr_base.hpp"
#include <iostream>
#include <vector>
#include <map>
#include <utility>
#include <initializer_list>
#include <fstream>
#include <algorithm>
#include "Symmetry.hpp"
#include "Bond.hpp"
#include "backend/Scalar.hpp"
Include dependency graph for UniTensor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cytnx::UniTensor
 An Enhanced tensor specifically designed for physical Tensor network simulation. More...
 

Namespaces

namespace  cytnx
 Helper function to print vector with ODT:
 

Functions

UniTensor cytnx::Contract (const UniTensor &inL, const UniTensor &inR, const bool &cacheL=false, const bool &cacheR=false)
 Contract two UniTensor by tracing the ranks with common labels.
 
UniTensor cytnx::Contracts (const std::vector< UniTensor > &TNs, const std::string &order, const bool &optimal)
 Contract multiple UniTensor by tracing the ranks with common labels with pairwise operation.
 
template<class... T>
UniTensor cytnx::Contracts (const UniTensor &in, const T &...args, const std::string &order, const bool &optimal)
 Contract multiple UniTensor by tracing the ranks with common labels with pairwise operation.
 

Variables

UniTensorType_class cytnx::UTenType
 UniTensor type.