Python objects & constants¶
Objects¶
NumPy dtype object that represents the |
|
NumPy dtype object that represents the |
|
NumPy dtype object that represents the |
|
NumPy dtype object that represents the |
Enums¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Python functions¶
Handle Management API¶
|
Create a cuTensorNet handle. |
|
Destroy a cuTensorNet handle. |
Network Descriptor API¶
|
Create a tensor network descriptor. |
|
Destroy a tensor network descriptor. |
|
Get the output tensor's metadata. |
Get the networks output tensor descriptor. |
Tensor Descriptor API¶
|
Create a tensor descriptor. |
|
Destroy a tensor descriptor. |
|
Get the tensor's metadata. |
Contraction Optimizer API¶
Create a contraction optimizer info object. |
|
Create a contraction optimizer info object from the packed data. |
|
Update an existing contraction optimizer info object from the packed data. |
|
|
Destroy a contraction optimizer info object. |
Get the Python data type of the corresponding optimizer info attribute. |
|
Get the optimizer info attribute. |
|
Set the optimizer info attribute. |
|
Get the required buffer size for packing the optimizer info object. |
|
Pack the contraction optimizer info data into a contiguous buffer. |
|
Create a contraction optimizer config object. |
|
Destroy a contraction optimizer config object. |
|
Get the Python data type of the corresponding optimizer config attribute. |
|
Get the optimizer config attribute. |
|
Set the optimizer config attribute. |
|
|
Optimize the contraction path, slicing, etc, for the given tensor network. |
Contraction Plan API¶
|
Create a contraction plan for the given tensor network and the associated path. |
|
Destroy a contraction plan. |
Create a handle to hold all autotune parameters. |
|
Destroy the autotue preference handle. |
|
Get the Python data type of the corresponding autotune preference attribute. |
|
Get the autotue preference attributes. |
|
Set the autotue preference attributes. |
|
|
Autotune the contraction plan to find the best kernels for each pairwise tensor contraction. |
Workspace Management API¶
|
Create a workspace descriptor. |
|
Destroy a workspace descriptor. |
|
Compute the required workspace sizes. |
Compute the required workspace sizes for tensor network contraction. |
|
|
Compute the required workspace sizes for |
|
Compute the required workspace sizes for |
Compute the required workspace sizes for |
|
|
Get the workspace size for the corresponding preference and memory space. |
|
Set the workspace pointer and size for the corresponding memory space in the workspace descriptor for later use. |
|
Get the workspace pointer and size for the corresponding memory space that are set in a workspace descriptor. |
Memory Management API¶
|
Set the device memory handler for cuTensorNet. |
|
Get the device memory handler for cuTensorNet. |
Network Contraction API¶
|
Perform the contraction of the input tensors. |
|
Perform the contraction of the input tensors. |
Slice Group API¶
Create a slice group that contains a sequence of slice IDs from |
|
|
Create a slice group from a sequence of slice IDs. |
|
Destroy the slice group. |
Approximate Tensor Network Execution API¶
|
Perform QR decomposition of a tensor. |
|
Perform SVD decomposition of a tensor. |
|
Perform gate split operation. |
Tensor SVD Config API¶
|
Create a tensor SVD config object. |
|
Destroy a tensor SVD config object. |
|
Get the Python data type of the corresponding tensor SVD config attribute. |
Get the tensor SVD config attribute. |
|
Set the tensor SVD config attribute. |
Tensor SVD Info API¶
|
Create a tensor SVD info object. |
|
Destroy a tensor SVD info object. |
|
Get the Python data type of the corresponding tensor SVD info attribute. |
Get the tensor SVD info attribute. |
Distributed Parallelization API¶
Reset the distributed communicator. |
|
|
Get the number of distributed ranks. |
|
Get the current process rank. |
|
Synchronize the distributed communicator. |
|
Simple helper to get the address to and size of a |
Versioning API¶
Query the version of the cuTensorNet library. |
|
Query the version of the CUDA runtime used to build cuTensorNet. |