{"url":"https://takeg.hatenadiary.jp/entry/2021/06/26/015618","provider_name":"Hatena Blog","author_name":"takeg","published":"2021-06-26 01:56:18","blog_url":"https://takeg.hatenadiary.jp/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/takeg/20210626/20210626013855.png","description":"Qiskit\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 --------------------------------------------------------------------------- DAGCircuitError Traceback (most recent call last) <ipython-input-46-607b691d6215> in <module> 3 backend = Aer.get_backend(\"qasm_simulator\") 4 shots = 1024 ----> 5 results = execute(dj_qc, backend\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakeg.hatenadiary.jp%2Fentry%2F2021%2F06%2F26%2F015618\" title=\"Qiskit\u306e\u201dDAGCircuitError: &#39;expected %d wires, got %d&#39;\u201d\u30a8\u30e9\u30fc - \u30d9\u30b9\u30d1\u30ea\u30d6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Qiskit\u306e\u201dDAGCircuitError: 'expected %d wires, got %d'\u201d\u30a8\u30e9\u30fc","author_url":"https://blog.hatena.ne.jp/takeg/","width":"100%","provider_url":"https://hatena.blog","categories":["Qiskit","\u91cf\u5b50\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf","Python"],"version":"1.0","blog_title":"\u30d9\u30b9\u30d1\u30ea\u30d6","height":"190","type":"rich"}