CoefficientTruncationParams#

class cuquantum.bindings.cupauliprop.CoefficientTruncationParams[source]#

Empty-initialize an instance of cupaulipropCoefficientTruncationParams_t.

Methods

__init__(*args, **kwargs)#
static from_data(data)[source]#

Create an CoefficientTruncationParams instance wrapping the given NumPy array.

Parameters:

data (_numpy.ndarray) – a 1D array of dtype coefficient_truncation_params_dtype holding the data.

static from_ptr(
intptr_t ptr,
bool readonly=False,
)[source]#

Create an CoefficientTruncationParams instance wrapping the given pointer.

Parameters:
  • ptr (intptr_t) – pointer address as Python int to the data.

  • readonly (bool) – whether the data is read-only (to the user). default is False.

Attributes

cutoff#

cutoff value for the magnitude of the Pauli term’s coefficient

Type:

float

ptr#

Get the pointer address to the data as Python int.