PauliTerm#
-
class cuquantum.
bindings. cupauliprop. PauliTerm[source]# Empty-initialize an instance of
cupaulipropPauliTerm_t.See also
Methods
- __init__(*args, **kwargs)#
- static from_data(data)[source]#
Create an PauliTerm instance wrapping the given NumPy array.
- Parameters:
data (_numpy.ndarray) – a 1D array of dtype
pauli_term_dtypeholding the data.
- static from_ptr(intptr_t ptr, bool readonly=False)[source]#
Create an PauliTerm instance wrapping the given pointer.
Attributes
- xzbits#
non-owning pointer to the packed X and Z bits arranged as an array of
cupaulipropPackedIntegerType_t- Type: