qiskit-community / qiskit-dynamics

Tools for building and solving models of quantum systems in Qiskit
https://qiskit-community.github.io/qiskit-dynamics/
Apache License 2.0
105 stars 61 forks source link

About jupyter notebook tutorial #218

Closed NeoFantom closed 8 months ago

NeoFantom commented 1 year ago

What is the expected behavior?

A jupyter notebook tutorial would be better and more useful.

Currently the tutorials are rst files. I don't know how to build them locally. If this can be done, it should be written in the readme. Or it is better if you can provide a .ipynb tutorial, which we can simply clone and run locally.

DanPuzzuoli commented 1 year ago

Hi - we originally had the tutorials as jupyter notebooks but switched torst files (which are built with sphinx) for a couple of reasons:

For these reasons we won't be switching back to .ipynb files for tutorials, or directly including them in this repo. That being said I generally agree with the sentiment that it would be nice to have them available in some way. nbconvert offers tools for converting between formats. We used it in the original conversion from .ipynb to .rst. I haven't tried to go the other direction, but if it works well it's not a bad idea to add a description of how to do this to the readme.

NeoFantom commented 1 year ago

Oh I see. Then I totally agree with your idea. I have also suffered from this tracking problem of JUpyter notebooks. But I still hope you can provide a converting method in the readme file, if you know any. Thank you a lot.

DanPuzzuoli commented 8 months ago

I'm going to close this - nbconvert does the job.