pygsti.objects.StaticSPAMVec.deriv_wrt_params¶
-
StaticSPAMVec.
deriv_wrt_params
()¶ Construct a matrix whose columns are the derivatives of the SPAM vector with respect to a single param. Thus, each column is of length get_dimension and there is one column per SPAM vector parameter. An empty 2D array in the StaticSPAMVec case (num_params == 0).
Returns: Array of derivatives, shape == (dimension, num_params) Return type: numpy array