Skip to content

Commit

Permalink
Remove print [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankya2 committed Jan 31, 2024
1 parent 1680185 commit e7776f5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/qibotn/backends/gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def __init__(self, runcard):
from cuquantum import cutensornet as cutn # pylint: disable=import-error

if runcard is not None:
print("inside runcard")
# Parse the runcard or use its values to set flags
self.MPI_enabled = runcard.get("MPI_enabled", False)
self.MPS_enabled = runcard.get("MPS_enabled", False)
self.NCCL_enabled = runcard.get("NCCL_enabled", False)
Expand Down Expand Up @@ -82,11 +80,6 @@ def execute_circuit(

import qibotn.eval as eval

print("MPI_enabled", self.MPI_enabled)
print("MPS_enabled", self.MPS_enabled)
print("NCCL_enabled", self.NCCL_enabled)
print("expectation_enabled", self.expectation_enabled)

if (
self.MPI_enabled == False
and self.MPS_enabled == False
Expand Down Expand Up @@ -181,7 +174,7 @@ def execute_circuit(
if rank > 0:
state = np.array(0)
else:
raise_error(NotImplementedError, "Backend not supported.")
raise_error(NotImplementedError, "Compute type not supported.")

if return_array:
return state.flatten()
Expand Down

0 comments on commit e7776f5

Please sign in to comment.