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.2.0.tar.gz (208.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.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (800.8 kB view details)

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

qutip_cuquantum-0.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (806.0 kB view details)

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

qutip_cuquantum-0.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (813.8 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.2.0.tar.gz.

File metadata

  • Download URL: qutip_cuquantum-0.2.0.tar.gz
  • Upload date:
  • Size: 208.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.2.0.tar.gz
Algorithm Hash digest
SHA256 37a40c9f77adcc28c467242d5c1fa32a45dc3a4a501479bf691164271e95c0b7
MD5 1d560cd459f60f632ce3b57497064a6e
BLAKE2b-256 bb81b4ac1f56c97d5288bca716b96178e85709b718803f2f7ba317c0bb017d96

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.2.0.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.2.0-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.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5dba563e7e86bde54da8b9ed26456fb3e43d2a99f86d9153f222c0b36d3f9bd7
MD5 6ef9db193295d66a8665fe90df9493ee
BLAKE2b-256 708b0f6ccde3b679b251214dddd7ae7a4f45f0c70c1e59cda83248e2977c4585

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.2.0-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.2.0-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.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b0e4922f86662499e66d97bf3a1c84a7c6b2b93f3a98b8636110f91ae9bea147
MD5 5357301a49a473f6018134d781a5921a
BLAKE2b-256 677cd1c71b1e81bb6cf08d16e7515b65a43a3f19f349f6288a6eea8b1efc41ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for qutip_cuquantum-0.2.0-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.2.0-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.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bd23b4144e22c98494c9befdf5d8c398b027106263953fa4c78d4c9a7026503c
MD5 6710b5795969ad58f497aff11dd2d1e6
BLAKE2b-256 01a216d418973f523e68b31c3bd2538d17a92d08050ff37ed2b3b1bde9146249

See more details on using hashes here.

Provenance

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