File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
qiskit_algorithms/gradients/reverse Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ def derive_circuit(
136136 raise ValueError (f"The parameter { parameter } is not in this circuit." )
137137
138138 # check uniqueness
139- seen_parameters = set ()
139+ seen_parameters : set [ Parameter ] = set ()
140140 for instruction in circuit .data :
141141 # get parameters in the current operation
142142 new_parameters = set ()
Original file line number Diff line number Diff line change 11# This code is part of a Qiskit project.
22#
3- # (C) Copyright IBM 2022, 2023 .
3+ # (C) Copyright IBM 2022, 2024 .
44#
55# This code is licensed under the Apache License, Version 2.0. You may
66# obtain a copy of this license in the LICENSE.txt file in the root directory
Original file line number Diff line number Diff line change 11# This code is part of a Qiskit project.
22#
3- # (C) Copyright IBM 2023.
3+ # (C) Copyright IBM 2023, 2024 .
44#
55# This code is licensed under the Apache License, Version 2.0. You may
66# obtain a copy of this license in the LICENSE.txt file in the root directory
You can’t perform that action at this time.
0 commit comments