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.
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 notpip install -e .[pennylane]
).We should carefully look at this problem and make pennylane imports in a kind of
try...except
way.