network_set_optimizer_info#

cuquantum.bindings.cutensornet.network_set_optimizer_info(
intptr_t handle,
intptr_t network_desc,
intptr_t optimizer_info,
)[source]#

Provides an optimized contraction path as well as slicing info to the tensor network.

Parameters:
  • handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.

  • network_desc (intptr_t) – Describes the topology of the tensor network (i.e., all tensors, their connectivity, and modes).

  • optimizer_info (intptr_t) – Pointer to cutensornetContractionOptimizerInfo_t holding path and slicing configs.