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 .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorly-quantum-0.1.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tensorly_quantum-0.1.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file tensorly-quantum-0.1.0.tar.gz.

File metadata

  • Download URL: tensorly-quantum-0.1.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for tensorly-quantum-0.1.0.tar.gz
Algorithm Hash digest
SHA256 610325fc8cddaa15600f0280c12b931a85af8597eea7b8f3f79cc4aabdceab1b
MD5 3da897295a53c72b87f63b8854b44521
BLAKE2b-256 a11f99813496a4a1e2f58a3a74ba868839da4ae8fe867824060e0b93c71ef82b

See more details on using hashes here.

File details

Details for the file tensorly_quantum-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tensorly_quantum-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for tensorly_quantum-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4d084a5623474602fbc1f87cd2a15aeec8eb9ddc3b84c1095b12c8993ffa571
MD5 901f067f64134d9e2768154d9fb946da
BLAKE2b-256 0811d8c5ba2917717c29374a4aa3a1112ba604c201090902fc782569603a1171

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

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