https://github.com/splch/cuda-quantum-101
https://github.com/splch/cuda-quantum-101
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/splch/cuda-quantum-101
- Owner: splch
- Created: 2024-02-01T19:46:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T20:32:21.000Z (over 2 years ago)
- Last Synced: 2026-03-02T10:23:43.483Z (4 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CUDA Quantum 101
Quickly start with CUDA Quantum 101 using our Colab notebook:
[](https://colab.research.google.com/github/splch/cuda-quantum-101/blob/main/demo.ipynb)
## Installation
Get an [IonQ API key](https://cloud.ionq.com/settings/keys) to use the backends.
If installation via `pip install -r requirements.txt` encounters issues, use Docker as an alternative:
```shell
docker build -t cuda-quantum -f Dockerfile . && \
docker run $(test -f .env && echo "--env-file .env") -p 8888:8888 -it cuda-quantum
```
Access the Jupyter server at [0.0.0.0:8888](http://0.0.0.0:8888/).
## Running Examples
To run examples, execute `demo.ipynb` or compile and run `demo.cpp` with your IONQ API key:
```shell
export IONQ_API_KEY="your_api_key_here"
nvq++ --target ionq demo.cpp
```