Skip to content

Commit

Permalink
Update function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankya2 committed Jan 24, 2024
1 parent c3586b4 commit aba58c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibotn/cutn.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def eval(qibo_circ, datatype):
myconvertor = QiboCircuitToEinsum(qibo_circ, dtype=datatype)
return contract(*myconvertor.state_vector_operands())

def eval_tn_MPI_2(qibo_circ, datatype, n_samples=8):
def eval_tn_MPI(qibo_circ, datatype, n_samples=8):
from mpi4py import MPI
from cuquantum import Network

Expand Down Expand Up @@ -142,7 +142,7 @@ def eval_expectation(qibo_circ, datatype):
*myconvertor.expectation_operands(PauliStringGen(qibo_circ.nqubits))
)

def eval_tn_MPI_2_expectation(qibo_circ, datatype, n_samples=8):
def eval_tn_MPI_expectation(qibo_circ, datatype, n_samples=8):
from mpi4py import MPI # this line initializes MPI
from cuquantum import Network

Expand Down

0 comments on commit aba58c2

Please sign in to comment.