NVIDIA / cuda-quantum

C++ and Python support for the CUDA Quantum programming model for heterogeneous quantum-classical workflows
https://nvidia.github.io/cuda-quantum/
Other
429 stars 149 forks source link

Python version support #1611

Open khalatepradnya opened 2 months ago

khalatepradnya commented 2 months ago
ACE07-Sev commented 1 month ago

I am currently trying to pip install cudaq, but it gives this error

PS C:\Users\A.C.EA\OneDrive\Documents\GitHub\QICKIT>pip install cuda-quantum
ERROR: Could not find a version that satisfies the requirement cuda-quantum (from versions: none)
ERROR: No matching distribution found for cuda-quantum

I'm on Windows, with python version 3.11.9.

bmhowe23 commented 1 month ago

Sorry @ACE07-Sev, but we do not have any Windows wheels for CUDA-Q at this time. Only Linux wheels are currently available. However, Docker images are available here: https://catalog.ngc.nvidia.com/orgs/nvidia/teams/quantum/containers/cuda-quantum/tags.

ACE07-Sev commented 1 month ago

What python versions are currently supported by CUDA-Q? I set up VS Code through WSL2, and I made a venv with python==3.12.3 but when I try to pip install the same thing happens. However, when I pip install through Terminal (which by default only uses 3.10) it works and I can install it.

So, right now I can't install the package inside venv.

1tnguyen commented 1 month ago

Hi @ACE07-Sev,

We have CUDA-Q Python wheels for Python 3.8-3.11.

ACE07-Sev commented 1 month ago

Thank you very much! Yes, I was able to install it and have begun working on the task.