From 2fbdfecb3463164aac87336fe1139937e2f3f1c2 Mon Sep 17 00:00:00 2001 From: Nitin Shivaraman Date: Mon, 6 Feb 2023 20:05:18 +0800 Subject: [PATCH] Fix maximum line length --- src/qibotn/test_qasm_quimb_backend.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/qibotn/test_qasm_quimb_backend.py b/src/qibotn/test_qasm_quimb_backend.py index 08dab01..548b95d 100644 --- a/src/qibotn/test_qasm_quimb_backend.py +++ b/src/qibotn/test_qasm_quimb_backend.py @@ -193,10 +193,8 @@ def eval_QI_qft(nqubits, backend='numpy', qibo_backend='qibojit', \ qu.core.pnjit() ## convert vector to MPS dims = tuple(2*np.ones(nqubits, dtype=int)) - start = timer() - init_state_MPS = qtn.tensor_1d.MatrixProductState.from_dense(init_state_quimb, dims) - end = timer() - MPS_time = end-start + init_state_MPS = qtn.tensor_1d.MatrixProductState.from_dense \ + (init_state_quimb, dims) # construct quimb qft circuit