qml.math.iscomplex

iscomplex(tensor, like=None)[source]

Return True if the tensor has a non-zero complex component.