Skip to main content

TensorLy-Quantum is a Python library for Tensor-Based Quantum Machine Learning that builds on top of TensorLy and PyTorch.

With TensorLy-Quantum, you can easily:

  • Create large quantum circuit: Tensor network formalism requires up to exponentially less memory for quantum simulation than traditional vector and matrix approaches.

  • Leverage tensor methods: the state vectors are efficiently represented in factorized form as Tensor-Rings (MPS) and the operators as TT-Matrices (MPO)

  • Efficient simulation: tensorly-quantum leverages the factorized structure to efficiently perform quantum simulation without ever forming the full, dense operators and state-vectors

  • Multi-Basis Encoding: we provide multi-basis encoding out-of-the-box for scalable experimentation

  • Solve hard problems: we provide all the tools to solve the MaxCut problem for an unprecendented number of qubits / vertices

Installing TensorLy-Quantum

Through pip

pip install tensorly-quantum

From source

git clone https://github.com/tensorly/quantum
cd quantum
pip install -e .

Metadata

Release files for tensorly-quantum 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tensorly-quantum 0.1.0
File Size Uploaded
tensorly-quantum-0.1.0.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tensorly-quantum 0.1.0
File Interpreter ABI Platform
tensorly_quantum-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 50.3 kB

Release files / tensorly-quantum-0.1.0.tar.gz

Download URL tensorly-quantum-0.1.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
610325fc8cddaa15600f0280c12b931a85af8597eea7b8f3f79cc4aabdceab1b
BLAKE2b-256 checksum
How to use checksums
a11f99813496a4a1e2f58a3a74ba868839da4ae8fe867824060e0b93c71ef82b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / tensorly_quantum-0.1.0-py3-none-any.whl

Download URL tensorly_quantum-0.1.0-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4d084a5623474602fbc1f87cd2a15aeec8eb9ddc3b84c1095b12c8993ffa571
BLAKE2b-256 checksum
How to use checksums
0811d8c5ba2917717c29374a4aa3a1112ba604c201090902fc782569603a1171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page