cuquantum.cutensornet.get_output_state_details

cuquantum.cutensornet.get_output_state_details(intptr_t handle, intptr_t state) tuple[source]

Get the output state tensors’ metadata.

Parameters
  • handle (intptr_t) – The library handle.

  • state (intptr_t) – The tensor network state.

Returns

The metadata of the output tensor: (num_tensors, num_modes, extents, strides).

Return type

tuple