Skip to content

Commit

Permalink
Reformat to comply with black
Browse files Browse the repository at this point in the history
  • Loading branch information
Tak Hur authored and Tak Hur committed Dec 18, 2024
1 parent daacbbf commit 89c6887
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion pennylane_qiskit/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ def _function(*args, params: dict = None, wires: list = None, **kwargs):
mid_circ_regs[carg] = mid_circ_meas[-1]

else:

try:
if not isinstance(instruction, (ControlFlowOp,)):
operation_args = [instruction.to_matrix()]
Expand Down
2 changes: 0 additions & 2 deletions pennylane_qiskit/qiskit_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
# pylint: disable=too-many-instance-attributes,attribute-defined-outside-init,too-many-positional-arguments



import warnings
import inspect
from typing import Union, Callable, Tuple, Sequence
Expand Down Expand Up @@ -326,7 +325,6 @@ def __init__(
compile_backend=None,
**kwargs,
):

if shots is None:
warnings.warn(
"Expected an integer number of shots, but received shots=None. Defaulting "
Expand Down
1 change: 0 additions & 1 deletion pennylane_qiskit/qiskit_device_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ class QiskitDeviceLegacy(QubitDevice, abc.ABC):
_eigs = {}

def __init__(self, wires, provider, backend, shots=1024, **kwargs):

super().__init__(wires=wires, shots=shots)

self.provider = provider
Expand Down

0 comments on commit 89c6887

Please sign in to comment.