Quantum Bayesian Networks

June 30, 2019

A Cool, Highly Effective Combination: parametric quantum circuit + Jupyter notebook with widgets + Qubiter

Filed under: Uncategorized — rrtucci @ 3:08 am

Check out my new Jupyter notebook for Qubiter.

Sorry. The following link was broken for a while because I unwittingly damaged the json format of the notebook. It’s now working again

https://nbviewer.jupyter.org/github/artiste-qb-net/qubiter/blob/master/qubiter/jupyter_notebooks/widget_adjustable_parametric_circuit.ipynb

Here is a jpeg of the widgets that this notebook presents to the user. On my computer, it takes a few seconds before the widgets are rendered, so if you don’t see this immediately, near the bottom of the notebook, when you open the notebook in your browser, just be patient. Sometimes, the widgets don’t show up unless you **run** the notebook. Sorry.

gui-qubiter-sim

Suppose that you are interested in printing out the state vector of a quantum circuit at various times (points) in its evolution, as well as at the end of the circuit. Qubiter can do that.

Furthermore, suppose that the circuit is a parametric one, and you want to vary its parameters using sliders on a gui (graphical user interface). Qubiter can do that too, via a jupyter notebook with widgets. This notebook is one such notebook.

A jupyter notebook with widgets gives you the best of both worlds, the gui world and the notebooks world.

Gui’s excel at reducing the possibility of user errors, increasing the ease of use for the user, and reducing the amount of understanding of the code that is demanded from the user in order for him or her to use the code correctly.

Notebooks excel at providing a robust, flexible, ready made, familiar method of documenting and saving your work for multiple use cases. They are also great for explaining your work to others with great detail and precision.

1 Comment »

  1. […] >> * A Dream Team: parametric quantum circuit + Jupyter notebook with widgets + Qubiter >> * Can AI Save the Internet from Fake News? […]

    Pingback by Futureseek Daily Link Review; 1 July 2019 | Futureseek Link Digest — June 30, 2019 @ 10:19 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: