mindquantum.dtype.precision_str

View Source On Gitee
mindquantum.dtype.precision_str(dtype)[source]

Get precision string.

Parameters

dtype (mindquantum.dtype) – The data type supported by mindquantum.

Examples

>>> from mindquantum import precision_str, complex128
>>> precision_str(complex128)
'double precision'