[Python] Remove dependency to cuQuantum and CUDA
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.1k
- Forks
- 456
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 165
Description
Required prerequisites
- Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.
Describe the feature
CUDA-Q is a platform for quantum computation, although the availability of a fast GPU-based simulator is of course an important aspect.
However, GPU is unnecessary when using NVQC or QPUs, and is problematic because of the time-consuming installation and the difficulty of making CUDA-Q dependent from other libraries.
In the case of C++, if you build without defining environment variables, you can install CUDA-Q without cuQuantum and CUDA, but in the case of Python, they are included in the dependencies e.g. https://github.com/NVIDIA/cuda-quantum/blob/main/pyproject.toml#L21, so they are forced to be installed.
There are two ways to solve this: make it optional or create a separate library like cudaq-core.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Python dependency declaration in pyproject.toml, especially the cuQuantum and CUDA-related entry referenced in the issue. Compare the optional-dependency and separate-library approaches described there, then verify that the Python package can be installed for NVQC or QPU use without requiring cuQuantum or CUDA.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100