cuquantum.cutensornet.create_expectation¶
- cuquantum.cutensornet.create_expectation(intptr_t handle, intptr_t tensor_network_state, intptr_t tensor_network_operator) intptr_t [source]¶
创建张量网络状态期望值的表示。
- 参数
handle (intptr_t) – cuTensorNet 库句柄。
tensor_network_state (intptr_t) – 已定义的张量网络状态。
tensor_network_operator (intptr_t) – 已定义的张量网络算符。
- 返回值
张量网络期望值表示。
- 返回类型
intptr_t