mindchemistry.e3.o3.change_basis_real_to_complex ====================================================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.5.0/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindscience/blob/r0.7/docs/api_python/mindchemistry/e3/o3/mindchemistry.e3.o3.change_basis_real_to_complex.rst :alt: 查看源文件 .. py:function:: mindchemistry.e3.o3.change_basis_real_to_complex(l, dtype=float32) 转换球谐函数实基为复基。 参数: - **l** (int) - 球谐函数的阶数。 - **dtype** (dtype) - {float32, float64} 实基的数据类型。默认:float32。 返回: - **output** (Tensor) - 复基,数据类型为 complex64(当 `dtype` =float32 时)和 complex128(当 `dtype` =float64 时)。