From ee7974d56aa79b0cd24aaf6c12d98172ccd7b2e1 Mon Sep 17 00:00:00 2001 From: Danil Lykov Date: Sat, 10 Oct 2020 16:46:07 -0500 Subject: [PATCH] [jlse-run] remove debugging duplicate einsum --- qtensor/ProcessingFrameworks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/qtensor/ProcessingFrameworks.py b/qtensor/ProcessingFrameworks.py index e4cb61b0..b209feda 100644 --- a/qtensor/ProcessingFrameworks.py +++ b/qtensor/ProcessingFrameworks.py @@ -155,8 +155,6 @@ def merge_with_result(result_data, result_indices, tensor): # \sum_k A_{kfm} * B_{kfn} = C_{fmn} c = np.empty((F, M, N), dtype=np.complex128) tcontract.mkl_contract_sum(a, b, c) - c_einsum = np.einsum('kfm, kfn -> fmn', a, b) - assert np.allclose(c_einsum, c) # ---- Post-process output result_indices = tuple(sorted(