qutip-cuquantum


Namequtip-cuquantum JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummarycuQuantum backend for QuTiP
upload_time2025-08-27 16:30:33
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseBSD 3-Clause License Copyright (c) 2025, QuTiP Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
keywords quantum physics dynamics gpu linear-algebra
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://docs.nvidia.com/cuda/cuquantum/latest/getting-started/index.html#installing-cuquantum) 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "qutip-cuquantum",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "quantum, physics, dynamics, gpu, linear-algebra",
    "author": null,
    "author_email": "Eric Gigu\u00e8re <qutip-admin@googlegroups.com>",
    "download_url": "https://files.pythonhosted.org/packages/fa/83/00ad74491dd7bc0fb884185e10a4c2999e6dd1376609fd18346846c0628c/qutip_cuquantum-0.1.1.tar.gz",
    "platform": null,
    "description": "# qutip-cuquantum\n\nProvide cuQuantum's cuDensityMat as a backend for QuTiP.\n\nThis backend is specifically designed for simulating **large, composite quantum systems** by performing tensor network contractions on the GPU.\n\n## Installation\n\nqutip-cuquantum is available on pypi.\n\n```\npip install -U qutip>=5.2.1\npip install qutip-cuquantum\n```\n\n\nIt require cuquantum to be installed at runtime.\nIf you have cuda already installed, you can install dependencies with:\n\n```\npip install qutip-cuquantum[cuda11]\n```\nor\n```\npip install qutip-cuquantum[cuda12]\n```\n\nIf it does not work, you may need to install cuQuantum yourself,\nsee [nvidia's documentation](https://docs.nvidia.com/cuda/cuquantum/latest/getting-started/index.html#installing-cuquantum) for installation instruction.\n\n## Usage\n\nIn simple case, simply calling `set_as_default` before a qutip script should be sufficient to use the backend common solver:\n\n```\nimport qutip_cuquantum\nfrom cuquantum.densitymat import WorkStream\n\nqutip_cuquantum.set_as_default(WorkStream())\n```\n\nqutip-cuquantum work well to speed-up large simulation using `mesolve` or `sesolve`.\nHowever this backend is not compatible with advanced qutip solvers (brmesolve, HEOM) and other various feature.\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause License\n        \n        Copyright (c) 2025, QuTiP\n        \n        Redistribution and use in source and binary forms, with or without\n        modification, are permitted provided that the following conditions are met:\n        \n        1. Redistributions of source code must retain the above copyright notice, this\n           list of conditions and the following disclaimer.\n        \n        2. Redistributions in binary form must reproduce the above copyright notice,\n           this list of conditions and the following disclaimer in the documentation\n           and/or other materials provided with the distribution.\n        \n        3. Neither the name of the copyright holder nor the names of its\n           contributors may be used to endorse or promote products derived from\n           this software without specific prior written permission.\n        \n        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n        AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n        IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n        FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n        DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n        SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n        OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n        OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n        ",
    "summary": "cuQuantum backend for QuTiP",
    "version": "0.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/qutip/qutip-cuquantum/issues",
        "Documentation": "https://qutip-cuquantum.readthedocs.io/en/latest/",
        "Homepage": "https://qutip.org"
    },
    "split_keywords": [
        "quantum",
        " physics",
        " dynamics",
        " gpu",
        " linear-algebra"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8c59442d7ae4d8d431f985b5c4057def5f547c95fefe2fc0f643cd8ab57bec5e",
                "md5": "0357a02af74d004d1174b567e0cbd82f",
                "sha256": "5bd67b6ec0fb52821171ccb4e7de2f888fdf6d1070dbe55b1293e80c533d32c2"
            },
            "downloads": -1,
            "filename": "qutip_cuquantum-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "0357a02af74d004d1174b567e0cbd82f",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.11",
            "size": 848293,
            "upload_time": "2025-08-27T16:30:29",
            "upload_time_iso_8601": "2025-08-27T16:30:29.115822Z",
            "url": "https://files.pythonhosted.org/packages/8c/59/442d7ae4d8d431f985b5c4057def5f547c95fefe2fc0f643cd8ab57bec5e/qutip_cuquantum-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "438da0a70d8a459be9f621636613260b2b52aa9623f24e3b2616520877667876",
                "md5": "4ac0627a4e36db42af56e2a6ee60c1fa",
                "sha256": "4276e004ceecdf5881d9a283bc252570d26031d1025791ba371f303d6fda35c2"
            },
            "downloads": -1,
            "filename": "qutip_cuquantum-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4ac0627a4e36db42af56e2a6ee60c1fa",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.11",
            "size": 840208,
            "upload_time": "2025-08-27T16:30:30",
            "upload_time_iso_8601": "2025-08-27T16:30:30.572385Z",
            "url": "https://files.pythonhosted.org/packages/43/8d/a0a70d8a459be9f621636613260b2b52aa9623f24e3b2616520877667876/qutip_cuquantum-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "be979583cb6738ad35661e4ddd9bd9830441cec81fe659d647e8f4cf0f2a2bec",
                "md5": "55be4bf7c9e88277ea043e42d933bf22",
                "sha256": "9250bb42ead4a725cc387dcc3f82ffbea8d4a9dbe4501203be1e50b2ae356437"
            },
            "downloads": -1,
            "filename": "qutip_cuquantum-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
            "has_sig": false,
            "md5_digest": "55be4bf7c9e88277ea043e42d933bf22",
            "packagetype": "bdist_wheel",
            "python_version": "cp313",
            "requires_python": ">=3.11",
            "size": 835473,
            "upload_time": "2025-08-27T16:30:32",
            "upload_time_iso_8601": "2025-08-27T16:30:32.226780Z",
            "url": "https://files.pythonhosted.org/packages/be/97/9583cb6738ad35661e4ddd9bd9830441cec81fe659d647e8f4cf0f2a2bec/qutip_cuquantum-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fa8300ad74491dd7bc0fb884185e10a4c2999e6dd1376609fd18346846c0628c",
                "md5": "fb8fdf12517da514c352fe6ca23125ac",
                "sha256": "420e3a828a780651a8a2b3dad2a30c7eefe714fbf3e71e43b69ab78edd568fe7"
            },
            "downloads": -1,
            "filename": "qutip_cuquantum-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "fb8fdf12517da514c352fe6ca23125ac",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 201750,
            "upload_time": "2025-08-27T16:30:33",
            "upload_time_iso_8601": "2025-08-27T16:30:33.550137Z",
            "url": "https://files.pythonhosted.org/packages/fa/83/00ad74491dd7bc0fb884185e10a4c2999e6dd1376609fd18346846c0628c/qutip_cuquantum-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-27 16:30:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "qutip",
    "github_project": "qutip-cuquantum",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "qutip-cuquantum"
}
        
Elapsed time: 1.64404s