pygsti.objects.LinearlyParameterizedGate.convert_to_matrix

LinearlyParameterizedGate.convert_to_matrix(M)

Static method that converts a matrix-like object to a 2D numpy array.

Parameters:M (array_like) –
Returns:
Return type:numpy array