tequilahub / tequila

A High-Level Abstraction Framework for Quantum Algorithms
MIT License
370 stars 103 forks source link

Fix current Qiskit versions #368

Closed ohuettenhofer closed 4 weeks ago

ohuettenhofer commented 4 weeks ago

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.

References for some of the changes I made:

kottmanj commented 4 weeks ago

Thanks!