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