state_update_tensor_operator_gradient#
-
cuquantum.
bindings. cutensornet. state_update_tensor_operator_gradient( - intptr_t handle,
- intptr_t tensor_network_state,
- int64_t tensor_id,
- intptr_t gradient_data,
Updates the gradient output buffer for a tensor operator that was previously applied with gradient.
- Parameters:
handle (intptr_t) – cuTensorNet library handle.
tensor_network_state (intptr_t) – Tensor network state.
tensor_id (int64_t) – Tensor id assigned during the
state_apply_tensor_operator_with_gradient()call.gradient_data (intptr_t) – Device-accessible pointer for gradient output.