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 common solver:

import qutip_cuquantum
from cuquantum.densitymat import WorkStream

qutip_cuquantum.set_as_default(WorkStream())

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.1.tar.gz (201.8 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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (835.5 kB view details)

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

qutip_cuquantum-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (840.2 kB view details)

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

qutip_cuquantum-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (848.3 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.1.tar.gz.

File metadata

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

File hashes

Hashes for qutip_cuquantum-0.1.1.tar.gz
Algorithm Hash digest
SHA256 420e3a828a780651a8a2b3dad2a30c7eefe714fbf3e71e43b69ab78edd568fe7
MD5 fb8fdf12517da514c352fe6ca23125ac
BLAKE2b-256 fa8300ad74491dd7bc0fb884185e10a4c2999e6dd1376609fd18346846c0628c

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.1.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.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9250bb42ead4a725cc387dcc3f82ffbea8d4a9dbe4501203be1e50b2ae356437
MD5 55be4bf7c9e88277ea043e42d933bf22
BLAKE2b-256 be979583cb6738ad35661e4ddd9bd9830441cec81fe659d647e8f4cf0f2a2bec

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.1-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.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4276e004ceecdf5881d9a283bc252570d26031d1025791ba371f303d6fda35c2
MD5 4ac0627a4e36db42af56e2a6ee60c1fa
BLAKE2b-256 438da0a70d8a459be9f621636613260b2b52aa9623f24e3b2616520877667876

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.1-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.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5bd67b6ec0fb52821171ccb4e7de2f888fdf6d1070dbe55b1293e80c533d32c2
MD5 0357a02af74d004d1174b567e0cbd82f
BLAKE2b-256 8c59442d7ae4d8d431f985b5c4057def5f547c95fefe2fc0f643cd8ab57bec5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.1.1-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