qc2nl / qc2

Facilitate the orchestration of quantum chemistry applications on quantum computers
https://qc2.readthedocs.io/
Apache License 2.0
3 stars 2 forks source link

Fix installation in case of Qiskit-Nature only #60

Closed Cmurilochem closed 2 months ago

Cmurilochem commented 6 months ago

Recently realized that there are still some direct imports of pennylane within our codebase, which breaks all tests in case of pure qc2 qiskit-nature installations, e.g, pip install -e . (and not pip install -e .[pennylane]).

We should carefully look at this problem and make pennylane imports in a kind of try...except way.