qiskit-community / qiskit-nature

Qiskit Nature is an open-source, quantum computing, framework for solving quantum mechanical natural science problems.
https://qiskit-community.github.io/qiskit-nature/
Apache License 2.0
290 stars 197 forks source link

Fix tutorials to work with Qiskit 1.0 #1336

Closed woodsp-ibm closed 4 months ago

woodsp-ibm commented 4 months ago

Summary

Fixes #1294 Fixes #1295 Fixes #1296

Qiskit 1,0 removed the deprecated qiskit.tools which included some .jupyter from which the magics that did the version and copyright were imported. This PR adds a local file in the tutorials folder that contains just these magics and changes the import to use this.

Similar fix to qiskit-community/qiskit-algorithms#156

Also, as I was looking over the tutorials I sorted the following issues too

Details and comments

woodsp-ibm commented 4 months ago

Well its failing in testing the stable set of tutorials that are there against main here. Since this is intended to be backported to fix them too that will have to be ignored.