らんだむな記憶

blogというものを体験してみようか!的なー

Qiskit の変更

IBM Quantumで学ぶ量子コンピュータ - 秀和システム あなたの学びをサポート! の内容と現在の API や textbook では少し差がある。これについて少し調べてみた。

execute

Remove references to 'execute' by frankharkins · Pull Request #920 · qiskit-community/qiskit-textbook · GitHub
を見ると execute は他の API に置き換えられていったようだ。

ということで便利関数だったが、最新の状況に追従できていなさそう。

Aer.get_backend

上記の commit でシミュレータも aer_simulator に統一されたようだ。シミュレータ周りの変更については関連する問題などが issue から読み取れていない。

Qiskit Terra

Release Qiskit Terra 0.16.0 · Qiskit/qiskit-terra · GitHub

  • Deprecate QuantumCircuit.u1/2/3
    • Deprecate the methods u1, u2 and u3 of the circuit class. These gates are specific to the IBM hardware and are more commonly known as U-gate, instead of U3, and Phase-gate, instead of U1.