Skip to content

Commit

Permalink
solve pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisAlfredoNu committed Sep 27, 2024
1 parent 2a74924 commit 07317d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pennylane_lightning/lightning_gpu/_measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
mpi_error = ex_mpi
MPI_SUPPORT = False

except ImportError as ex:
warn(str(ex), UserWarning)
except ImportError as e:
warn(str(e), UserWarning)

from typing import Any, List

Expand Down
1 change: 1 addition & 0 deletions pennylane_lightning/lightning_gpu/lightning_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ def preprocess(self, execution_config: ExecutionConfig = DefaultExecutionConfig)
_add_adjoint_transforms(program)
return program, exec_config

# pylint: disable=unused-argument
def execute(
self,
circuits: QuantumTape_or_Batch,
Expand Down

0 comments on commit 07317d1

Please sign in to comment.