ERROR (qiskit-aer,lib/python3.8/site-packages/qiskit_aer/backends/controller_wrappers.cpython-38-x86_64-linux-gnu.so): Needed DSO lib/libcustatevec.so.1 found in ['custatevec', 'custatevec', 'custatevec']
ERROR (qiskit-aer,lib/python3.8/site-packages/qiskit_aer/backends/controller_wrappers.cpython-38-x86_64-linux-gnu.so): .. but ['custatevec', 'custatevec', 'custatevec'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)
ERROR (qiskit-aer,lib/python3.8/site-packages/qiskit_aer/backends/controller_wrappers.cpython-38-x86_64-linux-gnu.so): Needed DSO lib/libcutensornet.so.2 found in ['cutensornet', 'cutensornet', 'cutensornet']
ERROR (qiskit-aer,lib/python3.8/site-packages/qiskit_aer/backends/controller_wrappers.cpython-38-x86_64-linux-gnu.so): .. but ['cutensornet', 'cutensornet', 'cutensornet'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)
This happens because cuquantum does not set run_exports, and it appears that it doesn't re-export the requirements from cusv/cutn (with hindsight this is probably correct), so we need to fix it manually.
Solution to issue cannot be found in the documentation.
Issue
When using
cuquantum
as a build-time dependency in https://github.com/conda-forge/qiskit-aer-feedstock/pull/19, I noticed that there appears overlinking errors:https://github.com/conda-forge/qiskit-aer-feedstock/runs/19570312421
This happens because
cuquantum
does not setrun_exports
, and it appears that it doesn't re-export the requirements from cusv/cutn (with hindsight this is probably correct), so we need to fix it manually.Installed packages
Environment info