cuquantum.cutensornet.state_update_tensor¶
- cuquantum.cutensornet.state_update_tensor(intptr_t handle, intptr_t state, int64_t tensor_id, intptr_t tensor_data, int32_t unitary)[source]¶
Update a tensor operand that has been applied to the tensor network state.
- Parameters
handle (intptr_t) – The library handle.
state (intptr_t) – The tensor network state.
tensor_id (int64_t) – The id that is assigned to the tensor.
tensor_data (intptr_t) – The tensor data.
adjoint (int32_t) – Whether the tensor should be considered as adjoint.
unitary (int32_t) – Whether the tensor represents a unitary operation.
See also