Skip to content

Commit 0c99ccb

Browse files
committed
copyright & mypy
1 parent a88ce0a commit 0c99ccb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

qiskit_algorithms/gradients/reverse/derive_circuit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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()

qiskit_algorithms/gradients/reverse/reverse_gradient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

qiskit_algorithms/gradients/reverse/reverse_qgt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

0 commit comments

Comments
 (0)