Excuse me,When I use itensor (C++ version) to implement a simple addition calculation of two tensors, the problem appears as shown below:
using ITensors
auto i = Index(1480"index i");
auto j = Index(1860"index j");
auto k = Index(1400,"index k");
auto m = Index(1000,"index m");
A = randomITensor(i,j,k,m);
B = randomITensor(i,j,k,m);
start = clock();
C = A+B;
end = clock();
std::cout << "consuming time is : " << (double)(end - start) / CLOCKS_PER_SEC << "s" << std::endl;
Is this because the size of two tensor is too big? If I want to do a simple calculation on two large tensor, how should I do it?