Skip to content

Commit

Permalink
Remove duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankya2 committed Oct 30, 2024
1 parent f9e74fe commit 289c8e2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/qibotn/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 289c8e2

Please sign in to comment.