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

Uploaded Source

Built Distribution

pyqtorch-1.4.4-py3-none-any.whl (65.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyqtorch-1.4.4.tar.gz
Algorithm Hash digest
SHA256 faafcdb89bb55980f7a36a5138fc8e2223f1446c9a89cc4866119bd5c58aea5f
MD5 db1b35dccd0482527f5cc5f9d9b4d055
BLAKE2b-256 1edfbe7906133976fc4961a3d4fd72e42d90690baa0e89c17a69784af26dd45c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyqtorch-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ccffaeb7c70e59d0b5bc67cca470fe9c692263d02b728cabff5f688449e8d670
MD5 a8fe278b9762d1a90e3c8def1356f78b
BLAKE2b-256 70030fba76625adbdd62b66451b971dd66e9ba22a1362b7dc7f05e6ec614047f

See more details on using hashes here.

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