Using PennyLane
Release news
Development
API
Internals
An interface independent way of getting the name of the datatype.
>>> x = tf.Variable(0.1) >>> qml.math.get_dtype_name(tf.Variable(0.1)) 'float32'