Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Jul 31, 2024
1 parent aad7e89 commit 3dfae88
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions test/python/circuit/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,7 @@
import qiskit.circuit.library as circlib
from qiskit.circuit.library.standard_gates.rz import RZGate
from qiskit import ClassicalRegister, QuantumCircuit, QuantumRegister
from qiskit.circuit import (
Gate,
Instruction,
Parameter,
ParameterExpression,
ParameterVector,
CircuitInstruction,
)
from qiskit.circuit import Gate, Instruction, Parameter, ParameterExpression, ParameterVector
from qiskit.circuit.parametertable import ParameterView
from qiskit.circuit.exceptions import CircuitError
from qiskit.compiler import assemble, transpile
Expand Down Expand Up @@ -631,6 +624,8 @@ def test_assignment_to_annotated_operation(self):
"""Test that assignments to an ``AnnotatedOperation`` are propagated all the way down."""

class MyGate(Gate):
"""Arbitrary non-standard gate."""

def __init__(self, param):
super().__init__("my_gate", 1, [param])
# Eagerly create our definition.
Expand Down

0 comments on commit 3dfae88

Please sign in to comment.