pauli_expansion_view_prepare_deduplication#

cuquantum.bindings.cupauliprop.pauli_expansion_view_prepare_deduplication(
intptr_t handle,
intptr_t view_in,
int sort_order,
int64_t max_workspace_size,
intptr_t workspace,
)[source]#

Prepares a Pauli expansion view for deduplication.

Parameters:
  • handle (intptr_t) – Library handle.

  • view_in (intptr_t) – Pauli expansion view to be deduplicated.

  • sort_order (SortOrder) – Sort order to apply to the output expansion. Use CUPAULIPROP_SORT_ORDER_NONE if sorting is not required. Currently, only CUPAULIPROP_SORT_ORDER_INTERNAL and CUPAULIPROP_SORT_ORDER_NONE are supported.

  • max_workspace_size (int64_t) – Maximum workspace size limit in bytes.

  • workspace (intptr_t) – Workspace descriptor with the required workspace buffer size.