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.5.2.tar.gz (96.6 kB view details)

Uploaded Source

Built Distribution

pyqtorch-1.5.2-py3-none-any.whl (73.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyqtorch-1.5.2.tar.gz
Algorithm Hash digest
SHA256 519dda8fb4e1f0bd65efeef0f022be54916e2bbc259d0f8f721a5adfc59cc968
MD5 8a7599657eaedb9e51bedf217aaa8494
BLAKE2b-256 f50afda6b8cbe5bb99614419e861391dd86128ae8b88624e72c497296dfa0025

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqtorch-1.5.2.tar.gz:

Publisher: test.yml on pasqal-io/pyqtorch

Attestations:

File details

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

File metadata

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

File hashes

Hashes for pyqtorch-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 793cedecfe6bde917c57be34527d13cbb14fde7c406484528ec5b7f0e04b1d2a
MD5 95a1daae55e098997f9ae146c6ddb44b
BLAKE2b-256 0a250334526c9cf49e4a640d98cea55b429407dd0855e8d609e6df2ae900be4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyqtorch-1.5.2-py3-none-any.whl:

Publisher: test.yml on pasqal-io/pyqtorch

Attestations:

Supported by

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