pygsti.objects.FullyParameterizedSPAMVec.deriv_wrt_params¶
-
FullyParameterizedSPAMVec.
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.
Returns: Array of derivatives, shape == (dimension, num_params) Return type: numpy array