Commit ce6c2ce8 authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh
Browse files

Enabled parallization in some ExaTN tests, for TensorNetworkOptimizer

Signed-off-by: default avatarDmitry I. Lyakh <>
parent db79b550
......@@ -3524,6 +3524,7 @@ TEST(NumServerTester, SpinHamiltonians) {
if(root) std::cout << "Ground and excited states search for the original Hamiltonian:" << std::endl;
exatn::TensorNetworkOptimizer optimizer(transverse_ising,vec_tns0,accuracy);
success = exatn::sync(); assert(success);
bool converged = optimizer.optimize(num_states);
success = exatn::sync(); assert(success);
......@@ -3747,6 +3748,7 @@ TEST(NumServerTester, ExcitedMCVQE) {
success = exatn::initTensorsRndSync(*vec_tns0); assert(success);
exatn::TensorNetworkOptimizer optimizer3(hamiltonian0,vec_tns0,accuracy);
success = exatn::sync(); assert(success);
bool converged = optimizer3.optimize(num_states);
success = exatn::sync(); assert(success);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment