mptensor  v0.3.0
Parallel Library for Tensor Network Methods
contract.cc File Reference

Test code of tensor contraction. More...

#include <cassert>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <vector>
#include <mptensor/mptensor.hpp>
#include "functions.hpp"
#include "mpi_tool.hpp"
#include "timer.hpp"
#include "typedef.hpp"

Namespaces

 tests
 Test codes for Tensor.
 

Functions

void tests::test_contract (const mpi_comm &comm, int L, std::ostream &ostrm)
 Test for TensorD::contract (partial trace) More...
 
void tests::test_contract_complex (const mpi_comm &comm, int L, std::ostream &ostrm)
 Test for TensorC::contract (partial trace) More...
 

Detailed Description

Test code of tensor contraction.

Author
Satoshi Morita morit.nosp@m.a@is.nosp@m.sp.u-.nosp@m.toky.nosp@m.o.ac..nosp@m.jp
Date
April 24 2015