Skip to main content

An efficient, large-scale emulator designed for quantum machine learning, seamlessly integrated with a PyTorch backend. Please refer to https://pyqtorch.readthedocs.io/en/latest/ for setup and usage info, along with the full documentation.

Project description

pyqtorch

pyqtorch is a PyTorch-based state vector simulator designed for quantum machine learning. It acts as the main backend for Qadence, a digital-analog quantum programming interface. pyqtorch allows for writing fully differentiable quantum programs using both digital and analog operations; enabled via a intuitive, torch-based syntax.

Linting / Tests/ Documentation License Pypi

Installation guide

pyqtorch can be installed from PyPI with pip as follows:

pip install pyqtorch

Install from source

We recommend to use the hatch environment manager to install pyqtorch from source:

python -m pip install hatch

# get into a shell with all the dependencies
python -m hatch shell

# run a command within the virtual environment with all the dependencies
python -m hatch run python my_script.py

Please note that hatch will not combine nicely with other environment managers such Conda. If you want to use Conda, install pyqtorch from source using pip:

# within the Conda environment
python -m pip install -e .

Contributing

Please refer to CONTRIBUTING to learn how to contribute to pyqtorch.

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

pyqtorch-1.4.8.tar.gz (89.0 kB view details)

Uploaded Source

Built Distribution

pyqtorch-1.4.8-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file pyqtorch-1.4.8.tar.gz.

File metadata

  • Download URL: pyqtorch-1.4.8.tar.gz
  • Upload date:
  • Size: 89.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyqtorch-1.4.8.tar.gz
Algorithm Hash digest
SHA256 587fd4cb72a95f1e1b8498f678b42ea8c17f6407274ff5ff3f486c643fd078b4
MD5 48da720f6ac4b8d18c58e9118a8a66b4
BLAKE2b-256 e556e1b7ef97f30ddf2d7e6640ef9df95867a40ed65047eab2627bd2b8e43008

See more details on using hashes here.

File details

Details for the file pyqtorch-1.4.8-py3-none-any.whl.

File metadata

  • Download URL: pyqtorch-1.4.8-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for pyqtorch-1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 24d687c7a9c9e14ebfb9581523ef241d7d211beceea0362a8eb6d14ecb9dc2f5
MD5 3c8be2a9d20ff7b90a47df77c3bac285
BLAKE2b-256 99e4e3043d4321e0616a13ac0590ea999d39dcf712e5aa3a5d5aa2849b545167

See more details on using hashes here.

Supported by

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