{"categories":["quantum_computing"],"width":"100%","image_url":null,"blog_url":"https://randommemory.hatenablog.com/","title":"Qiskit (9)","type":"rich","url":"https://randommemory.hatenablog.com/entry/2022/01/11/005702","version":"1.0","description":"\u66f8\u7c4d p.69 \u306e from qiskit import QuantumCircuit from qiskit import Aer, execute qc = QuantumCircuit(2) qc.h(0) qc.cx(0, 1) backend = Aer.get_backend('statevector_simulator') results = execute(qc, backend=backend).result() state_vec = results.get_statevector(qc) print(state_vec) \u306f\u5c11\u3057\u5206\u304b\u308a\u306b\u304f\u304f\u611f\u3058\u305f\u3002Statevector(\u2026","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","provider_url":"https://hatena.blog","author_name":"derwind","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F01%2F11%2F005702\" title=\"Qiskit (9) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/derwind/","provider_name":"Hatena Blog","height":"190","published":"2022-01-11 00:57:02"}