Skip to content

Commit

Permalink
Review changes: f string
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLoke committed Jan 12, 2021
1 parent fa04ced commit 3171839
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pennylane_lightning/lightning_qubit.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ def __init__(self, wires, *, shots=1000, analytic=True):

if self.num_wires > self._MAX_WIRES:
warnings.warn(
"The number of wires exceeds {}, reverting to NumPy-based evaluation.".format(
self._MAX_WIRES
),
f"The number of wires exceeds {self._MAX_WIRES}, reverting to NumPy-based evaluation.",
UserWarning,
)

Expand Down

0 comments on commit 3171839

Please sign in to comment.