cuquantum-python-jax 0.0.3__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {cuquantum_python_jax-0.0.3/cuquantum_python_jax.egg-info → cuquantum_python_jax-0.0.4}/PKG-INFO +21 -15
  2. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/README.md +17 -11
  3. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/__init__.py +2 -2
  4. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/cppsrc/cudensitymat_jax.cpp +229 -123
  5. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/operator_action.py +323 -0
  6. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/pysrc/__init__.py +8 -0
  7. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/pysrc/base.py +11 -2
  8. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/pysrc/context.py +36 -31
  9. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/pysrc/elementary_operator.py +248 -0
  10. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/pysrc/matrix_operator.py +188 -0
  11. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/pysrc/operator.py +343 -0
  12. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/pysrc/operator_action_prim.py +429 -0
  13. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/pysrc/operator_term.py +509 -0
  14. cuquantum_python_jax-0.0.4/cuquantum/densitymat/jax/utils.py +73 -0
  15. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4/cuquantum_python_jax.egg-info}/PKG-INFO +21 -15
  16. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum_python_jax.egg-info/SOURCES.txt +6 -2
  17. cuquantum_python_jax-0.0.4/cuquantum_python_jax.egg-info/requires.txt +3 -0
  18. cuquantum_python_jax-0.0.4/pyproject.toml +3 -0
  19. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/setup.py +4 -4
  20. cuquantum_python_jax-0.0.3/cuquantum/densitymat/jax/operator_action.py +0 -182
  21. cuquantum_python_jax-0.0.3/cuquantum/densitymat/jax/pysrc/__init__.py +0 -0
  22. cuquantum_python_jax-0.0.3/cuquantum/densitymat/jax/pysrc/operator_action.py +0 -324
  23. cuquantum_python_jax-0.0.3/cuquantum/densitymat/jax/pysrc/operators.py +0 -657
  24. cuquantum_python_jax-0.0.3/cuquantum_python_jax.egg-info/requires.txt +0 -3
  25. cuquantum_python_jax-0.0.3/pyproject.toml +0 -3
  26. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/LICENSE +0 -0
  27. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/MANIFEST.in +0 -0
  28. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/cppsrc/CMakeLists.txt +0 -0
  29. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/cppsrc/cudensitymat_jax.h +0 -0
  30. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/cppsrc/pybind.cpp +0 -0
  31. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum/densitymat/jax/cppsrc/utils.h +0 -0
  32. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum_python_jax.egg-info/dependency_links.txt +0 -0
  33. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum_python_jax.egg-info/not-zip-safe +0 -0
  34. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/cuquantum_python_jax.egg-info/top_level.txt +0 -0
  35. {cuquantum_python_jax-0.0.3 → cuquantum_python_jax-0.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cuquantum-python-jax
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: NVIDIA cuQuantum Python JAX
5
5
  Home-page: https://developer.nvidia.com/cuquantum-sdk
6
6
  Author: NVIDIA Corporation
@@ -16,13 +16,13 @@ Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: Implementation :: CPython
18
18
  Classifier: Environment :: GPU :: NVIDIA CUDA
19
- Classifier: Environment :: GPU :: NVIDIA CUDA :: 13
19
+ Classifier: Environment :: GPU :: NVIDIA CUDA :: 12
20
20
  Requires-Python: >=3.11.0
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
23
  Requires-Dist: pybind11
24
- Requires-Dist: cuquantum-python-cu13~=25.11
25
- Requires-Dist: jax[cuda13-local]<0.9,>=0.8
24
+ Requires-Dist: cuquantum-python-cu12~=26.1.0
25
+ Requires-Dist: jax[cuda12-local]<0.7,>=0.5
26
26
  Dynamic: author
27
27
  Dynamic: author-email
28
28
  Dynamic: classifier
@@ -47,14 +47,16 @@ Please visit the [NVIDIA cuQuantum Python documentation](https://docs.nvidia.com
47
47
 
48
48
  ### Requirements
49
49
 
50
- The install-time dependencies of the cuQuantum Python package include:
50
+ The install-time dependencies of the cuQuantum Python JAX package include:
51
51
 
52
- * cuquantum-python-cu12~=25.11 for CUDA 12 or cuquantum-python-cu13~=25.11 for CUDA 13
52
+ * cuquantum-python-cu12~=26.1.0 for CUDA 12 or cuquantum-python-cu13~=26.1.0 for CUDA 13
53
53
  * jax[cuda12-local]>=0.5,<0.7 for CUDA 12 or jax[cuda13-local]>=0.8,<0.9 for CUDA 13
54
54
  * pybind11
55
55
  * setuptools>=77.0.3
56
56
 
57
- Note: cuQuantum Python JAX is only supported with CUDA 12 and CUDA 13.
57
+ Note:
58
+ 1. cuQuantum Python JAX is only supported with CUDA 12 and CUDA 13.
59
+ 2. cuQuantum Python JAX installation does not support build isolation. The user needs to pass in `--no-build-isolation` to `pip` when installing cuQuantum Python JAX.
58
60
 
59
61
  #### Installation using `jax[cudaXX-local]`
60
62
 
@@ -73,20 +75,24 @@ pip install nvidia-cudnn-cu12
73
75
  pip install nvidia-cuda-cupti-cu12
74
76
  ```
75
77
 
76
- After installing cuDNN and cuPTI, the user may install `cuquantum-python-jax` using `pip` using either:
78
+ After installing cuDNN and cuPTI, the user may install `cuquantum-python-jax` with `pip` using either:
77
79
 
78
80
  ```
79
- pip install cuquantum-python-jax
81
+ pip install --no-build-isolation cuquantum-python-jax
80
82
  ```
81
83
 
82
- or
84
+ in which case the CUDA version will be detected, or one of
83
85
 
84
86
  ```
85
- pip install cuquantum-python-cu12[jax]
86
- pip install cuquantum-python-cu13[jax]
87
+ pip install --no-build-isolation cuquantum-python-cu12[jax]
88
+ pip install --no-build-isolation cuquantum-python-cu13[jax]
87
89
  ```
88
90
 
89
- Note: if cuDNN and cuPTI are installed with `pip`, the user does not need to specify library folders in `LD_LIBRARY_PATH`.
91
+ where the CUDA version is explicitly specified on cuquantum-python.
92
+
93
+ Note:
94
+ 1. If cuDNN and cuPTI are installed with `pip`, the user does not need to specify library folders in `LD_LIBRARY_PATH`.
95
+ 2. When the latter command `pip install --no-build-isolation cuquantum-python-cu12[jax]`/`pip install --no-build-isolation cuquantum-python-cu13[jax]` is used, `--no-build-isolation` applies to both cuquantum-python and cuquantum-python-jax. The user needs to ensure cuquantum-python's build dependencies are installed before the installation.
90
96
 
91
97
  #### Installing from source
92
98
 
@@ -106,8 +112,8 @@ Where `CUDENSITYMAT_ROOT` is the path to the libraries parent directory. For exa
106
112
  Runtime dependencies of the cuQuantum Python package include:
107
113
 
108
114
  * An NVIDIA GPU with compute capability 7.5+
109
- * cuquantum-python-cu12~=25.11 for CUDA 12 or cuquantum-python-cu13~=25.11 for CUDA 13
110
- * jax[cuda12-local]>=0.5,<0.7 for CUDA 12 or jax[cuda13-local]>=0.8<0.9 for CUDA 13
115
+ * cuquantum-python-cu12~=26.1.0 for CUDA 12 or cuquantum-python-cu13~=26.1.0 for CUDA 13
116
+ * jax[cuda12-local]>=0.5,<0.7 for CUDA 12 or jax[cuda13-local]>=0.8,<0.9 for CUDA 13
111
117
  * pybind11
112
118
 
113
119
  ## Developer Notes
@@ -10,14 +10,16 @@ Please visit the [NVIDIA cuQuantum Python documentation](https://docs.nvidia.com
10
10
 
11
11
  ### Requirements
12
12
 
13
- The install-time dependencies of the cuQuantum Python package include:
13
+ The install-time dependencies of the cuQuantum Python JAX package include:
14
14
 
15
- * cuquantum-python-cu12~=25.11 for CUDA 12 or cuquantum-python-cu13~=25.11 for CUDA 13
15
+ * cuquantum-python-cu12~=26.1.0 for CUDA 12 or cuquantum-python-cu13~=26.1.0 for CUDA 13
16
16
  * jax[cuda12-local]>=0.5,<0.7 for CUDA 12 or jax[cuda13-local]>=0.8,<0.9 for CUDA 13
17
17
  * pybind11
18
18
  * setuptools>=77.0.3
19
19
 
20
- Note: cuQuantum Python JAX is only supported with CUDA 12 and CUDA 13.
20
+ Note:
21
+ 1. cuQuantum Python JAX is only supported with CUDA 12 and CUDA 13.
22
+ 2. cuQuantum Python JAX installation does not support build isolation. The user needs to pass in `--no-build-isolation` to `pip` when installing cuQuantum Python JAX.
21
23
 
22
24
  #### Installation using `jax[cudaXX-local]`
23
25
 
@@ -36,20 +38,24 @@ pip install nvidia-cudnn-cu12
36
38
  pip install nvidia-cuda-cupti-cu12
37
39
  ```
38
40
 
39
- After installing cuDNN and cuPTI, the user may install `cuquantum-python-jax` using `pip` using either:
41
+ After installing cuDNN and cuPTI, the user may install `cuquantum-python-jax` with `pip` using either:
40
42
 
41
43
  ```
42
- pip install cuquantum-python-jax
44
+ pip install --no-build-isolation cuquantum-python-jax
43
45
  ```
44
46
 
45
- or
47
+ in which case the CUDA version will be detected, or one of
46
48
 
47
49
  ```
48
- pip install cuquantum-python-cu12[jax]
49
- pip install cuquantum-python-cu13[jax]
50
+ pip install --no-build-isolation cuquantum-python-cu12[jax]
51
+ pip install --no-build-isolation cuquantum-python-cu13[jax]
50
52
  ```
51
53
 
52
- Note: if cuDNN and cuPTI are installed with `pip`, the user does not need to specify library folders in `LD_LIBRARY_PATH`.
54
+ where the CUDA version is explicitly specified on cuquantum-python.
55
+
56
+ Note:
57
+ 1. If cuDNN and cuPTI are installed with `pip`, the user does not need to specify library folders in `LD_LIBRARY_PATH`.
58
+ 2. When the latter command `pip install --no-build-isolation cuquantum-python-cu12[jax]`/`pip install --no-build-isolation cuquantum-python-cu13[jax]` is used, `--no-build-isolation` applies to both cuquantum-python and cuquantum-python-jax. The user needs to ensure cuquantum-python's build dependencies are installed before the installation.
53
59
 
54
60
  #### Installing from source
55
61
 
@@ -69,8 +75,8 @@ Where `CUDENSITYMAT_ROOT` is the path to the libraries parent directory. For exa
69
75
  Runtime dependencies of the cuQuantum Python package include:
70
76
 
71
77
  * An NVIDIA GPU with compute capability 7.5+
72
- * cuquantum-python-cu12~=25.11 for CUDA 12 or cuquantum-python-cu13~=25.11 for CUDA 13
73
- * jax[cuda12-local]>=0.5,<0.7 for CUDA 12 or jax[cuda13-local]>=0.8<0.9 for CUDA 13
78
+ * cuquantum-python-cu12~=26.1.0 for CUDA 12 or cuquantum-python-cu13~=26.1.0 for CUDA 13
79
+ * jax[cuda12-local]>=0.5,<0.7 for CUDA 12 or jax[cuda13-local]>=0.8,<0.9 for CUDA 13
74
80
  * pybind11
75
81
 
76
82
  ## Developer Notes
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES
1
+ # Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES
2
2
  #
3
3
  # SPDX-License-Identifier: BSD-3-Clause
4
4
 
@@ -10,7 +10,7 @@ if not jax.config.jax_enable_x64:
10
10
  raise RuntimeError(f"jax_enable_x64 must be set to True to use cuQuantum Python JAX")
11
11
 
12
12
  from .operator_action import operator_action
13
- from .pysrc.operators import (
13
+ from .pysrc import (
14
14
  ElementaryOperator,
15
15
  MatrixOperator,
16
16
  OperatorTerm,