Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: antalszava <[email protected]>
  • Loading branch information
glassnotes and antalszava authored Mar 25, 2021
1 parent 92cb68e commit 6caf57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pennylane_qiskit/qiskit_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class QiskitDevice(QubitDevice, abc.ABC):
"""
name = "Qiskit PennyLane plugin"
pennylane_requires = ">=0.12.0"
version = "0.15.0"
version = "0.14.0"
plugin_version = __version__
author = "Xanadu"

Expand All @@ -113,7 +113,7 @@ def __init__(self, wires, provider, backend, shots=1024, **kwargs):
# Keep track if the user specified analytic to be True
if shots is None and backend not in self._state_backends:

# Raise a warning if the analytic attribute was set to True
# Raise a warning if no shots were specified for a hardware device
warnings.warn(self.hw_analytic_warning_message.format(backend), UserWarning)

self.shots = 1024
Expand Down

0 comments on commit 6caf57d

Please sign in to comment.