Beginner Tutorial
Middle Level Tutorial
Advanced Tutorial
Case Library
API
Paper with Code
RELEASE NOTES
Installation Guide
Convert type to real type while keeping precision.
dtype (mindquantum.dtype) – The data type supported by mindquantum.
Examples
>>> from mindquantum import to_real_type, complex128 >>> to_real_type(complex128) mindquantum.float64