pauli_expansion_is_deduplicated#

cuquantum.bindings.cupauliprop.pauli_expansion_is_deduplicated(
intptr_t handle,
intptr_t pauli_expansion,
) int32_t[source]#

Queries whether a Pauli operator expansion is deduplicated. i.e. guaranteed to not contain duplicate Pauli strings or may otherwise potentially contain duplicates Pauli strings.

Parameters:
  • handle (intptr_t) – Library handle.

  • pauli_expansion (intptr_t) – Pauli operator expansion.

Returns:

Indicating whether the Pauli operator expansion is deduplicated. True (!= 0) if the Pauli operator expansion is guaranteed to not contain duplicate Pauli strings, false (0) if no such guarantee can be made (though it may be incidentally the case).

Return type:

int32_t