Skip to main content

Q-Gear

Project description

qgear

paper link: https://arxiv.org/pdf/2504.03967

image.png

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

https://jupyter.nersc.gov/

Select the kernel image.png

go to nbs/example.ipynb; run example image-2.png

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

image.png

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

qgear-1.1.1.tar.gz (403.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qgear-1.1.1-py3-none-any.whl (444.9 kB view details)

Uploaded Python 3

File details

Details for the file qgear-1.1.1.tar.gz.

File metadata

  • Download URL: qgear-1.1.1.tar.gz
  • Upload date:
  • Size: 403.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for qgear-1.1.1.tar.gz
Algorithm Hash digest
SHA256 87df5523c534f7c5d1f3a8dbd3381f9d55415fb42f13cbf1178b33243d0763e9
MD5 3497fb1f04518e8e10d25802d7916d4e
BLAKE2b-256 de754c6a9c0a233f2102bff81bde668922425b03932e18c9deae6d66cd7d8e8e

See more details on using hashes here.

File details

Details for the file qgear-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: qgear-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 444.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for qgear-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41d6472ce2bac67a92f99af1d665d7907c27c8aa9549d618ac71de2769e4f151
MD5 3ab68e7e2b4daab2127ad5404677c4b0
BLAKE2b-256 47f0bed6841a77f24cd2d0581affe5da5d9ad569635aa967827c2d048f662467

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page