PennyLaneAI / qml

Introductions to key concepts in quantum programming, as well as tutorials and implementations from cutting-edge quantum computing research.
https://pennylane.ai/qml
Apache License 2.0
529 stars 185 forks source link

[BUG] Notebook wrongly generated in the download #524

Closed KetpuntoG closed 2 years ago

KetpuntoG commented 2 years ago

Issue description

On the right side of the screen when you open a demo it gives you the option to download the notebook. It has been detected that the notebook generated in several demos does not render well

List of demos with this problem

with all the ones I have tried does not work. However one has been detected where at least the code is well rendered: https://pennylane.ai/qml/demos/tutorial_vqt.html

co9olguy commented 2 years ago

Hi @KetpuntoG, this is a known issue with the build pipeline. Could you confirm whether or not these notebooks look similar to what you are seeing here?

KetpuntoG commented 2 years ago

No @co9olguy , the problem looks different. In the link you passed me it seems that it doesn't understand the cells as python but they appear. When downloading the notebooks from pennylane, the code cells disappear.

KetpuntoG commented 2 years ago

Here is a comparison of what the web shows and what the download shows:

Captura de pantalla 2022-06-24 a las 16 15 53

####################### After downloading: ######################

Captura de pantalla 2022-06-24 a las 16 16 07
josh146 commented 2 years ago

This is very strange 🤔 I wonder if the affected demos share anything in common that causes this (the python cells to be ignored).