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 Coverage

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

Uploaded Source

Built Distribution

pyqtorch-1.7.5-py3-none-any.whl (81.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyqtorch-1.7.5.tar.gz
  • Upload date:
  • Size: 105.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyqtorch-1.7.5.tar.gz
Algorithm Hash digest
SHA256 b8ff7ebdfc868b38e6ffb0cae53984fb4b2842e97ffd62d9ef726cd1d8b70004
MD5 bff4df15aed3a9c5ade378546e98b6cf
BLAKE2b-256 40bf2823e7234f9105238ffc4d66c4f39257d65e06e414f62ca3b6d2f377a7b3

See more details on using hashes here.

Provenance

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

Publisher: test.yml on pasqal-io/pyqtorch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pyqtorch-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 81.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyqtorch-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ca57343762c6be9c03a4a24221cb45304ba629dbb11d1b3b47a064b613d2a665
MD5 284d7cc780c5f0aab52611c6d7979b95
BLAKE2b-256 a3f2af0bc583eb58ce0014ffcc8f4e789fe8955fa543cbdb99f1dc85f455a629

See more details on using hashes here.

Provenance

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

Publisher: test.yml on pasqal-io/pyqtorch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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