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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyqtorch-1.7.8.tar.gz.
File metadata
- Download URL: pyqtorch-1.7.8.tar.gz
- Upload date:
- Size: 122.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4e2fca3e58a33e05da77b7ffef42a4d332235308a99b371acb45755d1c87301
|
|
| MD5 |
22c79bb3c3589ea6c05f3a53b3d47480
|
|
| BLAKE2b-256 |
bed26c5cbdca91d9ad1fa60845e52383cf5c46354bccf1dfedd3336cfe206f0b
|
Provenance
The following attestation bundles were made for pyqtorch-1.7.8.tar.gz:
Publisher:
test.yml on pasqal-io/pyqtorch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqtorch-1.7.8.tar.gz -
Subject digest:
f4e2fca3e58a33e05da77b7ffef42a4d332235308a99b371acb45755d1c87301 - Sigstore transparency entry: 241440106
- Sigstore integration time:
-
Permalink:
pasqal-io/pyqtorch@42b8a84e6c4103c37841624afad44c46caaf4e4a -
Branch / Tag:
refs/tags/v1.7.8 - Owner: https://github.com/pasqal-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@42b8a84e6c4103c37841624afad44c46caaf4e4a -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyqtorch-1.7.8-py3-none-any.whl.
File metadata
- Download URL: pyqtorch-1.7.8-py3-none-any.whl
- Upload date:
- Size: 86.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be4522e230004d08ba483a72ef25f7e375bbffedfcd97a040ecf5f0b7b100ad6
|
|
| MD5 |
c3b3ed7ef2f4efb2d489daef60883c2e
|
|
| BLAKE2b-256 |
8ebdb5887048004a5ee6b9a20e06e990a5a6b0ae4b010ecb4362932ba1787049
|
Provenance
The following attestation bundles were made for pyqtorch-1.7.8-py3-none-any.whl:
Publisher:
test.yml on pasqal-io/pyqtorch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqtorch-1.7.8-py3-none-any.whl -
Subject digest:
be4522e230004d08ba483a72ef25f7e375bbffedfcd97a040ecf5f0b7b100ad6 - Sigstore transparency entry: 241440124
- Sigstore integration time:
-
Permalink:
pasqal-io/pyqtorch@42b8a84e6c4103c37841624afad44c46caaf4e4a -
Branch / Tag:
refs/tags/v1.7.8 - Owner: https://github.com/pasqal-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test.yml@42b8a84e6c4103c37841624afad44c46caaf4e4a -
Trigger Event:
push
-
Statement type: