pauli_expansion_view_prepare_sort#

cuquantum.bindings.cupauliprop.pauli_expansion_view_prepare_sort(
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 sorting.

Parameters:
  • handle (intptr_t) – Library handle.

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

  • sort_order (SortOrder) – Sort order to apply.

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

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