{"type":"rich","version":"1.0","title":"Qiskit (11)","provider_name":"Hatena Blog","url":"https://randommemory.hatenablog.com/entry/2022/01/18/011734","author_url":"https://blog.hatena.ne.jp/derwind/","height":"190","description":"backend = Aer.get_backend('qasm_simulator') shots = 1024 result = sim.run(qc, backend=backend, shots=shots).result() answer = result.get_counts() print(answer) \u73fe\u6642\u70b9\u3067\u306f Qiskit (8) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6 \u3067\u89e6\u308c\u305f aer_simulator \u3068\u306e\u5dee\u304c\u5206\u304b\u3063\u3066\u3044\u306a\u3044\u304c\u30b7\u30e7\u30c3\u30c8\u3092\u6253\u3063\u3066\u305d\u308c\u305e\u308c\u306e\u8a08\u7b97\u57fa\u5e95\u304c\u89b3\u6e2c\u3055\u308c\u308b\u56de\u6570\u3092\u5f97\u308b\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u3068\u3044\u3046\u3053\u3068\u306e\u3088\u3046\u3060\u3002 statevector_simulator: \u30c6\u30f3\u30bd\u30eb\u7a4d\u3092\u8a08\u7b97\u3057\u305f\u72b6\u614b\u30d9\u30af\u2026","categories":["quantum_computing"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F01%2F18%2F011734\" title=\"Qiskit (11) - \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>","image_url":null,"blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","provider_url":"https://hatena.blog","published":"2022-01-18 01:17:34","width":"100%","author_name":"derwind","blog_url":"https://randommemory.hatenablog.com/"}