Skip to content

Commit

Permalink
fixmypy (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqc-melf authored Oct 13, 2023
1 parent 8698367 commit dec5f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytket/extensions/qulacs/backends/qulacs_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def get_operator_expectation_value(
if isinstance(coeff, Expr):
qulacs_coeff = complex(coeff.evalf()) # type: ignore
else:
qulacs_coeff = complex(coeff)
qulacs_coeff = complex(coeff) # type: ignore
observable.add_operator(qulacs_coeff, qulacs_qps)

expectation_value = self._expectation_value(state_circuit, observable)
Expand Down

0 comments on commit dec5f51

Please sign in to comment.