From a3f39a1d6710b38ebacf6358678387ddb1e98117 Mon Sep 17 00:00:00 2001 From: jaunatisblue Date: Sun, 3 May 2026 19:06:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4tn=E8=84=9A=E6=9C=ACimplement?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- benchmark_tn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark_tn.py b/benchmark_tn.py index 6dae804..ced185d 100644 --- a/benchmark_tn.py +++ b/benchmark_tn.py @@ -128,7 +128,7 @@ def run_quimb_tn_statevector(circuit, nqubits, num_slices, load_path=None, save_ print(f" [path saved] {save_path}") t0 = time.time() - sv = qc.to_dense(optimize=tree,implementation="cotengra").reshape(-1) + sv = qc.to_dense(optimize=tree).reshape(-1) t_contract = time.time() - t0 print(f" [contraction] {t_contract:.3f}s") sv_tn = np.array(sv)