This is an attempt to update the simulator_qiskit code to be compatible with the latest version of Qiskit and Qiskit Aer. I likely did not catch everything, but basic calls to tq.simulate() should work.
Using this requires the packages qiskit, qiskit-aer and qiskit-ibm-runtime.
TODO: FakeProvider does not seem to exist anymore, see https://github.com/Qiskit/qiskit/pull/11376, and I wasn't sure what exactly it is used for, so I just commented it out for now.
This is an attempt to update the
simulator_qiskit
code to be compatible with the latest version of Qiskit and Qiskit Aer. I likely did not catch everything, but basic calls totq.simulate()
should work.Using this requires the packages
qiskit
,qiskit-aer
andqiskit-ibm-runtime
.TODO: FakeProvider does not seem to exist anymore, see https://github.com/Qiskit/qiskit/pull/11376, and I wasn't sure what exactly it is used for, so I just commented it out for now.
References for some of the changes I made:
bind_parameters
->assign_parameters
: https://github.com/Qiskit/qiskit/issues/7057qiskit.providers.ibmq
->qiskit_ibm_runtime
: READMEs in https://github.com/Qiskit/qiskit-ibmq-provider and https://github.com/Qiskit/qiskit-ibm-providerqiskit.test.mock
->qiskit.providers.fake_provider
: https://github.com/Qiskit/qiskit/issues/7738