cuquantum.cutensornet.workspace_compute_contraction_sizes¶
- cuquantum.cutensornet.workspace_compute_contraction_sizes(intptr_t handle, intptr_t tn_desc, intptr_t info, intptr_t workspace)[source]¶
Compute the required workspace sizes for tensor network contraction.
- Parameters
handle (intptr_t) – The library handle.
tn_desc (intptr_t) – The tensor network descriptor.
info (intptr_t) – The optimizer info handle.
workspace (intptr_t) – The workspace descriptor.