#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 "Generator.hpp"
#include <random>
#include "backend/Scalar.hpp"
Go to the source code of this file.
|
| 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::Contract (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.
|
| |
| UniTensor | cytnx::Contracts (const std::vector< UniTensor > &TNs, const std::string &order, const bool &optimal) |
| |
| template<class... T> |
| UniTensor | cytnx::Contract (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.
|
| |
| template<class... T> |
| UniTensor | cytnx::Contracts (const UniTensor &in, const T &...args, const std::string &order, const bool &optimal) |
| |