Comments (9)
after talking with @diego-plan9, I took a look to the .. raw:: html
tag in Sphinx, and it seems that we could include in the docs the JS file of the visualizations so you would be able to write code blocks in the docs calling the javascript functions passing the data to plot them on an interactive way @diego-plan9, @carlosazaustre and Borja are going to give this approach a chance and create an example to see if it works and come back with the results
from qiskit-metapackage.
This is still a WIP but I think we can achieve. I need to work with the styles a little bit.
I will keep you updated.
Thanks @francabrera for the examples an the html
tag recomendation in Sphinx.
from qiskit-metapackage.
@JavaFXpert any thoughts on how this might be done?
from qiskit-metapackage.
from qiskit-metapackage.
I don't think this is correct. If we say the data and since the interactive visualizations are in javascript I think this can be done. @ismaelfaro or what you do you think.
from qiskit-metapackage.
In order for this to work there would have to be some png representation of the js object that can be stored. The ipywidgets have a store state option in the notebooks, but this only works in the notebooks as they are also JS.
from qiskit-metapackage.
from qiskit-metapackage.
Currently they show nothing. So anything is an improvement. The problem is that we need some way of storing the js state from a notebook, to rst text, and then revive it in html for interactive to work. And all automatically. I am unuse has how to do this
from qiskit-metapackage.
@nonhermitian you are mixing two different things up. One is the addition to make it show in the qiskit tutorial and the other is to render on a webpage. Here let's focus on the webpage, not the qiskit tutorial.
from qiskit-metapackage.
Related Issues (20)
- Enable intersphinx extension HOT 1
- coef times MatrixOp done wrong sometimes
- Source text issue HOT 5
- Failed to load model class 'CircuitComposerModel' from module '@quantum/ibm-q-lab-widgets' HOT 4
- Update `aer_sources.txt` HOT 1
- Missing default thumbnail for tutorials after nbsphinx 0.9 release HOT 7
- Update deprecation policy and explain deprecation decorators
- Version list logic in docs doesn't account for patch releases properly HOT 1
- Epic - Copy documents from `qiskit/qiskit-metapackage` to `qiskit/qiskit-terra` HOT 8
- Epic - Move benchmark code out of metapackage HOT 2
- Epic - Move tutorials deployment out of metapackage
- Move Aer redirects to Cloudflare
- broken links in release notes HOT 6
- [blocked] Terra's How To and Explanations docs not hooked up
- Move docs translation config and infra to Terra
- Move docs version utils logic to Terra
- Set up Terra infrastructure to deploy docs
- Broken Link in Intro Tutorial
- Add deployment of metapackage shim to Terra
- Update README with notice of archiving
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiskit-metapackage.