From 17717ae37a9c69e2216d5794feaa231fab644b47 Mon Sep 17 00:00:00 2001 From: tankya2 Date: Wed, 30 Oct 2024 11:19:23 +0800 Subject: [PATCH] Remove duplication --- src/qibotn/eval.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/qibotn/eval.py b/src/qibotn/eval.py index 9d34275..9aa0136 100644 --- a/src/qibotn/eval.py +++ b/src/qibotn/eval.py @@ -170,9 +170,6 @@ def dense_vector_tn_nccl(qibo_circ, datatype, n_samples=8): nccl_id = comm_mpi.bcast(nccl_id, root) comm_nccl = nccl.NcclCommunicator(size, nccl_id, rank) - # Perform circuit conversion - myconvertor = QiboCircuitToEinsum(qibo_circ, dtype=datatype) - operands = myconvertor.state_vector_operands() # Perform circuit conversion if rank == 0: myconvertor = QiboCircuitToEinsum(qibo_circ, dtype=datatype)