Python objects & constants¶
Objects¶
|
Create a tensor network object specified as an Einstein summation expression. |
|
Protocol for memory manager plugins. |
|
An RAII class for a device memory buffer. |
|
Create a converter object that can generate Einstein summation expressions and tensor operands for a given circuit. |
|
A data class for providing options to the |
|
A data class for capturing optimizer information. |
|
A data class for providing options to the cuTensorNet optimizer. |
|
A data class for capturing the path finder options. |
|
A data class for capturing the reconfiguration options. |
|
A data class for capturing the slicer options. |
Enums¶
Here is a collection of enums supported by both custatevec
and cutensornet
modules.
Warning
In a future release, enums exposed here will be deprecated and removed in favor of those imported from CUDA Python.
|
An enumeration of CUDA compute types. |
|
An enumeration of |
|
An enumeration of library version information. |
Python functions¶
|
Evaluate the Einstein summation convention on the operands. |
|
Evaluate the "best" contraction order by allowing the creation of intermediate tensors. |
|
A drop-in replacement of |
|
A drop-in replacement of |
Command Line Support¶
The outputs of python -m cuquantum
can be used in your build system to help discover the location of
binaries used by cuQuantum Python.
usage: __main__.py [-h] [--includes] [--libs]
[--target {custatevec,cutensornet}]
options:
-h, --help show this help message and exit
--includes get cuQuantum include flags
--libs get cuQuantum linker flags
--target {custatevec,cutensornet}
get the linker flag for the target cuQuantum component