name | about | labels |
---|---|---|
Bug Report | Use this template for reporting a bug | kind/bug |
Ascend
/GPU
/CPU
):Uncomment only one
/device <>
line, hit enter to put that in a new line, and remove leading whitespaces from that line:/device ascend
/device gpu
/device cpu
from mindquantum import qft, Simulator
sim = Simulator('projectq', 2)
sim.apply_circuit(qft(range(2)))
print(sim.get_qs(ket=1))
Simulator,get_qs(ket=False),没有类型校验
有类型校验
memory overflow during save or load checkpoint file.
[INFO] PARALLEL(41887,7f2d61a8c740,python):2021-12-09-17:38:39.836.534 [mindspore/ccsrc/frontend/parallel/costmodel_context.cc:30] GetInstance] Create costmodel_context
[INFO] CORE(41887,7f2d61a8c740,python):2021-12-09-17:38:39.844.599 [mindspore/core/utils/ms_context.h:233] set_param<std::__cxx11::basic_string >] ms set context device target:CPU
[INFO] CORE(41887,7f2d61a8c740,python):2021-12-09-17:38:39.929.307 [mindspore/core/utils/ms_context.cc:119] set_backend_policy] ms set context backend policy:ms
1/2¦00⟩
1/2¦01⟩
1/2¦10⟩
1/2¦11⟩
[INFO] PIPELINE(41887,7f2d61a8c740,python):2021-12-09-17:38:40.632.312 [mindspore/ccsrc/pipeline/jit/init.cc:323] operator()] Start releasing dataset handles...
[INFO] PIPELINE(41887,7f2d61a8c740,python):2021-12-09-17:38
登录 后才可以发表评论