pygsti.objects.TPParameterizedGate.convert_to_matrix

TPParameterizedGate.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