Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
eddddddy committed Jul 14, 2023
1 parent bca5a1c commit 1d5898e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pennylane/tape/qscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,9 +771,7 @@ def bind_new_parameters(self, params: Sequence[TensorLike], indices: Sequence[in
new_operations = new_ops[len(self._prep) : len(self.operations)]
new_measurements = new_ops[len(self.operations) :]

new_tape = self.__class__(
new_operations, new_measurements, new_prep, shots=self.shots
)
new_tape = self.__class__(new_operations, new_measurements, new_prep, shots=self.shots)
new_tape.trainable_params = self.trainable_params
new_tape._qfunc_output = self._qfunc_output

Expand Down

0 comments on commit 1d5898e

Please sign in to comment.