Skip to main content

cuQuantum backend for QuTiP

Project description

qutip-cuquantum

Provide cuQuantum's cuDensityMat as a backend for QuTiP.

This backend is specifically designed for simulating large, composite quantum systems by performing tensor network contractions on the GPU.

Installation

qutip-cuquantum is available on pypi.

pip install -U qutip>=5.2.1
pip install qutip-cuquantum

It require cuquantum to be installed at runtime. If you have cuda already installed, you can install dependencies with:

pip install qutip-cuquantum[cuda11]

or

pip install qutip-cuquantum[cuda12]

If it does not work, you may need to install cuQuantum yourself, see nvidia's documentation for installation instruction.

Usage

In simple case, simply calling set_as_default before a qutip script should be sufficient to use the backend in common solver:

import qutip_cuquantum
from cuquantum.densitymat import WorkStream

qutip_cuquantum.set_as_default(WorkStream())

It can also be used as a context:

with CuQuantumBackend(ctx):
    ...

qutip-cuquantum work well to speed-up large simulation using mesolve or sesolve. However this backend is not compatible with advanced qutip solvers (brmesolve, HEOM) and other various feature.

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

qutip_cuquantum-0.1.2.tar.gz (204.1 kB view details)

Uploaded Source

Built Distributions

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

qutip_cuquantum-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (798.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

qutip_cuquantum-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (802.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

qutip_cuquantum-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (809.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file qutip_cuquantum-0.1.2.tar.gz.

File metadata

  • Download URL: qutip_cuquantum-0.1.2.tar.gz
  • Upload date:
  • Size: 204.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qutip_cuquantum-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5d1b852478ea9d8d057c51b723e554abc37c9174dc82df5f98c66944c6ed4e27
MD5 04067af433998ed5a6c797d0e1658563
BLAKE2b-256 8514c309099311f743548b5e2822e34dba35d225f1c3d1baf70770ed813cb664

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.2.tar.gz:

Publisher: build.yml on qutip/qutip-cuquantum

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

File details

Details for the file qutip_cuquantum-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qutip_cuquantum-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e10458da6c04472ae831cbeb8fc08916090305c73c488ee1ba9cc9f6baa2c5e4
MD5 ab656129c0cd00da6f63d2b2bd52a210
BLAKE2b-256 326876765ff9cf73e34427b0f5209f51e7ec240c9780f527b518cb3fbcbfe688

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on qutip/qutip-cuquantum

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

File details

Details for the file qutip_cuquantum-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qutip_cuquantum-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc9d61cdd48e0c0fecdf0d57d3a294f1de382561142f8fe914dcf0fd64a58229
MD5 2d4232f64b0a47c990985e433c08d9af
BLAKE2b-256 1ccc014d7fe44a5ef7e596c421a9fbc55203b0441abb7ab96f5edeef0e129332

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on qutip/qutip-cuquantum

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

File details

Details for the file qutip_cuquantum-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for qutip_cuquantum-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 542a6b169e614ad006c12c39d93eba519863b9c9fea778b7d2b5adef6ef83127
MD5 544a683789994035cfe9edec89c01f47
BLAKE2b-256 6dc246c6d743f0e27af451d3e983f4efe57fc90dcdcd376e4a0731ec10769726

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on qutip/qutip-cuquantum

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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page