1.8K Star 3.1K Fork 4.3K

GVPMindSpore/mindquantum

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mindquantum.utils.ket_string.rst 365 Bytes
一键复制 编辑 原始数据 按行查看 历史
donghufeng 提交于 2023-11-01 01:16 +08:00 . re-organize docs

mindquantum.utils.ket_string

.. py:function:: mindquantum.utils.ket_string(state, tol=1e-7)

    获取量子态的ket格式。

    参数:
        - **state** (numpy.ndarray) - 输入量子态。
        - **tol** (float) - 小幅度的忽略容差。默认值: ``1e-7``。

    返回:
        str,量子态的ket格式。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindquantum.git
git@gitee.com:mindspore/mindquantum.git
mindspore
mindquantum
mindquantum
master

搜索帮助