cuquantum.cutensornet.create_expectation

cuquantum.cutensornet.create_expectation(intptr_t handle, intptr_t tensor_network_state, intptr_t tensor_network_operator) intptr_t[source]

Creates a representation of the tensor network state expectation value.

Parameters
  • handle (intptr_t) – cuTensorNet library handle.

  • tensor_network_state (intptr_t) – Defined tensor network state.

  • tensor_network_operator (intptr_t) – Defined tensor network operator.

Returns

Tensor network expectation value representation.

Return type

intptr_t