Q-Gear
Project description
qgear
paper link: https://arxiv.org/pdf/2504.03967
Preliminary
- Let’s assume you already have a computational GPU node allocated on HPC
- Checking the NVIDIA GPU
nvidia-smi
- Create a env (we do not recommend using default such .local / HOME)
- Note that more than one GPU support need to enable MPI > the way we choose is high performance lustre file system
1. Install ENV
clone repo
git clone git@github.com:gzquse/qgear.git`
cd qgear
module load conda
conda create --prefix=/pscratch/sd/{location}/{username}/qgear -y python=3.11 pip
conda activate $SCRATCH/qgear
pip install -u qgear
pip install -u ipykernel
python -m ipykernel install --user --name qgear --display-name qgear
2. Open Jupyter Notebook
NERSC jupyter
Select the kernel
go to nbs/example.ipynb; run example
Pypi
https://pypi.org/project/qgear/
Demos
1. simple speed up with random circuit and QFT
https://gzquse.github.io/qgear/examples.html
2. quantum image encoding
see appendix F in the paper https://gzquse.github.io/qgear/apps.html
local development
. ./pm_martin.dev.source
# make sure qgear package is installed in development mode
https://nbdev.fast.ai/tutorials/tutorial.html
pip3 install -e '.[dev]'
pip3 install qgear
# compile to have changes apply to qgear
nbdev_prepare
Goal
build the versatile all-in-one quantum accelerator for HPC-QPU hybrid regime that supports all the mainstream quantum frameworks.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qgear-1.1.0.tar.gz.
File metadata
- Download URL: qgear-1.1.0.tar.gz
- Upload date:
- Size: 403.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
013abf0fe08a09391c67b1fc05c1153622de77e818e2b40610249c59cb72d96f
|
|
| MD5 |
68cb10eb241e2dff1b2fcd82cf682f86
|
|
| BLAKE2b-256 |
1f8fd037b7dc466ac9cbb362ec9bf60d3b549362983f67299df983e3bd68589d
|
File details
Details for the file qgear-1.1.0-py3-none-any.whl.
File metadata
- Download URL: qgear-1.1.0-py3-none-any.whl
- Upload date:
- Size: 444.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaed72bda454253c77051547d25f87003fdb9bf84e8cc98e8953461c5c7c2928
|
|
| MD5 |
8a8a0005f35e511d734518e733513636
|
|
| BLAKE2b-256 |
fd6fbb2363c116741d9ce85ea006d55e1c17931aff1ca746443043664738bc9c
|