From 6caf57ddd2796c32fba210770137a2f407e2c9ab Mon Sep 17 00:00:00 2001 From: Olivia Di Matteo <2068515+glassnotes@users.noreply.github.com> Date: Thu, 25 Mar 2021 14:47:20 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: antalszava --- pennylane_qiskit/qiskit_device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pennylane_qiskit/qiskit_device.py b/pennylane_qiskit/qiskit_device.py index a6a525ace..0df5a7149 100644 --- a/pennylane_qiskit/qiskit_device.py +++ b/pennylane_qiskit/qiskit_device.py @@ -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" @@ -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