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(
136
136
raise ValueError (f"The parameter { parameter } is not in this circuit." )
137
137
138
138
# check uniqueness
139
- seen_parameters = set ()
139
+ seen_parameters : set [ Parameter ] = set ()
140
140
for instruction in circuit .data :
141
141
# get parameters in the current operation
142
142
new_parameters = set ()
Original file line number Diff line number Diff line change 1
1
# This code is part of a Qiskit project.
2
2
#
3
- # (C) Copyright IBM 2022, 2023 .
3
+ # (C) Copyright IBM 2022, 2024 .
4
4
#
5
5
# This code is licensed under the Apache License, Version 2.0. You may
6
6
# 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 1
1
# This code is part of a Qiskit project.
2
2
#
3
- # (C) Copyright IBM 2023.
3
+ # (C) Copyright IBM 2023, 2024 .
4
4
#
5
5
# This code is licensed under the Apache License, Version 2.0. You may
6
6
# 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