qiskit-community / qiskit-nature

Qiskit Nature is an open-source, quantum computing, framework for solving quantum mechanical natural science problems.
https://qiskit-community.github.io/qiskit-nature/
Apache License 2.0
291 stars 197 forks source link

Fix CI mypy for compatibility with latest rustworkx #1310

Closed woodsp-ibm closed 5 months ago

woodsp-ibm commented 5 months ago

Summary

Closes #1309

Version 0.14.0 of rustworkx was recently released and added type annotations

0.14.0 Prelude

This is a new feature release of Rustworkx that adds many new features to the library. The highlights of this release are:

  • Fully type annotated for support with mypy and other tooling

In places a type ignore has previously been needed, but as noted in #1309, it now failing as the ignore is unnecessary and unused.

Details and comments

Removes the type ignore comments from the places where it no longer needed.