TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

QISKit: A software development kit for writing quantum computing programs

55 点作者 vtomole超过 7 年前

1 comment

gitgud超过 7 年前
Very interesting project, it&#x27;s not my area, but it looks more like the program code is intertwined with the architecture of the quantum computer hardware.<p>Take for example this piece of code. It seems to define the registers and measure them, so this is more like writing quantum emulators, rather than programs. Right?<p><pre><code> from qiskit import QuantumProgram qp = QuantumProgram() qr = qp.create_quantum_register(&#x27;qr&#x27;,2) cr = qp.create_classical_register(&#x27;cr&#x27;,2) qc = qp.create_circuit(&#x27;Bell&#x27;,[qr],[cr])</code></pre>
评论 #16159179 未加载