get_num_packed_integers#
-
cuquantum.
pauliprop. experimental. get_num_packed_integers(int32_t num_qubits) int32_t[source]# Returns the number of packed integers of
cupaulipropPackedIntegerType_tneeded to represent the X bits (or equivalently, the Z bits) of a single Pauli string.- Parameters:
num_qubits (int32_t) – Number of qubits.
- Returns:
- Number of uint64 integers needed to store X bits (or
Z bits) for one Pauli string. To get the total storage requirement, multiply this value by 2.
- Return type:
int32_t
See also