Linux / amd64
CUDA Quantum is a comprehensive framework for quantum programming. It features:
Using the CUDA Quantum NGC Container requires the host system to have the following installed:
Docker Engine
NVIDIA GPU Drivers
NVIDIA Container Toolkit
For supported versions, see the container release notes. No other installation, compilation, or dependency management is required.
The command to pull the container is:
docker pull nvcr.io/nvidia/cuda-quantum:0.3.0
To run the container interactively:
docker run --gpus all -it --rm nvcr.io/nvidia/cuda-quantum:0.3.0
The examples are located in the examples/
folder.
nvq++ examples/cpp/basics/static_kernel.cpp
./a.out
If you have GPU support (e.g. you successfully provided --gpus to your docker run command), try out the 30 qubit version of this example.
nvq++ examples/cpp/basics/cuquantum_backends.cpp --qpu cuquantum
./a.out
For complete getting started instructions please consult the CUDA Quantum docs
For a general guide on pulling and running containers, see Pulling a Container Image and Running a Container in the NGC Container User Guide.
The CUDA Quantum documentation is hosted along with the source code on GitHub here.
The NVIDIA CUDA Quantum homepage
The image is governed by the following NVIDIA End User License Agreement. By downloading the NVIDIA CUDA Quantum, you accept the terms and conditions of this license. The CUDA Quantum End User License Agreement can be viewed here. Since the image includes components licensed under open-source licenses, the source code for these components can be found here.