计算机科学 > 新兴技术
[提交于 2023年12月12日]
标题:How To Program Your Own Quantum Computer or QUBE: QUantum computing for BEginners
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Do you think you need to know quantum physics to understand how a quantum computer works? Nope, no worries there. You don't need a deep dive into physics or mathematics, just a bit of familiarity with vectors and matrix multiplication. That's really it. A good handle on Python programming and a few numpy functions will do the trick, specifically reshape(), kron(), matmul(), swapaxes(), linalg.norm(), and random.choice(). In fact, an appendix shows that twelve lines of Python code suffice to define a complete simulator. The whole point of this article is to give you an informal, brief, hopefully digestible and educational description of how you can easily implement your own quantum computer simulator. It's not about `Yet Another Quantum Computer Simulator' (YAQCS?), which are a dime a dozen, but about how to build your own. And, honestly, there's probably no better way to learn how a quantum computer works!
提交历史
来自:Martin N. P. Nilsson PhD[v1] 2023年12月12日 星期二 00:00:00 UTC