TruncationStrategy#
-
class cuquantum.
bindings. cupauliprop. TruncationStrategy[source]# Empty-initialize an instance of
cupaulipropTruncationStrategy_t.See also
Methods
- __init__(*args, **kwargs)#
- static from_data(data)[source]#
Create an TruncationStrategy instance wrapping the given NumPy array.
- Parameters:
data (_numpy.ndarray) – a 1D array of dtype
truncation_strategy_dtypeholding the data.
- static from_ptr(intptr_t ptr, bool readonly=False)[source]#
Create an TruncationStrategy instance wrapping the given pointer.
Attributes